I am trying to set the LabelFormat on a RadHorizontalDataAxis, but everything I try turns out to be in the wrong format.
<telerik:RadHorizontalDataAxis Minimum="-30" Maximum="50" LabelsVisibility="FirstLastAndOriginValueOnly" />
I want the labels to display as " -30% 0% 50% "
I have tried setting the string in xaml, and in the loaded event (a binding won't work for me because of where it is in the visual tree)
LabelFormat = "{0}%" - invalid format
LabelFormat = "/{0/}/%"- invalid format
LabelFormat = "P" - applies a calculation "-300.000% 0.000% 500.000%" which I could work around, if there is a way to hide the decimals?
Can anyone help me out? None the formatting examples ever seem to show how to set stringformats in xaml with the proper characters escapes