I have a generic chart type which contains points as List<double>. How can I programatically change the axis label for each point with a custom label, i.e. use a string instead of the double value?
For example:
point1 = (1,5)
point2 = (2,10)
point3 = (3,25)
Instead of the x-axis displaying 1,2, and 3, substitute 1 for California, 2 for Arizona, 3 for New Mexico. Thank you.
EDIT: I want to make this change through C#, not using XAML.
Hi maybe this helps…
http://expression.microsoft.com/en-us/dd433476
this part could be interessting for you…
let me know if it helps…
edit:
The article describes that there should be a class like this
so do not use a Point class do a class with double and string…