order property

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 NOTE: order function, only works for Axis based types & Arc types, except Radar type.

Implementation

external dynamic /*'asc'|'desc'|num Function(IData, IData)|Null*/ get order;
void order=(dynamic v)

Implementation

external set order(
    dynamic /*'asc'|'desc'|num Function(IData, IData)|Null*/ v);