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
1385
Use different culture when formatting axis labels
posted

I am trying to use specific cultures to format the axis labels of NumericXAxis and NumericYAxis.  This is being done in C# code.

I can set the format string to something like:

xaxis.Label = "{0:C}";

The problem is that it will use the system locale to format the currency, and I want it to use a specific locale from a CultureInfo object.  How can I do that?

I am using WPF v18.1.

www.infragistics.com/.../datachart-axis-label-format