artus9033 / chartjs-plugin-dragdata

Draggable data points plugin for Chart.js
MIT License
263 stars 55 forks source link

Add the ability to drag only certain points of a given dataset #12

Closed jeancharles-roger closed 5 years ago

jeancharles-roger commented 5 years ago

I've just added a Boolean return to onDragStart to allow the ability or not to drag the point.

I've built a diet with webpack but the version doesn't seem right ....

Best regards

chrispahm commented 5 years ago

Hey there, thanks a lot for the PR, that looks like a great addition!

I just checked it out really quick (without rebuilding), but I couldn't get the examples in the /doc to work properly. Could you have a look once again? Best Christoph

jeancharles-roger commented 5 years ago

Hi,

Oups, I've just corrected the default behavior to be draggable :).

Sorry for that Jean-Charles

chrispahm commented 5 years ago

Very nice! Just checked again and it works all fine. Merging now...