a module for working with 'above-cell' content
ssheet.views.add(750,50,"chart","B2:E7",
{type:"line", legend:1, xAxis:1, width:550, height:400}
);
Module allows to add charts, images and other content above Spreadheet cells.
Read the main article to get more information.
The views module has several methods to work with 'above-cell' content:
Used for registering custom content types. The method takes the following parameters:
Adds available views (built-in or custom) to Spreadsheet. The method takes the following parameters:
config (object) - an object with the following properties:
Common settings:
Chart-specific settings:
The method returns the ID of the newly added view.
Removes views from Spreadsheet. It takes the following parameter:
To get a view you can use the get() method. It takes the following parameter:
The method returns the view instance.
The method returns the configuration object of the specified view.
To update a view you can use the update() method. It takes the following parameters:
The method sets the focus on a specified external view.