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
  • Constructor Details

    • WorkbookChart

      public WorkbookChart()
      Instantiates a new WorkbookChart and 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

      @Nullable public WorkbookChartAxes getAxes()
      Gets the axes property value. Represents chart axes. Read-only.
      Returns:
      a WorkbookChartAxes
    • getDataLabels

      @Nullable public WorkbookChartDataLabels 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getFormat

      @Nullable public WorkbookChartAreaFormat getFormat()
      Gets the format property value. Encapsulates the format properties for the chart area. Read-only.
      Returns:
      a WorkbookChartAreaFormat
    • getHeight

      @Nullable public Double getHeight()
      Gets the height property value. Represents the height, in points, of the chart object.
      Returns:
      a Double
    • getLeft

      @Nullable public 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

      @Nullable public WorkbookChartLegend getLegend()
      Gets the legend property value. Represents the legend for the chart. Read-only.
      Returns:
      a WorkbookChartLegend
    • getName

      @Nullable public String getName()
      Gets the name property value. Represents the name of a chart object.
      Returns:
      a String
    • getSeries

      @Nullable public List<WorkbookChartSeries> 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

      @Nullable public WorkbookChartTitle 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

      @Nullable public Double 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

      @Nullable public Double getWidth()
      Gets the width property value. Represents the width, in points, of the chart object.
      Returns:
      a Double
    • getWorksheet

      @Nullable public WorkbookWorksheet 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAxes

      public void setAxes(@Nullable WorkbookChartAxes value)
      Sets the axes property value. Represents chart axes. Read-only.
      Parameters:
      value - Value to set for the axes property.
    • setDataLabels

      public void setDataLabels(@Nullable WorkbookChartDataLabels value)
      Sets the dataLabels property value. Represents the data labels on the chart. Read-only.
      Parameters:
      value - Value to set for the dataLabels property.
    • setFormat

      public void setFormat(@Nullable WorkbookChartAreaFormat value)
      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

      public void setHeight(@Nullable Double value)
      Sets the height property value. Represents the height, in points, of the chart object.
      Parameters:
      value - Value to set for the height property.
    • setLeft

      public void setLeft(@Nullable Double value)
      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

      public void setLegend(@Nullable WorkbookChartLegend value)
      Sets the legend property value. Represents the legend for the chart. Read-only.
      Parameters:
      value - Value to set for the legend property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. Represents the name of a chart object.
      Parameters:
      value - Value to set for the name property.
    • setSeries

      public void setSeries(@Nullable List<WorkbookChartSeries> value)
      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

      public void setTitle(@Nullable WorkbookChartTitle value)
      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

      public void setTop(@Nullable Double value)
      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

      public void setWidth(@Nullable Double value)
      Sets the width property value. Represents the width, in points, of the chart object.
      Parameters:
      value - Value to set for the width property.
    • setWorksheet

      public void setWorksheet(@Nullable WorkbookWorksheet value)
      Sets the worksheet property value. The worksheet containing the current chart. Read-only.
      Parameters:
      value - Value to set for the worksheet property.