Hello,
I had a question i am creating a bar chart and and i have a Collection of keyValuepair of strings and double like so
now what i want to happen is for bar chart to show me the string value in KeyValuePair on xAxis and the double value on yAxies
now the yAxies is binding fine, but xAxis is not showing the string value its showing 1.2.3....
how can i accomplish this ?
Also to addition to this how can i apply .NET formattings to the double values like if i want 128.01 to display as $128.01 in chart?
Thanks,
Amir
I had a question i am creating a bar chart and and i have a Collection of keyValuepair of strings and double like so
I
ICollection<KeyValuePair<string, double>> topCompanies = new List<KeyValuePair<string, double>>(); |
now what i want to happen is for bar chart to show me the string value in KeyValuePair on xAxis and the double value on yAxies
now the yAxies is binding fine, but xAxis is not showing the string value its showing 1.2.3....
how can i accomplish this ?
Also to addition to this how can i apply .NET formattings to the double values like if i want 128.01 to display as $128.01 in chart?
Thanks,
Amir