Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAPlotLinesElement可以支援拖曳Drag嗎? #463

Open
CLWuAIP opened this issue Sep 26, 2023 · 6 comments
Open

AAPlotLinesElement可以支援拖曳Drag嗎? #463

CLWuAIP opened this issue Sep 26, 2023 · 6 comments

Comments

@CLWuAIP
Copy link

CLWuAIP commented Sep 26, 2023

HighChart有支援,但我找不到.allowDragPlotLine()。

@AAChartModel
Copy link
Owner

HighChart有支援

有相关文档吗?

@AAChartModel
Copy link
Owner

这个示例的不太好弄, 需要额外添加依赖文件:

<script src="https://rawgithub.com/highcharts/draggable-points/master/draggable-points.js?1"></script>

@AAChartModel
Copy link
Owner

AAChartModel commented Sep 26, 2023

而且我粗略的看了一下依赖文件里面的实现, 应该是不支持移动端.
因为你可以看到, 它里面的事件操作似乎都是针对鼠标事件的.

@CLWuAIP
Copy link
Author

CLWuAIP commented Sep 27, 2023

再請教:
https://api.highcharts.com/highcharts/plotOptions.series.dragDrop
這支援plotline嗎?

@AAChartModel
Copy link
Owner

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 应该是没什么关系.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants