Class MicrosoftGraphWorkbookChartLegend

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookChartLegend

public final class MicrosoftGraphWorkbookChartLegend extends MicrosoftGraphEntity
workbookChartLegend.
  • Constructor Details

    • MicrosoftGraphWorkbookChartLegend

      public MicrosoftGraphWorkbookChartLegend()
      Creates an instance of MicrosoftGraphWorkbookChartLegend class.
  • Method Details

    • overlay

      public Boolean 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

      public MicrosoftGraphWorkbookChartLegend withOverlay(Boolean overlay)
      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

      public String 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

      public MicrosoftGraphWorkbookChartLegend withPosition(String position)
      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

      public Boolean visible()
      Get the visible property: A boolean value the represents the visibility of a ChartLegend object.
      Returns:
      the visible value.
    • withVisible

      public MicrosoftGraphWorkbookChartLegend withVisible(Boolean visible)
      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

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: workbookChartLegend.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphWorkbookChartLegend withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: workbookChartLegend.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphWorkbookChartLegend object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.