The data manager object should be assigned to the dataSource property of series. The properties xName and yName of the series should be assigned to the fields in data source representing the x and y values of the series respectively. The query property of the series should be assigned to a query object for querying the data returned by the data manager.
The following code example demonstrates binding Chart to oData service.
The output for the above code example binding chart with oData service is as follows:
Figure 1: Output
This page will automatically be redirected to the sign-in page in 10 seconds.