Skip to content

charton API


charton API / @chart-on/ui / index / createNavigator

Function: createNavigator() ​

createNavigator(host, chart, options?): NavigatorHandle

Defined in: ui/src/navigator.ts:59

An overview strip: a miniature line of the whole history with a window over the visible part. Drag the window to pan and its edges to zoom, or click the strip to centre the window there; the arrow keys do the same. The chart follows through setVisibleTimeRange(from, to, false), and the window follows pans, zooms and data changes from anywhere else.

Parameters ​

host ​

HTMLElement

chart ​

Chart

options? ​

NavigatorOptions = {}

Returns ​

NavigatorHandle