Interface
MarkData
Columns of Mark.setData / append; all have the same length.
Properties
| Name | Type | Description |
|---|---|---|
x | Column | Numbers, UTC ms or category numbers (values for horizontal bars). |
y | Column | Values, |
y0? | Column | Lower edge of areas, start of bars. |
value? | Column | Values colored by the color scale (cells, bars, scatter). |
size? | Float32Array | number[] | Scatter diameters, CSS px. |
color? | (string | null)[] | Uint32Array | Per-point CSS colors ( |
step? | ('delta' | 'subtotal' | 'total')[] | |
label? | (string | null)[] | Per-point texts (scatter labels; replaces value texts). |
Declaration
export interface MarkData {
x: Column;
y: Column;
y0?: Column;
value?: Column;
size?: Float32Array | number[];
color?: (string | null)[] | Uint32Array;
step?: ('delta' | 'subtotal' | 'total')[];
label?: (string | null)[];
}