メインコンテンツまでスキップ
Sumo Logic Japanese

Modify a Chart

Learn how to customize a chart's type and visual display characteristics.

You can customize a chart on a dashboard panel in a variety of ways. You can even change the chart type to analyze the data in another format. This section shows you how to customize a chart, or change the chart type entirely. 

Customizing a chart

You can customize each the chart for each individual by modifying the available settings. The settings you can change vary according to the chart type. This page shows you how to edit a panel and customize General, Display, Display Overrides, Axes, Legend, and JSON chart settings. 

DB_Panel_Types.png

Selecting a chart to edit

You begin the customization process by selecting the dashboard panel with the chart you wish to modify.

To edit a panel, do the following:

  1. On the chart panel, click the Details icon. 
  2. Select Edit from the drop-down list.

MC_Panel_Edit.png

The chart page appears with chart settings menu bar on the far right. Display setting options are shown by default.

MC_ChartSettings_Menu_Bar.png

Modifying General settings

The General settings allow you to change the chart title, the font size of the title, description for the chart

To customize the chart title and description, do the following:

  1. In the menu bar, click the General icon.

MC_General_settings.png

  1. To change the name of the chart, click in the Chart Title field and enter a new name.
  2. To change change the font size, by click the Title Font Size arrows up or down. 
  3. To add a helpful description, click in the Description field and enter a brief explanation of the chart's purpose.

Modifying Display settings

The customizable display settings vary according to the panel and chart type. In our example, we are modifying a time series chart.

To customize the visual display of a chart, do the following:

  1. Click the Display icon in the menu bar.

MC_Display_settings.png

  1. To change the format of the chart, click Chart Type and make a selection from the drop-down list.

MC_Display_ChartType.png

In our example, we changed the chart format from bar to area.

  1. To change the colors of the chart display, click Color Palette and make a selection from the drop-down list.

MC_Display_Format_ColorPalette.png

  1. Make selections for the other format options available for the chart type.

MC_Display_modify-results.png

  1. Do one of the following:
  • To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window. 

MC_Update_Dashboard.png

  • Continue customizing your chart in the following sections. 

Overriding dashboard displays

The ability to override dashboard displays allows you to create panel visualizations that make charts are easier to assess and form conclusions. You can override selected dashboard displays to create a visual story that highlights what is most important to monitor.

For example, you may want to set a specific time-series to red to signify that it represents errors, or overlay two different metrics with different axis ranges so it's easy to correlate across them. You may also want to rename the legend and tooltip values of a chart for readability and ease of use.

To override select dashboard displays, do the following:

  1. Click the Display Overrides icon in the far right menu bar.

MC_Display_Overrides_icon.png

  1. Enter a Query or series name you want to override.
  2. Enter an Alias, as necessary.
  3. Select a Property from the drop-down list. You can add as many properties and needed.
  4. Optionally, add another override by selecting Add New Override and completing steps 2 - 4.
  5. Do one of the following:
  • To save your customized settings and return to the dashboard, click Update Dashboard in the upper right corner of the window. 

MC_Update_Dashboard.png

  • Continue customizing your chart in the following sections. 

Modifying chart axes displays

You can easily change the displays of the X and Y axes.

To change chart axes displays, do the following:

  1. Click the Axes icon in the far right menu bar.

MC_Axes_icon.png

  1. For the Y-Axis, click in the Title field and enter a title or modify an existing title, then modify the following options, as necessary:
  • Title Font Size. Size of the title font
  • Label Font Size. Size of the label font
  • Scale. Options vary according to chart type
  • Range. Ranges for Y and X axis
  • Gridline. Color for the gridline
  1. For the X-Axis, click in the Title field and enter a title or modify an existing title, then modify the following options, as necessary:
  • Title Font Size. Size of the title font
  • Label Font Size. Size of the label font

MC_Y-Axis_options.png

Modifying the chart legend

You can toggle the chart Legend display on and off, where it appears, as well as modifying the legend display properties.

To modify the chart legend, do the following:

  1. Click the Legend icon in the far right menu bar.

MC_Legend_icon.png

  1. To turn OFF the legend display, toggle Show Legend to the Left. To turn the legend display back ON, toggle Show Legend to the Right.
  2. Specify the Position of the Legend by clicking Right or Bottom.
  3. Modify the following Display Properties, as needed:
  • Font Size. Size of the legend font
  • Max Height. Maximum height of the legend
  • Show as Table. Table display, toggle On or Off
  • Wrap Text. Text display, toggle On or Off

MC_Legend_DisplayProperties.png

Modifying chart JSON 

You can fine tune the customization of a chart by modifying elements of the JSON for that chart. 

To modify the JSON for a chart, do the following:

  1. Click the JSON icon to view the query in JSON format.
  2. Modify the query as necessary.
  3. Click Update Preview or Copy To Clipboard.

DB_CustomChart_JSON-option.png

  1. Click Apply in the upper right corner of the window to save your chart customizations.

DB_CustomChart_Apply.png

The custom panel appears on the dashboard.

  • この記事は役に立ちましたか?