Class Index | File Index

Classes


Class charts.ColumnChart


Extends charts.BarChart.

Defined in: ColumnChart.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
charts.ColumnChart(container)
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
charts.ColumnChart(container)
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]]);

Parameters:
{string|Element} container
The HTML container.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Mar 03 2021 22:29:43 GMT-0800 (PST)