Hi,
I was trying to get the example for hiding/showing a dataseries on legend click to work.
Because I don’t have my chart reference available where I setup the legends onclick function, it would be nice to have the chart as reference on the passed event.
Line 12316 in uncompressed 1.5.0 beta version would do the trick:
eventObjectMap.eventParameter = { x: xy.x, y: xy.y, dataSeries: dataSeries._options, dataPoint: dataPoint, dataPointIndex: eventObjectMap.dataPointIndex, dataSeriesIndex: eventObjectMap.dataSeriesIndex, chart : this.chart };
Thanks and regards,
Joachim