chartjs-plugin-draggable icon indicating copy to clipboard operation
chartjs-plugin-draggable copied to clipboard

Vertical Lines & Boxes with non-linear axes

Open sifex opened this issue 7 years ago • 3 comments

Hey @compwright, have you tested this against vertical lines across the x-axis? I seem to be able to get it working on scaleID: 'y-axis-0', but not scaleID: 'x-axis-0',

kapture 2017-01-18 at 11 30 07

sifex avatar Jan 18 '17 00:01 sifex

It works with a linear scale, other scale types are not yet supported. Any PRs to rectify this are welcome!

compwright avatar Jan 18 '17 00:01 compwright

@compwright This seems to be a linear axis. The drag is just being transformed from the y-axis to the x-axis

sifex avatar Jan 18 '17 00:01 sifex

It looks like a time axis to me. Can you post a jsfiddle or codepen reproducing the issue?

compwright avatar Jan 18 '17 00:01 compwright