Am building a column highchart with the rotated labels similar to this
I have difficulty passing an array to the data series . I have tried various formats ,but nothing works. Please help!.
I have a variable called userorders, it is a dictionary<strint,int> t ype
Am loading that variable from the database
rName, orderCount, (s, i) => orderCount);
Then am loading the values to a List<string> with the format needed for the Data series
, userName, orderCount));
This will format it to ['user1',2],['user2',3]...
. similar to the one mentioned in the Highcharts code examples.
['São Paulo', 11.8],
['Mexico City', 8.9],
Then i pass the UserCountByRep variable to the Chart Data series . But it is not working .