Grid data pie in JavaScript Chart control
18 Nov 20181 minute to read
You can visualize the filtered data that returned by grid in pie chart.
To visualize the data in pie chart, follow the given steps:
Step 1:
Initialize the grid with datasource.
Step 2:
By using the grid’s actionComplete event and getCurrentViewRecords method, you can get the current page records. By setting allowFiltering value as true, you can filter the data. By using the grid’s databound event, you can update the current page filtered records into the chart’s datasource and display the grid filtered data in chart.