@jsfkit/types
    Preparing search index...

    Type Alias ChartScaleDomain

    ChartScaleDomain: { data: string; field: string } | { values: ChartValue[] }

    The values that a scale covers: either the values of a field, or an explicit list.

    Type Declaration

    • { data: string; field: string }
      • data: string

        The dataset or transform that holds the field, named by its id.

      • field: string

        The field whose values the scale covers.

    • { values: ChartValue[] }
      • values: ChartValue[]

        The values that the scale covers, in order.