legendPosition property

String? legendPosition
getter/setter pair

Where the legend of the pie chart should be drawn. Possible string values are:

  • "PIE_CHART_LEGEND_POSITION_UNSPECIFIED" : Default value, do not use.
  • "BOTTOM_LEGEND" : The legend is rendered on the bottom of the chart.
  • "LEFT_LEGEND" : The legend is rendered on the left of the chart.
  • "RIGHT_LEGEND" : The legend is rendered on the right of the chart.
  • "TOP_LEGEND" : The legend is rendered on the top of the chart.
  • "NO_LEGEND" : No legend is rendered.
  • "LABELED_LEGEND" : Each pie slice has a label attached to it.

Implementation

core.String? legendPosition;