限制Highchart可拖动点

时间:2015-08-24 09:36:33

标签: javascript highcharts

已经实现了高图的可拖动插件,但我有一个特定的要求,其中允许用户拖放新添加的点

 var x = e.xAxis[0].value,
 y = e.yAxis[0].value,
 series = this.series[seriesType];
 //tried this to set only this point as draggable
 series.draggableX  = true;
 series.draggableY  = true ;
 series.addPoint([x, y]);

我可以将draggableX,draggableY设置为仅适用于此点吗?

0 个答案:

没有答案