AutoScaling Y-axis when date-axis scale changes
Posted: Thu Mar 17, 2005 4:06 pm
Hello,
If you look at the following chart, you'll see a plain series
and two average series.
These two average series calculate the average of the
plain series over a period of 50 and 100 days.
The date axis starts at 18/01/05 and ends at 18/03/05.
As you can see, the averages start at the same value as
the plain series does. Altough this is correct I'd rather have
the averages calculated on 50 or 100 values before
18/01/05.
In the next picture you can see the result when I added more
values before 18/01/05 and then set the date axis to only show
the values from 18/01/05 to 18/03/05.
This looks quite ok, but if you look at the Y-Axis the scale is
now from 320 to 380. Is there any way I can automatically
scale this Y-axis so that the series are shown over the full
height of the image ?
Rogier
If you look at the following chart, you'll see a plain series
and two average series.
These two average series calculate the average of the
plain series over a period of 50 and 100 days.
The date axis starts at 18/01/05 and ends at 18/03/05.
As you can see, the averages start at the same value as
the plain series does. Altough this is correct I'd rather have
the averages calculated on 50 or 100 values before
18/01/05.
In the next picture you can see the result when I added more
values before 18/01/05 and then set the date axis to only show
the values from 18/01/05 to 18/03/05.
This looks quite ok, but if you look at the Y-Axis the scale is
now from 320 to 380. Is there any way I can automatically
scale this Y-axis so that the series are shown over the full
height of the image ?
Rogier