Interface IMapAbleDesc

interface IMapAbleDesc {
    color?: string;
    colorMapping?: string | ITypedDump | ((v) => string);
    domain?: [number, number];
    map?: ITypedDump;
    range?: [number, number];
}

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

dump of mapping function

range?: [number, number]

Default

[0,1]