newmana / chroma-elm / Chroma.Limits.Limits

Main interface to Limits.

Definition


type LimitMode
    = CkMeans
    | Equal
    | HeadTail
    | Jenks
    | Logarithmic
    | Quantile

TBD

limits : LimitMode -> Basics.Int -> List.Nonempty.Nonempty Basics.Float -> List.Nonempty.Nonempty Basics.Float

Create bins number of results using the given scale, except for CkMeans which can produce fewer bins.