Class Index | File Index

Classes


Class charts.HoopChart


Extends charts.DonutChart.

Defined in: HoopChart.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
charts.HoopChart(container)
HoopChart 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.
 
Gets circle area content.
Methods borrowed from class charts.BaseChart:
drawContent, getDataColumns, getDataRange, getDataRows, getMaxValue, getMinValue, getOptions
Class Detail
charts.HoopChart(container)
HoopChart constructor.
var chart = new charts.HoopChart('container_id');
chart.draw([['Work', 'Eat', 'Commute', 'Watch TV', 'Sleep'],
            [100, 50, 30, 10, 40], [140, 2, 110, 150, 1300]]);

Parameters:
{string|Element} container
The HTML container.
Method Detail
draw(data, opt_options)
Draws the chart based on data and opt_options.
options: {
  'hoop': {'radius': 0.85}
  'animation': {'radius': 1}
}
Parameters:
{!Array.} data
A chart data.
{Object=} opt_options
A optional chart's configuration options.
See:
charts.DonutChart#draw
charts.PieChart#draw
charts.BaseChart#getOptions

{string} getAreaContent()
Gets circle area content.
Returns:
{string} Returns circle area content.

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