onChartMouseClick(args){
if(args.target == "annotation1"){
for(let i = 0; i< this.chart.series.length; i++){
this.chart.series[i].type = "StackingBar";
}
this.chart.refresh();
}
else if(args.target == "annotation2"){
//…
}
else if(args.target == "annotation3"){
// customize your code here
}
} |
OnPointClick(args){
this.setState({ hideDialog: true });
this.dialogInstance.content = "PointIndex : " + args.pointIndex + " SeriesIndex : "+ args.seriesIndex;
} |