AAChartKit-Swift
AAChartKit-Swift copied to clipboard
AAPlotLinesElement可以支援拖曳Drag嗎?
HighChart有支援,但我找不到.allowDragPlotLine()。
HighChart有支援
有相关文档吗?
補充: https://stackoverflow.com/questions/52834831/how-do-i-create-a-draggable-plot-line-in-highcharts https://jsfiddle.net/Lnj7ac42/
这个示例的不太好弄, 需要额外添加依赖文件:
<script src="https://rawgithub.com/highcharts/draggable-points/master/draggable-points.js?1"></script>
而且我粗略的看了一下依赖文件里面的实现, 应该是不支持移动端. 因为你可以看到, 它里面的事件操作似乎都是针对鼠标事件的.
再請教: https://api.highcharts.com/highcharts/plotOptions.series.dragDrop 這支援plotline嗎?
The draggable-points module allows points to be moved around or modified in the chart. In addition to the options mentioned under the dragDrop API structure, the module fires three events, point.dragStart, point.drag and point.drop.
看这个属性的注释, 和 plotline 应该是没什么关系.