fitTo function
Layout positions stretched into `plot`, element px; a flat axis stays in the middle.
import { fitTo } from '@dioramajs/data/graph'function fitTo(raw: Float64Array, plot: Rect): Float32ArrayParameters
| Name | Type | Description |
|---|---|---|
raw | Float64Array | |
plot | Rect |
Defined in packages/data/src/graph.ts.