Auto-range for NumberAxis


#1

hi,

when I create new Axis I set range for it like this:

new NumberAxis(new NumberRange(0, 1000));

Is it possible to set some kind of auto-range? Like unlimit. To avoid to set it directly to 1000 or some other number.


#2

Hi mobdevinc,

By default, when you add data to your chart without setting a default range on an Axis, it’s displayed range should change to accommodate all of the points.

Kind regards,

Patrick