Valuta next to axis value (solved)

Oct 16, 2013 at 8:55 AM
I've made a chart showing amounts of money, and now I want to display the Valuta next to each value on the Y Axis.
Example:
€ 100 instead of 100

Can I manipulate the string that's shown somehow? There is no example doing something like this, and the documentation isn't covering it either.
Oct 16, 2013 at 1:26 PM
Edited Oct 16, 2013 at 1:26 PM
If you are using LineSeries you can use the LabelFormatString property:
var s1 = new LineSeries() {LabelFormatString = "€ {1:f2}"};
If you are using other series you will need modify the source code to include this behavior.
Good luck.
Oct 16, 2013 at 1:41 PM
I'm using LineSeries, but doesn't this draw it in the chart itself?
I meant I'd like to see the € on the label at the axis on the left.
(I can't see the label in the chart since I'm using the Android version which doesn't support mouse events)
Oct 16, 2013 at 1:45 PM
Sorry, I don't quite understand what do you mean. If you want to display "€" on your axis, why not just modify the axis Title?
Good luck
Oct 16, 2013 at 1:51 PM
No problem I didn't explain it good.
I could change the title, but I'd rather see the € sign at each value on the axis.
Oct 16, 2013 at 11:17 PM
Edited Oct 16, 2013 at 11:17 PM
Then it's just
myAxis.StringFormat = "0 €";
Good luck
Marked as answer by Devin19 on 10/17/2013 at 12:26 AM
Oct 17, 2013 at 7:26 AM
Thanks a lot, that's exactly what I meant :)