visualization-tools

Home > @visualization-tools/cartesian-2d > populateCartesian2dTraceBindings

populateCartesian2dTraceBindings() function

Generates a typed array buffer of the entities current traces. Output structure is of the form [xMin, yMin, xMax, yMax] per trace, where min and max are the extrema of the data range being drawn. Vertical traces come first.

Signature:

export declare function populateCartesian2dTraceBindings(entity: TTrace2dBindingsTrait & IDataTrait<ICartesian2dTraceEntityConnector<TTypedArray>>): void;

Parameters

Parameter Type Description
entity TTrace2dBindingsTrait & IDataTrait<ICartesian2dTraceEntityConnector<TTypedArray>>  

Returns:

void