Required library edition:
Required library file: dhtmlxchart.js
Configures a property of chart
chart.define("sort",{ by:"#sales#",dir:"asc",as:"int" })
To apply the new configuration parameters you need to call refresh() method.