Lumagrid
    Preparing search index...

    Function thresholdScale

    • Creates a threshold-based color mapper. Values below thresholds[0] → colors[0], etc.

      Parameters

      • thresholds: number[]
      • colors: string[]

      Returns (value: number) => string