Type interface
Chart template specification for creating templates to be passed in the IConfig.templates
.
The templates are displayed to the end-user on the "Home" screen of the Editor.
Fields of ITemplate are used to both display template selectors and instantiate a new chart (ITemplate.config
).
Inheritance
ITemplate does not extend any other symbol.
ITemplate is not extended by any other symbol.
Properties
config # |
Type Chart configuration for the template. This object-style (JSON-type) chart configuration will be used to instantiate a new chart in the editor. Make sure to supply initial sample data so that a chart is show to the user when this configuration loads. |
---|---|
description # |
Type Additional template discription. |
displayName # |
Type Name displayed in the template list. |
id # |
Type Internal template ID (should be unique) |
previewSrc # |
Type Preview image displayed in the template list. Bundled template previews are 600x400 pixels in size. |