@jsfkit/types
    Preparing search index...

    Type Alias ChartScaleOrdinal

    ChartScaleOrdinal: ChartScaleBase & { range?: Color[]; type: "ordinal" }

    Maps discrete values to discrete outputs, such as series names to colors.

    Type Declaration

    • Optionalrange?: Color[]

      Explicit output colors. When absent, colors come from the theme accents.

    • type: "ordinal"

      Discrete values mapped to discrete outputs.