Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4970
how to bind data for XamWebChart?
posted

I got data from DB with SQL like:

DeptName    SeasonName    Total
Dept1             Spring        223
Dept1             Summer        323
Dept1             Fall        423
Dept1             Winter        523
Dept2             Spring        563
Dept2             Summer        234
Dept2             Fall        453
Dept2             Winter        568
Dept3             Spring        923
Dept3             Summer        234
Dept3             Fall        348
Dept3             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.

 

 

 

 

Parents Reply Children
No Data