In my XamDataChart, Y axis displays price so I set NumericYAxis Label field to Label="{}{0:C2}". This works fine and I could get different price with currency sign. The issue occurs when the application is launched in Europe region (in Prague). In that case instead of $ it provides Pound sign on Y axis. I want $ sign irrespective of from where application is launched.
Same issue for XamTextEditor is resolved by setting Format="C2" and FormatProvider="{Binding CurrentCulture}" where CurrentCulture is "en-US".
How can we set fixed culture to NumericYAxis Label in XamDataChart?
Hello Ashutosh,
Thank you for contacting Infragistics!
You will want to handle the FormatLabel event of your yAxis and always use the same symbol for currency:
www.infragistics.com/.../infragisticswpf.controls.charts.xamdatachart~infragistics.controls.charts.axis~formatlabel_ev