Avena Webapp API - v0.0.1
    Preparing search index...

    Function applyAxisLimitInput

    • Checks a typed axis limit against the other limits.

      Any finite Y value is accepted, including 0, as long as Y Min stays below Y Max. The X window must be above 0.

      Parameters

      • current: AxisLimits

        Limits in use.

      • field: keyof AxisLimits

        Limit being edited.

      • text: string

        Text typed in the input.

      Returns AxisLimitResult

      The new limits, or an error message; on error the caller keeps current and shows its value in the input again.