jQuery Common - Bind Data

Regardless of the approach you've chosen to provide data, after implementing a data source, bind it to your widget using its dataSource option. The code snippet below demonstrates how to do this for the Chart widget.

JavaScript
var chartDataSource = // ...

var chartOptions = {
    dataSource: chartDataSource
};