Class WorkbookChartDataLabels

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookChartDataLabels
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class WorkbookChartDataLabels extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • WorkbookChartDataLabels

      public WorkbookChartDataLabels()
      Instantiates a new WorkbookChartDataLabels and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static WorkbookChartDataLabels 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 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 WorkbookChartDataLabelFormat getFormat()
      Gets the format property value. Represents the format of chart data labels, which includes fill and font formatting. Read-only.
      Returns:
      a WorkbookChartDataLabelFormat
    • getPosition

      @Nullable public String getPosition()
      Gets the position property value. DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout.
      Returns:
      a String
    • getSeparator

      @Nullable public String getSeparator()
      Gets the separator property value. String that represents the separator used for the data labels on a chart.
      Returns:
      a String
    • getShowBubbleSize

      @Nullable public Boolean getShowBubbleSize()
      Gets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible.
      Returns:
      a Boolean
    • getShowCategoryName

      @Nullable public Boolean getShowCategoryName()
      Gets the showCategoryName property value. Boolean value that represents whether the data label category name is visible.
      Returns:
      a Boolean
    • getShowLegendKey

      @Nullable public Boolean getShowLegendKey()
      Gets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible.
      Returns:
      a Boolean
    • getShowPercentage

      @Nullable public Boolean getShowPercentage()
      Gets the showPercentage property value. Boolean value that represents whether the data label percentage is visible.
      Returns:
      a Boolean
    • getShowSeriesName

      @Nullable public Boolean getShowSeriesName()
      Gets the showSeriesName property value. Boolean value that represents whether the data label series name is visible.
      Returns:
      a Boolean
    • getShowValue

      @Nullable public Boolean getShowValue()
      Gets the showValue property value. Boolean value that represents whether the data label value is visible.
      Returns:
      a Boolean
    • 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
    • setFormat

      public void setFormat(@Nullable WorkbookChartDataLabelFormat value)
      Sets the format property value. Represents the format of chart data labels, which includes fill and font formatting. Read-only.
      Parameters:
      value - Value to set for the format property.
    • setPosition

      public void setPosition(@Nullable String value)
      Sets the position property value. DataLabelPosition value that represents the position of the data label. The possible values are: None, Center, InsideEnd, InsideBase, OutsideEnd, Left, Right, Top, Bottom, BestFit, Callout.
      Parameters:
      value - Value to set for the position property.
    • setSeparator

      public void setSeparator(@Nullable String value)
      Sets the separator property value. String that represents the separator used for the data labels on a chart.
      Parameters:
      value - Value to set for the separator property.
    • setShowBubbleSize

      public void setShowBubbleSize(@Nullable Boolean value)
      Sets the showBubbleSize property value. Boolean value that represents whether the data label bubble size is visible.
      Parameters:
      value - Value to set for the showBubbleSize property.
    • setShowCategoryName

      public void setShowCategoryName(@Nullable Boolean value)
      Sets the showCategoryName property value. Boolean value that represents whether the data label category name is visible.
      Parameters:
      value - Value to set for the showCategoryName property.
    • setShowLegendKey

      public void setShowLegendKey(@Nullable Boolean value)
      Sets the showLegendKey property value. Boolean value that represents whether the data label legend key is visible.
      Parameters:
      value - Value to set for the showLegendKey property.
    • setShowPercentage

      public void setShowPercentage(@Nullable Boolean value)
      Sets the showPercentage property value. Boolean value that represents whether the data label percentage is visible.
      Parameters:
      value - Value to set for the showPercentage property.
    • setShowSeriesName

      public void setShowSeriesName(@Nullable Boolean value)
      Sets the showSeriesName property value. Boolean value that represents whether the data label series name is visible.
      Parameters:
      value - Value to set for the showSeriesName property.
    • setShowValue

      public void setShowValue(@Nullable Boolean value)
      Sets the showValue property value. Boolean value that represents whether the data label value is visible.
      Parameters:
      value - Value to set for the showValue property.