Interface IBoxPlotDesc

interface IBoxPlotDesc {
    color?: string;
    colorMapping?: string | ITypedDump | ((v) => string);
    domain?: [number, number];
    filterAccuracy?: number;
    map?: ITypedDump;
    numberFormat?: string;
    range?: [number, number];
    showMinimumRepresentation?: boolean;
    sort?: ESortMethod;
}

Hierarchy (view full)

Properties

color?: string

Deprecated

use colorMapping instead

colorMapping?: string | ITypedDump | ((v) => string)

color mapping

Type declaration

    • (v): string
    • Parameters

      • v: number

      Returns string

domain?: [number, number]

either map or domain should be available

filterAccuracy?: number

The accuracy defines the deviation of values to the applied filter boundary. Use an accuracy closer to 0 for columns with smaller numbers (e.g., 1e-9).

Default

0.001

dump of mapping function

numberFormat?: string

d3 formatting option

Default

.3n
range?: [number, number]

Default

[0,1]
showMinimumRepresentation?: boolean

whether to render a representation of the minimum value as some visual glyph i.e. a bar with 1 px instead of 0 px

Default

false