visualization-tools

Home > @visualization-tools/core > ChartComponent

ChartComponent class

Root component. Orchestrates updates and events.

Signature:

export declare class ChartComponent<TRenderer extends TUnknownRenderer> extends AOnDestroy implements IChartComponent<TRenderer> 

Extends: AOnDestroy

Implements: IChartComponent<TRenderer>

Constructors

Constructor Modifiers Description
(constructor)(attachPoint, renderer, eventService, config, contextAdapter, frameProvider)   Constructs a new instance of the ChartComponent class

Properties

Property Modifiers Type Description
attachPoint   IGraphAttachPoint  
changeIdFactory   IIdentifierFactory  
contextAdapter   IContextAdapter<unknown>  
contextLost   boolean  
eventService   IEventService  
frameProvider   FrameProvider  
plotCollection   DirtyCheckedUniqueCollection<IReadonlyPlot<IPlotRange, unknown>>  
renderer   TRenderer  
updateOptions   IChartUpdateOptions  

Methods

Method Modifiers Description
addPlot(plot)    
cancelNextFrame()    
getPlots()    
getTransformProvider(transformsToInitialize, missIsDebugError)    
removePlot(plot)    
resize()    
updateImmediate(plot)    
updateInteractionHandlers(plot)    
updateOnNextFrame(plot, updateInteractionHandler)