Class Index | File Index


Class charts.ColumnChart

Extends charts.BarChart.

Defined in: ColumnChart.js.

Class Summary
Constructor Attributes Constructor Name and Description
ColumnChart constructor.
Fields borrowed from class charts.BaseChart:
container, defaults, tooltip
Methods borrowed from class charts.BarChart:
draw, drawContent
Methods borrowed from class charts.BaseChart:
getDataColumns, getDataRange, getDataRows, getMaxValue, getMinValue, getOptions
Class Detail
ColumnChart constructor.
var chart = new charts.ColumnChart('container_id');
chart.draw([['Year', 'Sales', 'Expenses', 'Profit'],
            [2011, 80, 30, 45], [2012, 65, 130, 90], [2013, 45, 100, 60]]);

{string|Element} container
The HTML container.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jun 14 2016 23:17:05 GMT+0300 (EEST)