AnantLabs / googlechartsharp

Automatically exported from code.google.com/p/googlechartsharp
0 stars 0 forks source link

Localization problems with xAxisStepSize #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the grid to a decimal value : .SetGrid(4.2f, 50);
2. Display the graph on a European computer (or any language using , as a
decimal separator)
3. The grid is not displayed correctly because the URL is damaged

What is the expected output? What do you see instead?
A correct graph, a damaged one.

What version of the product are you using? On what operating system?
1.0.2 / Windows

Please provide any additional information below.
The issue is partially fixed for problems on data in
http://code.google.com/p/googlechartsharp/issues/detail?id=13 but it only
fixes the data part, but it can happen on any parameter that allows decimal
values.
One fix would be to replace every .ToString() by a
.ToString(CultureInfo.InvariantCulture) but I preferred changing the thread
culture during the .GetUrl() (less code).

Let me know if you have any questions on this issue.

Original issue reported on code.google.com by amer...@gmail.com on 3 Nov 2009 at 11:13

Attachments: