Class Index | File Index

Classes


Class charts.BubbleChart


Extends charts.BaseChart.

Defined in: BubbleChart.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
charts.BubbleChart(container)
BubbleChart constructor.
Fields borrowed from class charts.BaseChart:
container, defaults, tooltip
Method Summary
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.
See:
charts.BaseChart#getOptions

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