Can you add a new point to a Line chart with a click event?


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Manuh on 17th January 2018
Hello,

Is it possible to create (or add) a new point on a adjustable line with a click event ?

Manuh.
Posted by Richard on 17th January 2018
Hi there,

Yes you can do that. I've made a demo of it here that demonstrates it:

www.rgraph.net/tests/canvas.line/adjustable-add-point.html

I've made it so that if you click in the left gutter it adds a point to the left side of the chart and if you click in the right gutter it adds a point to the right of the chart.

Richard
Posted by Manuh on 17th January 2018
Thank you so much, I'll take a look !

Add a reply




« Back to message list