MicrosoftGraphWorkbookChartDataLabels Class

public final class MicrosoftGraphWorkbookChartDataLabels
extends MicrosoftGraphEntity

workbookChartDataLabels.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookChartDataLabels()

Creates an instance of MicrosoftGraphWorkbookChartDataLabels class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookChartDataLabels.

MicrosoftGraphWorkbookChartDataLabelFormat format()

Get the format property: workbookChartDataLabelFormat.

static MicrosoftGraphWorkbookChartDataLabels fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartDataLabels from the JsonReader.

String position()

Get the position property: DataLabelPosition value that represents the position of the data label.

String separator()

Get the separator property: String representing the separator used for the data labels on a chart.

Boolean showBubbleSize()

Get the showBubbleSize property: Boolean value representing if the data label bubble size is visible or not.

Boolean showCategoryName()

Get the showCategoryName property: Boolean value representing if the data label category name is visible or not.

Boolean showLegendKey()

Get the showLegendKey property: Boolean value representing if the data label legend key is visible or not.

Boolean showPercentage()

Get the showPercentage property: Boolean value representing if the data label percentage is visible or not.

Boolean showSeriesName()

Get the showSeriesName property: Boolean value representing if the data label series name is visible or not.

Boolean showValue()

Get the showValue property: Boolean value representing if the data label value is visible or not.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookChartDataLabels withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookChartDataLabels.

MicrosoftGraphWorkbookChartDataLabels withFormat(MicrosoftGraphWorkbookChartDataLabelFormat format)

Set the format property: workbookChartDataLabelFormat.

MicrosoftGraphWorkbookChartDataLabels withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookChartDataLabels withPosition(String position)

Set the position property: DataLabelPosition value that represents the position of the data label.

MicrosoftGraphWorkbookChartDataLabels withSeparator(String separator)

Set the separator property: String representing the separator used for the data labels on a chart.

MicrosoftGraphWorkbookChartDataLabels withShowBubbleSize(Boolean showBubbleSize)

Set the showBubbleSize property: Boolean value representing if the data label bubble size is visible or not.

MicrosoftGraphWorkbookChartDataLabels withShowCategoryName(Boolean showCategoryName)

Set the showCategoryName property: Boolean value representing if the data label category name is visible or not.

MicrosoftGraphWorkbookChartDataLabels withShowLegendKey(Boolean showLegendKey)

Set the showLegendKey property: Boolean value representing if the data label legend key is visible or not.

MicrosoftGraphWorkbookChartDataLabels withShowPercentage(Boolean showPercentage)

Set the showPercentage property: Boolean value representing if the data label percentage is visible or not.

MicrosoftGraphWorkbookChartDataLabels withShowSeriesName(Boolean showSeriesName)

Set the showSeriesName property: Boolean value representing if the data label series name is visible or not.

MicrosoftGraphWorkbookChartDataLabels withShowValue(Boolean showValue)

Set the showValue property: Boolean value representing if the data label value is visible or not.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookChartDataLabels

public MicrosoftGraphWorkbookChartDataLabels()

Creates an instance of MicrosoftGraphWorkbookChartDataLabels class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookChartDataLabels.

Overrides:

MicrosoftGraphWorkbookChartDataLabels.additionalProperties()

Returns:

the additionalProperties value.

format

public MicrosoftGraphWorkbookChartDataLabelFormat format()

Get the format property: workbookChartDataLabelFormat.

Returns:

the format value.

fromJson

public static MicrosoftGraphWorkbookChartDataLabels fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookChartDataLabels from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookChartDataLabels if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookChartDataLabels.

position

public String position()

Get the position property: 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:

the position value.

separator

public String separator()

Get the separator property: String representing the separator used for the data labels on a chart.

Returns:

the separator value.

showBubbleSize

public Boolean showBubbleSize()

Get the showBubbleSize property: Boolean value representing if the data label bubble size is visible or not.

Returns:

the showBubbleSize value.

showCategoryName

public Boolean showCategoryName()

Get the showCategoryName property: Boolean value representing if the data label category name is visible or not.

Returns:

the showCategoryName value.

showLegendKey

public Boolean showLegendKey()

Get the showLegendKey property: Boolean value representing if the data label legend key is visible or not.

Returns:

the showLegendKey value.

showPercentage

public Boolean showPercentage()

Get the showPercentage property: Boolean value representing if the data label percentage is visible or not.

Returns:

the showPercentage value.

showSeriesName

public Boolean showSeriesName()

Get the showSeriesName property: Boolean value representing if the data label series name is visible or not.

Returns:

the showSeriesName value.

showValue

public Boolean showValue()

Get the showValue property: Boolean value representing if the data label value is visible or not.

Returns:

the showValue value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookChartDataLabels.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookChartDataLabels.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookChartDataLabels withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookChartDataLabels.

Overrides:

MicrosoftGraphWorkbookChartDataLabels.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withFormat

public MicrosoftGraphWorkbookChartDataLabels withFormat(MicrosoftGraphWorkbookChartDataLabelFormat format)

Set the format property: workbookChartDataLabelFormat.

Parameters:

format - the format value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withId

public MicrosoftGraphWorkbookChartDataLabels withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookChartDataLabels.withId(String id)

Parameters:

id

withPosition

public MicrosoftGraphWorkbookChartDataLabels withPosition(String position)

Set the position property: 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:

position - the position value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withSeparator

public MicrosoftGraphWorkbookChartDataLabels withSeparator(String separator)

Set the separator property: String representing the separator used for the data labels on a chart.

Parameters:

separator - the separator value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowBubbleSize

public MicrosoftGraphWorkbookChartDataLabels withShowBubbleSize(Boolean showBubbleSize)

Set the showBubbleSize property: Boolean value representing if the data label bubble size is visible or not.

Parameters:

showBubbleSize - the showBubbleSize value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowCategoryName

public MicrosoftGraphWorkbookChartDataLabels withShowCategoryName(Boolean showCategoryName)

Set the showCategoryName property: Boolean value representing if the data label category name is visible or not.

Parameters:

showCategoryName - the showCategoryName value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowLegendKey

public MicrosoftGraphWorkbookChartDataLabels withShowLegendKey(Boolean showLegendKey)

Set the showLegendKey property: Boolean value representing if the data label legend key is visible or not.

Parameters:

showLegendKey - the showLegendKey value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowPercentage

public MicrosoftGraphWorkbookChartDataLabels withShowPercentage(Boolean showPercentage)

Set the showPercentage property: Boolean value representing if the data label percentage is visible or not.

Parameters:

showPercentage - the showPercentage value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowSeriesName

public MicrosoftGraphWorkbookChartDataLabels withShowSeriesName(Boolean showSeriesName)

Set the showSeriesName property: Boolean value representing if the data label series name is visible or not.

Parameters:

showSeriesName - the showSeriesName value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

withShowValue

public MicrosoftGraphWorkbookChartDataLabels withShowValue(Boolean showValue)

Set the showValue property: Boolean value representing if the data label value is visible or not.

Parameters:

showValue - the showValue value to set.

Returns:

the MicrosoftGraphWorkbookChartDataLabels object itself.

Applies to