Skip to main content

PaneManager

PaneManager API

PaneManager.addBounds
PaneManager.addBounds(uuid: string, order: number): Unsubscriber

Parameters
uuid: string
order: number
Returns
Unsubscriber
PaneManager.addResizer
PaneManager.addResizer(uuid: string): BarResizerComponent

Adds a resizer to the canvas bounds container for the given uuid.

Parameters
uuid: string
- The uuid of the pane to which the resizer is to be added.
Returns
BarResizerComponent
PaneManager.getPaneIfHit
PaneManager.getPaneIfHit(point: Point): PaneComponent

Returns the pane component that contains the given point.

Parameters
point: Point
- The point to check.
Returns
PaneComponent
PaneManager.createPane
PaneManager.createPane(uuid: string, options: AtLeastOne<YExtentCreationOptions, keyof YExtentCreationOptions>): PaneComponent

Creates sub-plot on the chart with y-axis

Parameters
uuid: string
options: AtLeastOne<YExtentCreationOptions, keyof YExtentCreationOptions>
Returns
PaneComponent
PaneManager.movePaneUp
PaneManager.movePaneUp(uuid: string): void

Moves the canvas bounds container up by calling the movePaneUp method with the uuid of the current object.

Parameters
uuid: string
Returns
void
PaneManager.movePaneDown
PaneManager.movePaneDown(uuid: string): void

Moves the canvas bounds container down by calling the movePaneDown method with the uuid of the current object.

Parameters
uuid: string
Returns
void
PaneManager.canMovePaneUp
PaneManager.canMovePaneUp(uuid: string): boolean

Checks if the current pane can move up.

Parameters
uuid: string
Returns
boolean
PaneManager.canMovePaneDown
PaneManager.canMovePaneDown(uuid: string): boolean

Checks if the current pane can move down.

Parameters
uuid: string
Returns
boolean
PaneManager.removePane
PaneManager.removePane(uuid: string): void

Removes pane from the chart and all related components

Parameters
uuid: string
Returns
void
PaneManager.hidePane
PaneManager.hidePane(paneUUID: string): void

Hides a pane from the chart and all related components

Parameters
paneUUID: string
Returns
void
PaneManager.showPane
PaneManager.showPane(paneUUID: string): void

Shows a pane, use if the pane is hidden

Parameters
paneUUID: string
Returns
void
PaneManager.moveDataSeriesToPane
PaneManager.moveDataSeriesToPane(dataSeries: DataSeriesModel<DataSeriesPoint, VisualSeriesPoint, DataSeriesConfig>[], initialPane: PaneComponent, initialExtent: YExtentComponent, options: MoveDataSeriesToPaneOptions): void

Move data series to a certain pane, or create a new one if no pane is found

Parameters
dataSeries: DataSeriesModel<DataSeriesPoint, VisualSeriesPoint, DataSeriesConfig>[]
initialPane: PaneComponent
initialExtent: YExtentComponent
options: MoveDataSeriesToPaneOptions
Returns
void
PaneManager.addCursors
PaneManager.addCursors(uuid: string, cursor: string): () => void

Adds cursors to the chart elements based on the provided uuid and cursor type.

Parameters
uuid: string
- The unique identifier for the chart element.
cursor: string
- The type of cursor to be added to the chart element.
Returns
() => void
PaneManager.recalculateState
PaneManager.recalculateState(): void

Recalculates the zoom Y of all pane components and fires a draw event on the event bus.

Returns
void
;