Fields and methods of the helma.Chart prototype
To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/helma/Chart.js')
To use this optional module, its repository needs to be added to the application, for example by calling app.addRepository('modules/helma/Chart.js')
Creates a new instance of helma.Chart
parameters
String | fpath | The path to the spreadsheet file |
String | prefix | An optional prefix to use for all stylesheet classes within the rendered table |
String | sheetName | The name of the sheet within the spreadsheet file to render. If this argument is omitted, the first sheet is rendered. |
methods
- render()
Methods
Renders the Excel spreadsheet as XHTML table.
Returns the spreadsheet as rendered XHTML table.
returns
The rendered spreadsheet table |
A simple example for using helma.Chart that renders
the passed file as XHTML table to response.
parameters
String | file | The path to the Excel spreadsheet file |