Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
XamDataChart Currency format in NumericYAxis through Label
posted

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?

Parents
No Data
Reply Children
No Data