Setting X-axis and Y-axis properties

You can set chart properties for every chart that you add to a widget.

About this task

The following procedure lists all the X-axis and Y-axis properties, irrespective of the chart type. A few properties might not be applicable to a chart type and hence, might not present for those charts. Also, a few properties can be auto-populated based on whether you created an assisted data definition by using connectors or used a saved data definition for the chart.

Procedure

Complete the following steps to set X-axis and Y-axis properties:

  1. To set properties for X-axis, in the navigation pane of the Chart tab, click X-Axis, and set the properties that are provided in the following X-axis and Y-axis properties table.
  2. To set properties for Y-axis, in the navigation pane of the Chart tab, click Y-Axis, and set the properties that are provided in the following X-axis and Y-axis properties table.
    Table 1. X-axis and Y-axis properties
    Field User action
    Axis Title Enter a title for the axis.

    The title is displayed when you preview or publish the widget.

    Set precision for tooltip values

    Enter precision for tooltip values.

    For example, if you enter 3, then all the tooltip values are rounded off to three decimal places. So, a value 1.4527 is displayed as 1.453.

    By default, the precision is set to 2.

    Tooltip Title Enter a tooltip title for the axis.

    The tooltip title along with the axis value is displayed when you preview or publish the widget.

    Data Points Limit Enter the number of data points that must be displayed on the Line chart for real-time data.
    The valid value range is 10-9999.
    Note: This field is displayed only for Line charts with real-time data.
    Enable Zoom If you want the published dashboard to display a horizontal slide bar on the X-axis to zoom in or zoom out the data, select the Enable Zoom checkbox.
    Show Gridlines The Show Gridlines checkbox is selected by default to display the major grid lines.
    Note: If you add a right Y-axis, then the Show Gridlines check boxes are enabled or disabled for both the Y-axis simultaneously.

    For example, if you select the Show Gridlines checkbox for the default Y-axis, then by default, Show Gridlines is selected for the right Y-axis. Similarly, if you clear the Show Gridlines checkbox for the right Y-axis, then the selection is also cleared for the default Y-axis.

    Ticks & Labels Complete any of the following steps:
    • To display major labels, major and minor ticks, and to auto-adjust the number of displayed labels according to the data and size of the published widget, click Auto-set Axis Ticks and Labels to Display.
      Note: If the Show Gridlines checkbox is selected, then only the major grid lines are displayed. Else, the grid lines are not displayed.
    • To manually set major, minor, and micro ticks; specify tick steps; and tick labels that must be displayed on the published or previewed widget, click Manually-set Axis Ticks and Labels to Display, and complete the following steps:
      • Under Ticks, select the Minor Ticks checkbox to display the minor ticks.
        Note:
        • The minor grid lines are displayed only if the Show Gridlines checkbox is selected.
        • Selecting the Micro Ticks checkbox does not show any micro ticks on the chart.
        • Only for Area, Line, and Stacked Columns charts, if you select X-axis data is time series in the Series pane, then you must select Minor Ticks.
      • Under Tick Steps, if you click Manually Set Steps, then you must enter a data range value for each tick that you selected under Ticks. The default value for major and minor tick steps is 1.

        Tick steps define the amount of data range that must be skipped before the next tick is displayed.

        Note:
        • If you enter invalid values that are not in sync with the chart, then the chart is not displayed.
        • Only for Area, Line, and Stacked Columns charts, if you select X-axis data is time series in the Series pane, then you must enter a data value range for Major and Minor tick steps, and select a unit for both the tick steps. These tick step units are displayed on the X-axis only.
      • Under Tick Labels, if you click Manually Set Label, then you must select the appropriate check boxes to display labels for the selected ticks.
        Note: If you select X-axis data is time series in the Series pane, then you must select Major Labels and Minor Labels check boxes to display labels for the selected ticks.

        Tick label displays a label for the selected ticks.

    Shorten numbers on axis labels To abbreviate large numbers, select the Shorten numbers on axis labels checkbox.

    Thousand (K), Giga (G), Million (M), and Trillion (T) are the supported abbreviations.

    For example, 1234 is displayed as 1.2 K.

    Axis Labels Rotation (in degrees) To specify angular rotation in degrees for the axis labels, select the required value from Axis Labels Rotation (in degree) list.
    Truncate labels after num characters

    Where num is the number of characters.

    To cut short the labels after certain characters, select the number of characters to be displayed on the chart from Truncate labels after num characters list.
    Axis Count > Min Count Value To define the minimum count value, click any one of the following options under MIN COUNT VALUE:
    • To start the axis at zero, click Start at 0.
    • To start the axis at a specified value, click Start at, and select the required value.
    • To start the axis dynamically according to the data, click Dynamic as per Data.
    Axis Count > Max Count Value To define the maximum count value, click any one of the following options under Max Count Value:
    • To end the axis at specific value, click End at, and select the value.
    • To end the axis dynamically according to the data, click Dynamic as per Data.
  3. Optional: While setting an assisted data definition, if you selected multiple metric values for Y-axis, then you can define a right Y-axis. To define a right Y-axis, click Add Right Y-axis, and set the properties that are provided in the X-axis and Y-axis properties table.

    For more information about setting assisted data definition, see Setting assisted data definitions.