1
Reply

Plot data points on chart with mouse click event dynamically

Prasad Shinde

Prasad Shinde

Apr 19 2016 5:48 AM
507

Is it possible to plot data points on WPF scatter chart at run time using mouse events? For example by creating shapes (ellipse, triangle, etc) dynamically when the user clicks left mouse button on the chart area? I tried by referring following link, but I can plot point only once, later clicks don't make any effect.

http://www.c-sharpcorner.com/UploadFile/47fc0a/create-shapes-dynamically-in-wpf/

Does anyone have an idea? Thanks in advance.


Answers (1)