visualization-tools

Home > @visualization-tools/core > IChartComponent

IChartComponent interface

Root component. Orchestrates updates and events.

Signature:

export interface IChartComponent<TRenderer extends TUnknownRenderer> 

Properties

Property Type Description
attachPoint IGraphAttachPoint  
changeIdFactory IIdentifierFactory  
eventService IEventService  
renderer TRenderer  

Methods

Method Description
addPlot(plot)  
cancelNextFrame()  
getPlots()  
getTransformProvider(transformsToInitialize, missIsDebugError) Subsequent calls will return the same object.
removePlot(plot)  
resize() By default resize is performed on every draw, this can be disabled and controlled manually.
updateImmediate(plot) Does not update interaction handlers.
updateInteractionHandlers(plot)  
updateOnNextFrame(plot, updateInteractionHandler) Interaction handlers will be updated after a timeout defined in IChartConfig.updateOptions.