charton API / @chart-on/ui / index / createBottomBar
Function: createBottomBar()
createBottomBar(
host,chart,input?):ToolbarHandle
Defined in: ui/src/bottombar.ts:480
A bar along the bottom of the chart, appended to host. It takes items as the toolbar does (goToDate, clock, timezoneMenu, scaleMode and the other presets, or any toolbar item), or BottomBarOptions for defaultBottomBarItems. Popups and tooltips in it open upwards.
Parameters
host
HTMLElement
chart
input?
BottomBarInput = {}
Returns
Example
ts
createBottomBar(el, chart, [goToDate(), clock(), scaleMode()]);