A factory producing the Ampersand views corresponding to the different chart types.
- Source:
Example
var factory = require('./view-factory')
var view = factory.newView(options);
Members
(static) widgets
An Ampersand collection containing all available widgets
- Source:
Methods
(static) newView(options) → {View}
Create a new Ampersand view for a widget
Parameters:
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
Object | passed on to the view constructor, see https://github.com/AmpersandJS/ampersand-view#constructor-new-ampersandviewoptions Properties
|
- Source:
Returns:
view - An Ampersand view
- Type
- View