klinecharts / KLineChart

📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)

Home Page:https://klinecharts.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Draggable tags

ntftrader opened this issue · comments

Feature Description

Feature request (or implementation advice). See also #282 and #251

The screenshot shows an example programmatically using Tag for chart trading (bracket trading). However Tag do not have any drag/drop or other callbacks like Shape but has the essential layout both mark, price indicator and full length line.

Screenshot_20230103_145643

To Do

  1. Could Tag inherit from Shape instead?
  2. Or should there be a custom inherited from Shape like DraggableTag?
commented

V9-alpha has been released. You can try to createOverlay('simpleTag') or customize overlay.