Class charts.BubbleChart
Extends
charts.BaseChart.
Defined in: BubbleChart.js.
Constructor Attributes | Constructor Name and Description |
---|---|
charts.BubbleChart(container)
BubbleChart 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.BubbleChart(container)
BubbleChart constructor.
var chart = new charts.BubbleChart('container_id'); chart.draw([['ID', 'X', 'Y', 'Temperature'], ['USA', 60, 60, 120], ['CAN', 25, 25, 50], ['RUS', 70, 70, 80], ['GBR', 85, 99, 40] ]);
- Parameters:
- {string|Element} container
- The HTML container.
- Requires:
- animation
- charts.Grid
- formatters.NumberFormatter
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.