Skip to main content

Manage Axis Settings

See the following sections to view, edit, and manage X- and Y-axis settings.

Change Gridlines on the Y Axis

When you create a Line Chart or an Area Chart  you can add gridlines to the chart, and also customize how those gridlines are displayed.

To change gridlines on the Y axis:

  1. On the Dashboards page, click the Edit button.

  2. Click the Panel's Settings icon.

  3. Click Y Axis.

  4. Minor gridlines. Here you can select:

    • Use default interval. Keeps the default gridlines.
    • Enter an interval. Click here, and a suggested value is automatically entered. To change the gridline interval, enter a positive numeric value.  Example: For the Y axis in the example above, the data ranges from 0 to 14.3k and shows default grid lines at 0, 4,750, 9,500, and 14.3k. So if you want to see 10 grid lines between 0 and 4,750, divide 4,750 by 10 (4750/10 = 475). For the Y axis Grid Line Interval enter 475, and you will see 10 grid lines between 0 and 4,750.
  5. Minor gridline color. To modify the gridline color, select a color from the picker.

  6. Click Save.

note

If the whole area is covered with color rather than grid lines of color, the interval is too low. Calculate a larger number based on the data ranges returned by your search query. Also, in the Chrome web browser, if the number of grid lines is too low, it could freeze the browser window or crash the Search page. If this occurs, you will see a warning message.

Change the Range of the Y Axis

Your can specify a Minimum Value and Maximum Value for the Y axis range.

To change the scale of the Y axis:

  1. On the Dashboards page, click the Edit button.

  2. Click the Panel's Settings icon. The Settings dialog appears with the Chart Type selected.

  3. In the left menu bar, click Y Axis.

  4. Under Range, enter a Minimum Value and Maximum Value in the respective fields.

    Y-axis_change-scale&range.png

  5. Click Save.

Change the X Axis

When you create a Line Chart or an Area Chart you can add gridlines to the X axis of the chart, and customize how those gridlines are displayed once the Panel is added to a Dashboard.

To change Gridlines on the X Axis:

  1. On the Dashboards page, click the Edit toggle.
  2. Click the Panel's Settings icon.
  3. Click X Axis.
  4. Minor gridlines:
    • Use default interval. Keeps the default gridlines.
    • Enter an interval. Click here, and a suggested value is automatically entered. To change the gridline interval, enter a positive numeric value for the frequency that you want to see the gridlines in relation to the query and the data it has returned. (For the timeslice X axis, the unit is seconds. For example, if you enter interval of 60, gridlines will appear every 60 seconds.)
  5. Minor gridlines color. To modify the gridline color, select a color from the picker.
  6. Click Save.

If the whole area is covered with color rather than grid lines of color, your interval is too low. Calculate a larger number based on the data ranges returned by your search query. Also, in the Chrome web browser, if the number of grid lines is too low, it could freeze the browser window or crash the Search page. If this occurs, you will see a warning message.

Change the Scale and Range of the Y Axis

This page demonstrates how to change the scale and range of the Y axis for a panel from the Settings dialog.

  • You can modify a chart's Y axis to use either a linear or logarithmic scale.
  • You can modify the range (default values) for the Y axis, by specifying a Minimum Value and Maximum Value.
note

This procedure applies to Column, Line, and Area chart types. 

To change the scale and range of the Y axis, do the following:

  1. On the Dashboards page, click the Edit button.

  2. Click the Panel's Settings icon. The Settings dialog appears with the Chart Type selected.

  3. In the left menu bar, click Y Axis.

  4. Under Scale, select one of the following options:

    • 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.
  5. Under Range, enter a specific Minimum Value and Maximum Value.

    Y-axis_change-scale-range.png

  6. Click Save.

Change the Axis of a Panel on the Search Page

You can change the minimum and maximum values of a Panel to influence the results displayed. You can also set the Panel to use Log Scale.

To change the axis of a Panel:

  1. On the Search page, in the Aggregation tab, click the Settings icon and select Change Axis.

  2. Do any of the following:

    • To edit the default (automatic) values used for a Panel's axis, type specific values for Minimum Value and Maximum Value.
    • To change to either Linear Scale (default) or Log Scale, choose that option.
  3. Click Save.

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.
![yaxis-add.png](/img/dashboards/yaxis-add.png)
  1. Click the Panel's Display Overrides icon icon-display.png.

  2. 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.
  3. A second Y-axis is displayed in the preview.

    yaxis-settings.png

  4. Click Save. If this is a new panel, click Add to Dashboard.

Sumo Logic YouTubeSumo Logic Twitter
Legal
Privacy Statement
Terms of Use

Copyright © 2022 by Sumo Logic, Inc.