order property Null safety

dynamic order

Define the order of the data. This option changes the order of stacking the data and pieces of pie/donut. If null specified, it will be the order the data loaded. If function specified, it will be used to sort the data and it will recieve the data as argument. Available Values: desc, asc, function (data1, data2) { ... }, null

Implementation

external dynamic /*String|(...data: string[]) => void|Null*/ get order;
void order=(dynamic v)

Implementation

external set order(dynamic /*String|(...data: string[]) => void|Null*/ v);