I got data from DB with SQL like:
DeptName SeasonName TotalDept1 Spring 223Dept1 Summer 323Dept1 Fall 423Dept1 Winter 523Dept2 Spring 563Dept2 Summer 234Dept2 Fall 453Dept2 Winter 568Dept3 Spring 923Dept3 Summer 234Dept3 Fall 348Dept3 Winter 948
I want to display this data in XamWebChart. For this case, Legend and Series are generated from DB dynamically. How to bind this kind of data for XamWebChart?If items for legend are boundable? how to set Series and its label dynamically from above data from DB?
Sample codes please.
HI,
I am attaching a sample application what will process your data and produce a column chart.
The Department will be the series.
Please review my sample.
Sincerely, Matt Developer Support Engineer
HI ,
Please let me know if you need further assistance regarding this issue.
Sincerely,
Matt Developer Support Engineer