Widgets > Chart Widgets > wijbarchart > How To > Define the Tooltip |
The following code shows how to use the Hint object to create a tooltip that displays the Y-values for each chart series:
hint: {
content: function () {
return this.data.label + '<br><br>' + this.y + '';
}
This topic illustrates the following:
The following image shows the tooltip that appears when you hover over each data series: