IConfig
Type interface
Editor configuration.
Sources
IConfig is an interface: it describes a shape of data and is not imported on its own.
Properties
allowDefaultTemplatesType
booleanIf set to
truebundled Editor templates will be displayed.Otherwise, only template supplied through the launcher are available.
chartConfigType
objectObject-style (JSON) chart configuration for editing.
Leave unset when creating a new chart or set to an existing configuration for editing.
You can also pass the configuration via the argument to the
EditorLauncher.launch()method.editorLicenseType
stringEditor license key
enabledModulesType
ModuleType[]Enabled Editor modules.
List editor modules that should be accessible to the user.
Supported values
'home' | 'design' | 'data' | 'code'engineConfigType
IEngineConfigConfiguration for amCharts 4 engine (am4core).
You can set amCharts themes and license numbers via this property.
languageType
ITranslationPackTranslation prompts.
presetDataType
IPresetDataData to use in place of template data when creating a new chart.
Set this to your dataset when you want users to create charts based on your existing data.
templatesType
ITemplateGroup[]Available chart templates.
If set these templates will be presented to the user on the Home screen of the Editor.
Set
allowDefaultTemplatestotrueto display built-in (bundled) templates instead.