Skip to main content

Combo Charts

Combo charts have a secondary vertical axis that lets you view two aggregates on the same chart. A common combo chart is a bar or column chart with a line on a secondary vertical axis for comparison.

For example, suppose you run a query like this:

=*apache*
| parse "HTTP/1.1\" * * * " as status_code, size, referrer
| timeslice 5m
| avg(size), count by _timeslice

This query typically produces a bar or column chart like this:
bar chart basic

With a combo chart, you can display _count as a line on a second Y axis. You can then compare the number of requests over time (_count) with the average number of bytes per request (_avg).
Display overrides make combo chart

Create a Combo chart​

To create a Combo chart, your query needs to return at least two dimensions of aggregate data or time series. The example query returns _count and _avg.

  1. Secondary axes are configured in the Display Overrides menu. Open the Display Overrides menu. In the screenshot, it is surrounded by a red box.
  2. From the Query or series name dropdown, select the field or series to use for the secondary axis. In this example, select _count. You can also set an Alias.
  3. Under Style, choose how the panel displays the data. Select AxisYType and set it to Right Y-Axis. If you select Left Y-Axis, the series overlaps the existing aggregate data, which is already on the left axis.
  4. By default, the additional axis uses the same chart type as the existing data. In this example, select Chart Type and set it to Line to make the data easier to compare.
  5. Set any other overrides you want, then save or update the panel.
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.