I want to call a function from plotoptions of highcharts i tried like this but its throwing error
plotOptions: {
series: {
events: {
legendItemClick: function(event) {
//iam trying to call a function here
sampletest(testArr);
}
}
}
}
is this possible..how to call another function from plotOptions.
the error iam getting is
TypeError: d is undefined