Hello duncan.mcdonald@virsae.com,
jqxChart requires a data point-centered data source, e.g.:
[
{
"No": 1,
"NY": 1200,
"NJ": 124
},
{
"No": 2,
"NY": 1203,
"NJ": 120
},
{
"No": 3,
"NY": 1204,
"NJ": null
}
]
In the data adapter’s beforeLoadComplete callback function you can transform your source structure to the required one (data point-centered) and in the loadComplete callback you can dynamically populate the chart series array based on the data. You can learn more about these callbacks in the jqxDataAdapter’s help topic.
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/