@jsfkit/types
    Preparing search index...

    Type Alias ChartScaleBand

    ChartScaleBand: ChartScaleBase & { auto?: boolean; type: "band" }

    Categories placed in bands, with bars or points centered in each band. This is Excel's "Between tick marks" axis position.

    Type Declaration

    • Optionalauto?: boolean

      Whether the scale type was chosen automatically from the data. This is Excel's "Automatically select based on data" axis type.

      The scale's type is always the type currently in effect, so a renderer uses it as it is. When auto is true, an application that changes the data chooses the type again: a time scale when the category values are dates, otherwise a band or point scale. When it's false, the type is fixed, like Excel's "Text axis" and "Date axis" choices.

      false
      
    • type: "band"

      Categories placed in bands.