jhugo
jhugo

Reputation: 181

Dynamic Vaadin chart

Is there a way to modify a Vaadin chart by moving a bar or a point from the chart itself? i.e. I have a bar chart with a certain value in one of the bars, I want to get a new value by dragging that bar to that new value.

There is something similar in this example, that is why I wonder if it is possible to extend this option to something like what I need.

Thanks!!!!

Upvotes: 0

Views: 124

Answers (1)

stpoa
stpoa

Reputation: 5573

I assume that vaadin uses Highcharts if this is the case, maybe you can use plugins, if so I recommend:

http://www.highcharts.com/plugin-registry/single/3/Draggable%20Points

Source code in case you had to rewrite it:

https://rawgit.com/highslide-software/draggable-points/master/draggable-points.js

Regards.

Upvotes: 3

Related Questions