Chart properties

Updated at:
Copy as MD

Charts support global settings and per-field customization for individual query and analysis results or specific data columns.

General configurations

Settings on the General Configurations tab apply to the entire chart.

General configurations cover basic settings, standard settings, and chart-type-specific properties. For more information, see the following topics.

  • Basic configurations

    Parameter

    Description

    Title

    The chart title.

    Display Title

    Displays the chart title when enabled.

    Display Border

    Displays a border around the chart when enabled.

    Display Background

    Displays a background color in the chart when enabled.

    Display Time

    Displays the query time in the chart when enabled.

    Fixed Time

    Fixes the query and analysis time range so that it is not affected by the global time of the dashboard.

  • Standard configurations

    Parameter

    Description

    Format

    The display format for numbers.

    Unit

    The unit for numbers.

    Number of Digits after Decimal Point

    The number of decimal places for numbers.

    Display Name

    The display name for the field.

    This name overrides all other field names in the chart. To rename a specific field, use field configuration instead.

    Color Scheme

    The color scheme for the chart.

    • Built-in: Uses the built-in colors.

    • Solid: Uses a single color.

    • Threshold: Colors the chart based on configured thresholds.

  • Threshold

    Parameter

    Description

    Threshold Mode

    The display mode for thresholds.

    Threshold

    The data thresholds.

    If you set Color Scheme to Threshold and configure thresholds here, the system colors the chart based on the corresponding threshold colors.

  • Value mapping

    Parameter

    Description

    Value Mapping

    Replaces values in the chart with custom text or icons.

    For example, if you set Value to 200, Mapping Type to Text, and Mapping Value to Success, all instances of 200 in the chart are replaced with Success.

  • Variable replacement

    Parameter

    Description

    Variable Replacement

    Variable replacement acts as a variable-based filter for a single chart. After you configure variable replacement in General Configurations, a filter appears in the upper-left corner of the chart. Selecting a value from the filter replaces the variable in the query and analysis statement and re-runs the query and analysis. For a configuration example, see Example 2: Configure variable replacement.

  • Documentation link

    Parameter

    Description

    Add Documentation Link

    Adds a custom documentation link or description to the upper-right corner of the chart.

Field configuration

The Field Configuration tab lets you apply custom visual settings to specific query and analysis results or individual data columns, without affecting other parts of the chart.

On the Field Configuration tab, select a target field, such as PV, and then click the drop-down list to add configuration items. The available options are divided into two groups: Standard Configurations (Format, unit, decimal places, display name, and color scheme) and Column Settings (Min Column Width, Column Width, and Cell Display Mode).

Differences between general configurations and field configuration

Field configurations and general configurations share similar options but differ in scope. General configurations apply to the entire chart, while field configurations target specific query and analysis results or individual data columns.

For example, consider a line chart showing page views (PVs) for two websites over the last hour. To distinguish between the two websites, you need different colors and legend names. If you set General Configurations and Display Name in Color Scheme, both lines share the same color and name, making them indistinguishable. To configure these properties individually, use field configurations.

  • General configurations

    If you set Color Scheme to Solid and Display Name to Access Count, both lines share the same color and legend name.

  • Field configuration

    • The configuration for A > pv applies to the line representing the PV column from the results of Query A. You can set its color to red and its legend name to PV for Website A.

    • The configuration for B > pv applies to the line representing the PV column from the results of Query B. You can set its color to yellow and its legend name to PV for Website B.