I have a scatter chart that has large number in both the X and Y axes. Instead of displaying 1,500,000,000 along the axes, i would like to display 1.5. Itried doing Label={}{:#,##0,,}" but it keps the comma and I cant get it reduced to just 1 decimal. Any Ideas?
Thanks
Hello Rod,
Thank you for your post. I have been looking into the appearance that you are trying to achieve and it can suggest using a DataTempalte for the Label property of the axis. In the DataTemplate you can add a TextBlock and you can use a Converter to convert the value of the Axis to the value that you wish. I have created a sample application for you, that demonstrates how you can implement this approach.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Krasimir,
That is exactly what I did last night and was able to get it to work. I added a property to the converter that allowed me to specify the "divisor" for the display and the format string to return so I can specify any display units for the axes values.
thanks
Rod
Thank you for your reply. I am very glad that you have managed to solve the issue that you were having. Please let me know if you need any further assistance on the matter.