Skip to main content

Y-Axis (Left Axis / Right Axis)

Y-Axis Options

Note that axis options are distinct from controls over the series mapped to the axis, and control only the axis itself.

Controls are available:

  • name / sort / min / max
  • labels (font size, format, rotation)
  • reference lines
  • horinzontal grid lines

Reference Lines

Reference lines offer a quick way to set targets on a chart. There is limited configuration for these, so more complex use cases may be better served with table calculations as a regular, independent series.

Axis Labels Spacing

Integer values will sometimes display decimals on the y-axis, this is not currently configurable, but planned work in the future.

Other Notes

  • When tuning axis colors note that there is not indepdent configuration for light and dark mode. The default palette will adjust colors (ie dark axis in light mode; light axis in dark mode), but when they are hard-coded they will be respected in light and dark mode.
  • The configuration can be reset (note, entirely for the vis to defaults) under Tab > Reset Chart
  • Longtail axis configuration is available in the Vega-lite spec