Class MicrosoftGraphWorkbookChartLegend
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookChartLegend
workbookChartLegend.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookChartLegend class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookChartLegend.format()Get the format property: workbookChartLegendFormat.overlay()Get the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.position()Get the position property: Represents the position of the legend on the chart.voidvalidate()Validates the instance.visible()Get the visible property: A boolean value the represents the visibility of a ChartLegend object.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookChartLegend.Set the format property: workbookChartLegendFormat.Set the id property: Read-only.withOverlay(Boolean overlay) Set the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.withPosition(String position) Set the position property: Represents the position of the legend on the chart.withVisible(Boolean visible) Set the visible property: A boolean value the represents the visibility of a ChartLegend object.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphWorkbookChartLegend
public MicrosoftGraphWorkbookChartLegend()Creates an instance of MicrosoftGraphWorkbookChartLegend class.
-
-
Method Details
-
overlay
Get the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.- Returns:
- the overlay value.
-
withOverlay
Set the overlay property: Boolean value for whether the chart legend should overlap with the main body of the chart.- Parameters:
overlay- the overlay value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
position
Get the position property: Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom.- Returns:
- the position value.
-
withPosition
Set the position property: Represents the position of the legend on the chart. The possible values are: Top, Bottom, Left, Right, Corner, Custom.- Parameters:
position- the position value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
visible
Get the visible property: A boolean value the represents the visibility of a ChartLegend object.- Returns:
- the visible value.
-
withVisible
Set the visible property: A boolean value the represents the visibility of a ChartLegend object.- Parameters:
visible- the visible value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
format
Get the format property: workbookChartLegendFormat.- Returns:
- the format value.
-
withFormat
Set the format property: workbookChartLegendFormat.- Parameters:
format- the format value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
additionalProperties
Get the additionalProperties property: workbookChartLegend.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookChartLegend withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookChartLegend.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookChartLegend object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-