Readonly scaleSubscribe to onDispose event.
This event is triggered whenever the object is disposed.
A component can only be disposed by the end user, by calling the dispose method on the component or the component which owns it.
// Example usage
Dashboard.onDispose(() => {
console.log('Dashboard was disposed')
})
Dashboard.dispose()
Token of subscription
Handler function for event
Set auto-fit strategy of Cursor. Affects logic of automatic fitting of Cursors ResultTable to the screen.
Object itself for fluent interface
Optional autoFitStrategy: AutoFitStrategyFactory<ResultTableBackgroundType>AutoFitStrategy factory or undefined to disable auto-fitting
Set style of x gridstroke
Object itself for fluent interface
LineStyle object
Set lineStyle of y gridstroke
Object itself for fluent interface
LineStyle object
Mutator function for Cursors PointMarker. PointMarker is a visual that is displayed at the Cursors position
Object itself for fluent interface
Mutator function for PointMarker
Mutator function for Cursors ResultTable. ResultTable is a visual that displays currently pointed data next to its location
Object itself for fluent interface
Mutator function for ResultTable
Mutator function for x tick marker. Applies function to current tick marker if it exists and for any newly created tick marker in order of adding.
Object itself
Method can't currently be implemented in a clean way so its usage currently will consume unneeded memory. It's repeating usage should be avoided for now.
Mutator function for TickMarker
Mutator function for y tick marker. Applies function to current tick marker if it exists and for any newly created tick marker in order of adding.
Object itself
Method can't currently be implemented in a clean way so its usage currently will consume unneeded memory. It's repeating usage should be avoided for now.
Mutator function for TickMarker
Configure whether tick markers allocate space on Axis or not. Defaults to false to prevent cursor visibility from changing chart layout.
Object itself.
Boolean.
Permanently destroy the component.
To fully allow Garbage-Collection to free the resources used by the component, make sure to remove any references to the component and its children in application code.
Returns
Object itself for fluent interface