Class charts.FunnelChart
Extends
charts.BubbleChart.
Defined in: FunnelChart.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
charts.FunnelChart(container)
FunnelChart constructor.
|
- Fields borrowed from class charts.BaseChart:
- container, defaults, tooltip
| Method Attributes | Method Name and Description |
|---|---|
|
draw(data, opt_options)
Draws the chart based on
data and opt_options. |
- Methods borrowed from class charts.BaseChart:
- drawContent, getDataColumns, getDataRange, getDataRows, getMaxValue, getMinValue, getOptions
Class Detail
charts.FunnelChart(container)
FunnelChart constructor.
var chart = new charts.FunnelChart('container_id');
chart.draw([['ID', 'Temperature'],
['USA', 120],
['CAN', 50],
['RUS', 80],
['GBR', 40]
]);
- Parameters:
- {string|Element} container
- The HTML container.
Method Detail
draw(data, opt_options)
Draws the chart based on
data and opt_options.
- Parameters:
-
{!Array.
} data - A chart data.
- {Object=} opt_options
- A optional chart's configuration options.