DataHub API
The API of DataHub
dataHub.chart
- Type:
Pane
- Related: Pane Object
A pane that contains the main overlay.
dataHub.offchart
- Type:
Pane []
- Related: Pane Object
An array of non-main panes.
dataHub.mainOv
- Type:
Overlay
- Related: Overlay Object
The main overlay object.
dataHub.mainPaneId
- Type:
number
- Related: Overlay Object
Id of the main pane.
datHub.panes()
- Type:
function
- Returns
Pane []
- Related: Pane Object
Returns all active panes of the chart.
dataHub.overlay(paneId, ovId)
- Type:
function
- Arguments
paneId
:number
Pane idovId
:number
Overlay id
- Returns
Overlay
- Related: Overlay Object
Returns an overlay by specific Pane id and Overlay id.
datHub.ovData(paneId, ovId)
- Type:
function
- Arguments
paneId
:number
Pane idovId
:number
Overlay id
- Returns
Array
- Related: Overlay Object
Return the data of a specific overlay.
datHub.allOverlays()
- Type:
function
- Returns
Overlay []
- Related: Overlay Object
Return all overlays (from all panes)