Defining tooltips
You can define a tooltip for
a row that is added to the Display options table
in the Chart control configuration options. Tooltips are displayed
when a user hovers over a data point in the chart.
Procedure
To enable tooltips, in the ToolTip Template column
of the Display options table, specify a substitutable
value in the cell of the appropriate row.
For the following
entry, the tooltip displays the Y-axis value of the data point: ${dataPoint.y}.
Some additional examples of substitutable values are included
in the following list:
- ${dataPoint.x}: Substitutes the X-axis value of the hovering data point
- ${dataPoint.y}: Substitutes the Y-axis value of the hovering data point
- ${dataPoint.labels.x}: Substitutes the X-axis label of the hovering data point
- ${series.0.name}: Substitutes the first data series name in the associated plot
- ${series.1.name}: Substitutes the second data series name (if applicable) in the associated plot