Class Index | File Index

Classes


Class charts.TagChart


Extends charts.BaseChart.

Defined in: TagChart.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
charts.TagChart(container)
TagChart 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.
 
drawContent(content, opt_width, opt_height)
Draws content into this.container as innerHTML.
Methods borrowed from class charts.BaseChart:
getDataColumns, getDataRange, getDataRows, getMaxValue, getMinValue, getOptions
Class Detail
charts.TagChart(container)
TagChart constructor.
var chart = new charts.TagChart('container_id');
chart.draw([['Country', 'Population'],
            ['Germany', 200],
            ['USA',     300],
            ['Brazil',  400],
            ['Canada',  500],
            ['France',  600],
            ['Russia',  700]
]);

Parameters:
{string|Element} container
The HTML container.
Requires:
formatters.NumberFormatter
Method Detail
draw(data, opt_options)
Draws the chart based on data and opt_options.
options: {
  'font': {'family': 'Arial'}
}
Parameters:
{!Array.} data
A chart data.
{Object=} opt_options
A optional chart's configuration options.
See:
charts.BaseChart#getOptions

drawContent(content, opt_width, opt_height)
Draws content into this.container as innerHTML.
Parameters:
{string} content
SVG or VML markup content.
{number=} opt_width
Optional chart width.
{number=} opt_height
Optional chart height.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jun 14 2016 23:17:05 GMT+0300 (EEST)