charton API / @chart-on/vue / shell / ChartShellProps
Interface: ChartShellProps
Defined in: shell.ts:51
The props of <ChartShell>, for apps that build them in code.
Extends
Properties
dataSource?
optionaldataSource?:DataSource|null
Defined in: sync.ts:28
Where bars come from. Changing it attaches the new source and loads symbol again; null detaches it. Like every prop, leaving it out or setting it to undefined leaves the chart as it is. The chart needs the dataSource() plugin in options.plugins (or builtins()); without it the source is not attached and development builds warn once (data-source-missing).
Inherited from
features?
optionalfeatures?:Partial<ShellFeatures>
Defined in: shell.ts:54
interval?
optionalinterval?:Interval
Defined in: sync.ts:31
Inherited from
on?
optionalon?:ChartEventHandlers
Defined in: shell.ts:56
options?
optionaloptions?:ChartOptionsPatch
Defined in: sync.ts:19
Chart options. Given to the chart when it is created, then applied with applyOptions whenever they change, including changes made inside a reactive object. Plain data in them is compared by value, so an object literal written in the template does not apply again on every render. Functions, dates and class instances are compared by identity: a formatter written inline in the template is new on every render and applies the options again each time, so define callbacks once in the script.
Inherited from
palette?
optionalpalette?:ShellPalette
Defined in: shell.ts:53
shellOn?
optionalshellOn?:ShellEventHandlers
Defined in: shell.ts:57
shellOptions?
optionalshellOptions?:ShellCreationOptions
Defined in: shell.ts:55
symbol?
optionalsymbol?:string
Defined in: sync.ts:30
Symbol to load from dataSource; loads once both it and interval are set.
Inherited from
theme?
optionaltheme?:ShellTheme
Defined in: shell.ts:52