Hi - I've decided to change the behaviour of automatic axis ranges and the autoExtend option.

I think the current behaviour is confusing. What I've done is to remove the autoExtend and autoExtendZero settings. I've added an autoRange option.

If min and/or max for an axis is specified, the axis will use this value for the minimum and/or maximum, exactly, rather than rounding to the nearest tick by default.

If an end is not specified, then the behaviour depends on the autoRange setting:

'tick-next': round up to next major tick, if sensible (default)
'exact': use data range exactly
'+2%': use data range, extending axis to 2% below and/or above this data range
'+5%', '+15%', '+20%': similar to 2%, but larger

Of course this changes behaviour in a non-compatible way, which I've tried to avoid doing. If the autoExtend setting is set in a document, this is converted to setting autoRange to 'exact'. The autoExtendZero option is now ignored.

Any opinions?

Jeremy

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à