Home > @visualization-tools/cartesian-2d > populateCartesian2dTraceBindings
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;
| Parameter | Type | Description |
|---|---|---|
| entity | TTrace2dBindingsTrait & IDataTrait<ICartesian2dTraceEntityConnector<TTypedArray>> |
Returns:
void