DevExtreme Angular - Array Only

To bind the PieChart to an array, pass this array to the dataSource option. The array should contain objects.

If objects in the array need to be processed (sorted, filtered, etc.), you can create a Query. For example, in the following code, a Query sorts objects in the fruits array by the count field in descending order.

See Also