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 Wed Mar 03 2021 22:29:43 GMT-0800 (PST)