Question

Is there any possibility to add a label to a specific data point within a WPF toolkit chart? That label should simply show the data point's value. This was quite easy to achieve on iOS (core-plot) and Android, but I couldn't get it to work on Windows Phone. Given the fact that there seems to be no documentation for WPF toolkit/charting doesn't make it much easier.

This is how the data points' labels look on iOS (5.1%, 18.3%) This is how the data points' labels look on iOS (5.1%, 18.3%)

Basically, I'd need the same data-point labeling for the x-values of 12 and 60 on Windows Phone as it is right now on iOS.

Those data-points are visible as green dots in this screenshot (WP 7.1): Those data-points are visible as green dots in this screenshot (WP 7.1)

Any help would be kindly appreciated. Thank you very much in advance.

Was it helpful?

Solution

Finally I found the time to implement the class for displaying point labels.

Here is my post in the blog where I describe this class in more details: Silverlight and WP7 chart with data point labels

The WP7 example works with the chart library which I recompiled myself, so it may not work with yours. You can download the sample working application here.

WP7 chart with data point labels

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top