DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Charts - JSON Data

If your server stores data in JSON format, you do not need to make AJAX requests to get the data. Instead, assign the URL of your data storage to the Chart's dataSource property. To configure how the component displays data, specify the series type and its nested options: argumentField and valueField, so the component can determine the object fields that indicate Chart arguments and values in JSON.

Note that you can also use a JSONP callback parameter supported by jQuery.ajax() in the dataSource.

To give you the ability to edit code on the fly, the demo uses SystemJS. For this reason, launching the demo takes some time. We strongly recommend that you do not use this approach in real projects.
Backend API