WPF scatterseries with scatterpoint info displayed

Feb 7, 2012 at 6:27 AM

Hi,

I am creating a scatterplot which works fine. But I would like to display a label with each scatterpoint displaying additional information.

I am thinking of several possibilities :

1. creating a tracker which displays the desired info and somehow set the tracker to display always on each scatterpoint.

2. creating one scatterseries per scatterpoint and displaying the legend on the side. (the legend does not display near the point however)

3. creating a label like the barseries. But I guess this is not implemented.

 

Anyone any (other) suggestions ?

Feb 8, 2012 at 5:31 AM

Solved it by inheriting from scatterseries and scatterpoint, mixing some bareseries "label" code into it and it (almost) works...!

Coordinator
Feb 8, 2012 at 8:05 AM

I think #3 is the best solution to this! I am adding an issue "Add labels to LineSeries and ScatterSeries".

http://oxyplot.codeplex.com/workitem/9893

The labels could also be defined in one of the base classes, so we can add labels to all types of series.

Oct 22, 2012 at 2:46 PM

steunissen: I am looking for the exact same thing. Could I convince you to share the code you wrote? :)