Viewer - Attribute Visualization
    Preparing search index...

    Interface INumberGradient

    interface INumberGradient {
        steps:
            | string
            | { colorAfter: string; colorBefore: string; value: number }[];
        type: "number";
        max?: number;
        min?: number;
    }

    Hierarchy

    • IGradient
      • INumberGradient
    Index

    Properties

    Properties

    steps: string | { colorAfter: string; colorBefore: string; value: number }[]

    The steps of the gradient or the gradient to be used ATTRIBUTE_VISUALIZATION.

    Type Declaration

    • string
    • { colorAfter: string; colorBefore: string; value: number }[]
      • colorAfter: string

        The color after the step

      • colorBefore: string

        The color before the step

      • value: number

        The value of the step

    type: "number"
    max?: number

    The maximum value of the gradient (default: the maximum value of the data)

    min?: number

    The minimum value of the gradient (default: the minimum value of the data)