Class charts.ColumnChart
Extends
charts.BarChart.
Defined in: ColumnChart.js.
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.