viz.renderers.FeatureMapGridOptions
export interface FeatureMapGridOptions {
/** Colormap to use (default: 'viridis') */
colormap?: ColormapName;
/** Reverse the colormap direction */
reverse?: boolean;
/** Manual value range [min, max]. If not provided, auto-computed. */
range?: [number, number];
/** Number of columns in the grid. If not provided, auto-computed for square-ish layout. */
cols?: number;
/** Size of each cell in pixels (default: 64) */
cellSize?: number;
/** Padding between cells in pixels (default: 2) */
padding?: number;
/** Target to render to */
target?: RenderTarget;
}colormap(ColormapName)optional- – Colormap to use (default: 'viridis')
reverse(boolean)optional- – Reverse the colormap direction
range([number, number])optional- – Manual value range [min, max]. If not provided, auto-computed.
cols(number)optional- – Number of columns in the grid. If not provided, auto-computed for square-ish layout.
cellSize(number)optional- – Size of each cell in pixels (default: 64)
padding(number)optional- – Padding between cells in pixels (default: 2)
target(RenderTarget)optional- – Target to render to