Class Index | File Index

Classes


Class charts.Grid


Defined in: Grid.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
charts.Grid(container)
Grid Constructor.
Field Summary
Field Attributes Field Name and Description
<static>  
charts.Grid.DIRECTION
Enum of grid direction.
Method Summary
Method Attributes Method Name and Description
 
draw(opt_options)
Draws chart grid.
 
getOptions(opt_options)
Gets grid options merged with defaults grid options.
Class Detail
charts.Grid(container)
Grid Constructor.
Parameters:
{string|Element} container
The HTML container.
Requires:
formatters.NumberFormatter
Field Detail
<static> charts.Grid.DIRECTION
Enum of grid direction.
{ LEFT_TO_RIGHT, RIGHT_TO_LEFT, BOTTOM_TO_TOP, TOP_TO_BOTTOM }
Method Detail
draw(opt_options)
Draws chart grid.
Parameters:
{Object=} opt_options
A optional grid configuration options.

{!Object.} getOptions(opt_options)
Gets grid options merged with defaults grid options.
options: {
  'grid': {border': 1, 'color': '#ccc', 'lines': 5},
  'font': {'size': 11, 'family': 'Arial'},
  'hAxis': true,
  'vAxis': true
}
Parameters:
{Object=} opt_options
A optional grid configuration options.
Returns:
{!Object.} A map of name/value pairs.

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