[starting from version: 2.7.17]
Triggered once any chart element is clicked.
Parameter/Type | Description |
---|---|
chart ChartDataObject | Contains information about the clicked chart segment. |
pivot.on('chartclick', function(chart) {
alert(
"Click on chart segment with label: " +
chart.label + ", measure: " +
chart.measure.uniqueName +
", value: " +
chart.value);
});
Open the example on JSFiddle.