We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind remote data to Chart?

Essential Chart supports remote data binding that is binding data in the server with chart, using Essential DataManager. Refer Data Manager for information about using Essential DataManager for JavaScript.

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

JS Playground sample link: Remote data

Article ID: Published Date: Last Revised Date: Platform: Control: .NET Framework: Product Version:
3324 01/21/2015 08/10/2015 JavaScript ejChart 4.5
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon