Blazor Demo is culture dependent (at least in charts)

Hi Radzen Team,

Your Blazor Demo is culture dependent, In order to avoid this, it's necessary to add inside Startup.cs in Configure function (in order to work in non-US computer)

        CultureInfo cultureInfo = new CultureInfo("en-US");

        CultureInfo.DefaultThreadCurrentCulture = cultureInfo;
        CultureInfo.DefaultThreadCurrentUICulture = cultureInfo;

regards

Don't think we need that. The chart uses the following code to format with culture specific info:

string FormatAsUSD(object value)
{
    return ((double)value).ToString("C0", CultureInfo.CreateSpecificCulture("en-US"));
}

Hi @korchev,

Ok, but If you download the git project for demo and run in local (non-us computer) you will see this.

similar for others chart.

regards

I guess it is DateTime.Parse("2019-04-01") that doesn't work. Will replace it with new DateTime then.

The problem is deeper. Blazor serializes numbers with culture specific format which SVG doesn't like. We will release a fix for that.