i want to create a line chart , where i can drag the line using the mouse and modify the graph doing so.
i am using MVVM , so i would like each mouse drag to change my VM data. so i can use it later .
is this supported by XamDatachart ?
if so, can i get a small example or a link ?
You can use a behavior to attach to the line series and in the behavior handle the mouse events required for manipulating the data. In the behavior I detect which item in the line series was clicked and while the user is holding the left mouse button down they can drag the data point up or down to give it a new value.
Take a look at the attached sample and let me know if it helps.
Let me know if you have any further questions on this matter.