The data manager object is assigned to the dataSource property of chart series in client-side during chart load event. The properties xName and yName of the series are assigned to the fields in data source representing the x and y values of the series respectively. The property query of series is assigned to a query object for querying the data returned by data manager.
The following cod example explains how to bind Chart to oData service.
The following screenshot displays the output for the above code example.
This page will automatically be redirected to the sign-in page in 10 seconds.