Function scaleIdentity

  • Constructs a new identity scale with the specified domain and range. If range is not specified, it defaults to [0, 1].

    The generic corresponds to the data type of the unknown value.

    Type Parameters

    • Unknown = never

    Parameters

    • Optional range: Iterable<NumberValue>

      Array of range values.

    Returns ScaleIdentity<Unknown>