visualization-tools

Home > @visualization-tools/core > Plot

Plot class

Basic drawing unit to which entities and behaviors can be attached.

Signature:

export declare class Plot<TPlotRange extends IPlotRange, TRequiredTraits> implements IPlot<TPlotRange, TRequiredTraits> 

Implements: IPlot<TPlotRange, TRequiredTraits>

Constructors

Constructor Modifiers Description
(constructor)(arg)   Constructs a new instance of the Plot class

Properties

Property Modifiers Type Description
attachPoint   IGraphAttachPoint  
changeIdFactory   IIdentifierFactory  
chartEventService   IEventService  
eventService   IEventService  
interactionHandler   IPlotInteractionConnector<TPlotRange> | null  
onCanvasResized   () => void  
plotDimensionsOBL   IPlotDimensions  
plotDimensionsOTL   IPlotDimensions  
plotName   string | null  
plotRange   TPlotRange  
updateStrategy   IPlotUpdateStrategy<IEntityGroup<unknown, TRequiredTraits>>  

Methods

Method Modifiers Description
addEntity(entity)    
addToGroup(entity, group, options)    
clearInteractionHandler()    
getChartEventService(plot) static  
getEntitiesInGroup(trait)    
getInteractionHandler()    
removeEntity(entity)    
removeFromGroup(entity, group)    
setInteractionHandler(interactionHandler, getTargetProviders, initialStateProvider)    
setPlotArea(plotClipSpaceArea)