WPF scatterseries with scatterpoint info displayed

Oystein Bjorke 6 ár síðan 0
This discussion was imported from CodePlex

steunissen wrote at 2012-02-07 07:27:


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 ?

steunissen wrote at 2012-02-08 06:31:

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

objo wrote at 2012-02-08 09:05:

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


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

ta wrote at 2012-10-22 16:46:

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