Soft limits, zero affinity, and hard limits

The precedence is hard > soft > zeroIf > pad. An omitted or null soft means no soft limit. There is no automatic soft zero. Both zeroIf and pad default to .1. The comparison charts use pad: .2 to make padding visible.

The first five charts share the same data: X values [0, 10] and initial Y values [5, 12]. The slider controls the second Y value. The first stays at 5. Cross -10 and 10 to compare soft limits with hard clipping. Move between 24 and 25 to see zeroIf: 0.25 activate.

12 25: zero-affinity threshold

The fifth chart combines soft limits at ±20 with hard limits at ±50 and uses tick-aware ranging (axis: 1). Try 12, 30, 45, and 60 to see the upper bound move from its soft limit to padded ticks, then stop at 50. Values greater than 50 are clipped. Try negative values to see the same progression at the lower bound.

The sixth chart is independent. It shows flat-zero data with soft limits at -1 and 1.

The last two charts share random values near 10, with a data span of about 2e-7. They compare flat: 1e-7 with flat: 1e-9. Both use 20% padding. The slider does not change these charts. Reload the page for another random sample.