Text Annotation on data series

Mar 15, 2010 at 4:32 AM
Edited Mar 15, 2010 at 5:37 AM

I would like to show labels on the various data series instead of showing the labels using a legend (i.e. on a line chart). I have seen something similar in isolines example. Wondering if there is any such functionality provided already and if it's achievable inside a chart? Thanks

Editor
Mar 26, 2010 at 7:13 AM

Hi,

you can add an instance of ViewportHostPanel to plotter.Children and then add TextBlocks to it. To set a location of each textblock, use attached properties ViewportPanel.X and ViewportPanel.Y.

Bestr regards,

Mikhail.