charton API / @chart-on/ui / index / intervals
Function: intervals()
intervals(
list,options?):ToolbarItemLayout&ToolbarItemWatch&ToolbarItemText&object|ToolbarItemLayout&ToolbarItemWatch&ToolbarItemText&object
Defined in: ui/src/toolbar-presets.ts:79
Interval switcher in the context group. It follows the interval the data source loaded (interval:change), including a fallback to the nearest supported one. Charts fed with setData pass their own onChange.
Trade and volume intervals (100T, 5000V) sit under their own "Ticks" and "Volume" headings in the menu form. On a chart with a data source they show only while the current symbol lists them in its intervals.
Parameters
list
readonly Interval[]
options?
Returns
ToolbarItemLayout & ToolbarItemWatch & ToolbarItemText & object
ToolbarItemLayout & ToolbarItemWatch & ToolbarItemText & object