sort

adds any user-defined handler to available events

void sort();

Example

myChart.sort("Year","asc","int");
myChart.sort(function(a,b){
    return a.Version > b.Version ? 1 : -1;
},"asc");

Back to top