目标是在每个堆叠条形图的前面添加一个按钮,然后单击按下钻取图表。
我添加了按钮作为stackLabel并且在添加onClick回调时卡住了。
yAxis:{
stackLabels:{
enabled:true,
formatter: function(){
return '>'; /* this will be replaced to button*/
}
}
}
我们有更好的方法来实现这个目标吗?