Package com.microsoft.graph.models
Class WorkbookChart
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookChart
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookChart
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WorkbookChartcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetAxes()Gets the axes property value.Gets the dataLabels property value.The deserialization information for the current modelGets the format property value.Gets the height property value.getLeft()Gets the left property value.Gets the legend property value.getName()Gets the name property value.Gets the series property value.getTitle()Gets the title property value.getTop()Gets the top property value.getWidth()Gets the width property value.Gets the worksheet property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAxes(WorkbookChartAxes value) Sets the axes property value.voidSets the dataLabels property value.voidsetFormat(WorkbookChartAreaFormat value) Sets the format property value.voidSets the height property value.voidSets the left property value.voidsetLegend(WorkbookChartLegend value) Sets the legend property value.voidSets the name property value.voidsetSeries(List<WorkbookChartSeries> value) Sets the series property value.voidsetTitle(WorkbookChartTitle value) Sets the title property value.voidSets the top property value.voidSets the width property value.voidsetWorksheet(WorkbookWorksheet value) Sets the worksheet property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookChart
public WorkbookChart()Instantiates a newWorkbookChartand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookChart createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
WorkbookChart
-
getAxes
Gets the axes property value. Represents chart axes. Read-only.- Returns:
- a
WorkbookChartAxes
-
getDataLabels
Gets the dataLabels property value. Represents the data labels on the chart. Read-only.- Returns:
- a
WorkbookChartDataLabels
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getFormat
Gets the format property value. Encapsulates the format properties for the chart area. Read-only.- Returns:
- a
WorkbookChartAreaFormat
-
getHeight
Gets the height property value. Represents the height, in points, of the chart object.- Returns:
- a
Double
-
getLeft
Gets the left property value. The distance, in points, from the left side of the chart to the worksheet origin.- Returns:
- a
Double
-
getLegend
Gets the legend property value. Represents the legend for the chart. Read-only.- Returns:
- a
WorkbookChartLegend
-
getName
Gets the name property value. Represents the name of a chart object.- Returns:
- a
String
-
getSeries
Gets the series property value. Represents either a single series or collection of series in the chart. Read-only.- Returns:
- a
List<WorkbookChartSeries>
-
getTitle
Gets the title property value. Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.- Returns:
- a
WorkbookChartTitle
-
getTop
Gets the top property value. Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).- Returns:
- a
Double
-
getWidth
Gets the width property value. Represents the width, in points, of the chart object.- Returns:
- a
Double
-
getWorksheet
Gets the worksheet property value. The worksheet containing the current chart. Read-only.- Returns:
- a
WorkbookWorksheet
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAxes
Sets the axes property value. Represents chart axes. Read-only.- Parameters:
value- Value to set for the axes property.
-
setDataLabels
Sets the dataLabels property value. Represents the data labels on the chart. Read-only.- Parameters:
value- Value to set for the dataLabels property.
-
setFormat
Sets the format property value. Encapsulates the format properties for the chart area. Read-only.- Parameters:
value- Value to set for the format property.
-
setHeight
Sets the height property value. Represents the height, in points, of the chart object.- Parameters:
value- Value to set for the height property.
-
setLeft
Sets the left property value. The distance, in points, from the left side of the chart to the worksheet origin.- Parameters:
value- Value to set for the left property.
-
setLegend
Sets the legend property value. Represents the legend for the chart. Read-only.- Parameters:
value- Value to set for the legend property.
-
setName
Sets the name property value. Represents the name of a chart object.- Parameters:
value- Value to set for the name property.
-
setSeries
Sets the series property value. Represents either a single series or collection of series in the chart. Read-only.- Parameters:
value- Value to set for the series property.
-
setTitle
Sets the title property value. Represents the title of the specified chart, including the text, visibility, position and formatting of the title. Read-only.- Parameters:
value- Value to set for the title property.
-
setTop
Sets the top property value. Represents the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).- Parameters:
value- Value to set for the top property.
-
setWidth
Sets the width property value. Represents the width, in points, of the chart object.- Parameters:
value- Value to set for the width property.
-
setWorksheet
Sets the worksheet property value. The worksheet containing the current chart. Read-only.- Parameters:
value- Value to set for the worksheet property.
-