@jsfkit/types
    Preparing search index...

    Type Alias ChartScaleContinuous

    ChartScaleContinuous: ChartScaleBase & {
        logBase?: number;
        majorUnit?: number;
        max?: number;
        min?: number;
        minorUnit?: number;
        type: "linear" | "log";
    }

    A scale for continuous numbers, linear or logarithmic.

    Type Declaration

    • OptionallogBase?: number

      Base of a logarithmic scale.

      10
      
    • OptionalmajorUnit?: number

      Interval between major ticks and gridlines. When absent, the interval is automatic.

    • Optionalmax?: number

      Fixed maximum. When absent, the maximum is automatic.

    • Optionalmin?: number

      Fixed minimum. When absent, the minimum is automatic.

    • OptionalminorUnit?: number

      Interval between minor ticks and gridlines. When absent, the interval is automatic.

    • type: "linear" | "log"

      Whether values map to positions linearly, or logarithmically with base logBase.