Required library edition:
Required library file: dhtmlxlayout.js / dhtmlxaccordion.js
attaches dhtmlxChart to a cell, returns a chart object
Attaching to a layout's cell:
var chartConfig = { view:"bar", .... } var chart = dhxLayout.cells("a").attachChart(chartConfig); // returns a chart object chart.load(...);
Attaching to an accordion's cell:
var chart = dhxAcc.cells(id).attachChart(chartConfig); // returns a chart object