Skip to main content
Sumo Logic

Add a Secondary Y Axis

You can add a secondary Y-axis to a bar or column chart to create a combo chart. For details of query requirements, see Combo Charts.

To add a secondary Y-axis:

  1. On the Dashboards page, click the Edit button for the panel chart.
  2. Click the Panel's Axes icon icon-axes.png.
  3. For Right Y-Axis, select show axis.
    You can also modify both Y-axes, including the following: 
    • Scale. Select a scale for the axis:
      • Linear. (Default) A linear scale on the Y-axis represents equal distance and change on a chart. So for example, if grid lines are enabled, a change of three spaces on a line graph may represent an increase of 3MB of data.
      • Logarithmic. A logarithmic scale uses an equal distance and percentage change. When graphing values that display over a wide range, change the scale to logarithmic to make the smaller values easier to perceive.
    • Range. Enter specific values for Minimum Value and Maximum Value.
  4. Click the Panel's Display Overrides icon icon-display.png.
  5. Configure two overrides:
    • For first Y-axis: Set the Query or series name to the first query. For Style, select AxisYType to Left Y-Axis. This set the primary Y-axis.
    • For second Y-axis: Set the Query or series name to the second query. For Style, select AxisYType to Right Y-Axis. This set the secondary Y-axis.
  6. A second Y-axis is displayed in the preview.
  7. Click Save. If this is a new panel, click Add to Dashboard.