Chart properties file
Each dashboard uses a Velocity template (<name>.vm
) and a set of chart properties files to render the charts.
As charts are configured with the Chart Builder tool, the tool generates the corresponding properties for each customized item. The metrics configuration can be copied into a properties file and added to a dashboard. If no values are specified for a given property, the property will use a default value from the <server-root>/config/dashboard/charts/_chart-definition.template
file. All properties and their descriptions are listed in this file.
The properties in the chart definition file are broken into two groups:
-
Properties that start with
display
affect the display of the data. -
Properties that start with
query
affect the metric query.
When building a new chart, just copy the query parameters into a properties file. In general, display options should be referenced from common styles defined in the _chart-definition.template
file, or the styles defined for a dashboard.