Formatting Value in Chart for a specific Culture
Posted: Wed Apr 30, 2014 8:30 am
Hi.
I am using a chart for view a list of costs. I have seen that i can set the format property with "C2" for view the numeric value in mode "cost".
Is possibile to format values for a specific Culture? At the moment, using "C2" i can only view values in €.
I have tried to set list values in event "GetListOfValues" in this mode but not function:
Is possibile do it???
Than you.
I am using a chart for view a list of costs. I have seen that i can set the format property with "C2" for view the numeric value in mode "cost".
Is possibile to format values for a specific Culture? At the moment, using "C2" i can only view values in €.
I have tried to set list values in event "GetListOfValues" in this mode but not function:
Code: Select all
//GLOBALIZATION
// Creates a CultureInfo
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo(""+this["cultureName"]);
double val = 70100200.5;
e.Value = "....<other values separated by ;>...."+val.ToString("c", ci);
Than you.