KLineChart icon indicating copy to clipboard operation
KLineChart copied to clipboard

Draggable Tags

Open olablt opened this issue 2 years ago • 5 comments

Hello,

is there a code snippet to modify the tag and make it draggable vertically?

like in this example https://jsfiddle.net/randalhsu/5un8r93g/

olablt avatar Jun 06 '22 16:06 olablt

Drag is not supported yet.

liihuu avatar Jun 14 '22 17:06 liihuu

This function may be supported in the next version. I made a similar function, but through the price line.

XYUU avatar Jul 14 '22 14:07 XYUU

This function may be supported in the next version. I made a similar function, but through the price line.

can you share the code?

olablt avatar Jul 14 '22 14:07 olablt

const shape= { name: "priceLine", lock: false, mode: "weak_magnet" } chart.createShape(shape, "candle_pane")

XYUU avatar Jul 15 '22 15:07 XYUU

const shape= { name: "priceLine", lock: false, mode: "weak_magnet" } chart.createShape(shape, "candle_pane")

is it possible to restrict the dragging to vertical only?

olablt avatar Jul 20 '22 05:07 olablt

V9 supported.

liihuu avatar Jan 10 '23 17:01 liihuu