chartjs-plugin-draggable
chartjs-plugin-draggable copied to clipboard
Vertical Lines & Boxes with non-linear axes
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',
It works with a linear scale, other scale types are not yet supported. Any PRs to rectify this are welcome!
@compwright This seems to be a linear axis. The drag is just being transformed from the y-axis to the x-axis
It looks like a time axis to me. Can you post a jsfiddle or codepen reproducing the issue?