targetAxis property

String? targetAxis
getter/setter pair

The minor axis that will specify the range of values for this series.

For example, if charting stocks over time, the "Volume" series may want to be pinned to the right with the prices pinned to the left, because the scale of trading volume is different than the scale of prices. It is an error to specify an axis that isn't a valid minor axis for the chart's type. Possible string values are:

  • "BASIC_CHART_AXIS_POSITION_UNSPECIFIED" : Default value, do not use.
  • "BOTTOM_AXIS" : The axis rendered at the bottom of a chart. For most charts, this is the standard major axis. For bar charts, this is a minor axis.
  • "LEFT_AXIS" : The axis rendered at the left of a chart. For most charts, this is a minor axis. For bar charts, this is the standard major axis.
  • "RIGHT_AXIS" : The axis rendered at the right of a chart. For most charts, this is a minor axis. For bar charts, this is an unusual major axis.

Implementation

core.String? targetAxis;