I'm using the zedgraph with c#. Because I have a German Windows, the X-Axis and Y-Axis have a decimal comma instead of a decimal point. How can I change
it to a decimal point?
Something like 'myPane.XAxis.Scale.Format = "0.00"
;' did not have any effects.
Asked
Active
Viewed 191 times
0

santosh singh
- 27,666
- 26
- 83
- 129

Stefano
- 1
1 Answers
0
I use this to force the culture to english. Which applies to the decimal separator
etc.
CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US");
CultureInfo.DefaultThreadCurrentCulture = culture;
CultureInfo.DefaultThreadCurrentUICulture = culture;

Jeroen van Langen
- 21,446
- 3
- 42
- 57
-
Thank you, this was very helpful! – Stefano Nov 07 '16 at 11:29