Hi,
I've dug around the forums but haven't had much luck in finding any information related to this. We use the WPF XamDataChart to gather incoming data and are trying to find a way to have two sets of marked points. I haven't found a lot of information in the
First set: These are makers that reside on the axis line. Their purpose is to mark a point in time that some event happened. These are placed by users clicking a button elsewhere. This happens as the chart is being updated.
Second set: These are markers that reside on a chosen series. They are points selected by a user, and are placed via clicking on a line at a given point.
My best guess as to how to implement this is to simply create a secondary set series that are scatter-point series that has some overhead logic to plot the points. But if there is a simpler way (or any way, in the case of binding a marker to the axis) I would love to see! Thanks!
HI,
I am attaching a sample application that makes the marker larger when you click on it.
Sincerely, Matt Developer Support Engineer
You could keep track of which Markers have been selected by keeping track of the underlying data in a separate collection.
In my sample wire up the SeriesMouseLeftbuttonDown event instead of the PreviweMouseRightButtonDown. Use the same code to get the Marker. Then using the EventArgs you can get at the underlying data by using the e.item property of the event args.
You can put this object in a separate colleciton.
SIncerely, Matt DSE
I am following up on this forum thread.
Please let me know if you need further assistance.
Sincerely,
Matt Developer Support Engineer
how can i render the selected point in different color for scatterpointseries ?
Do u guys have any idea ??