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
AutoScaling Y-axis when date-axis scale changes
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Rogier,
You could have a look at the "Realtime charting" example available in the TeeChart features demo.
This example how to implement automatic axis range scaling.
The demo can be found in the TeeChart program group. Run the demo and search for "axis scaling".
You could have a look at the "Realtime charting" example available in the TeeChart features demo.
This example how to implement automatic axis range scaling.
The demo can be found in the TeeChart program group. Run the demo and search for "axis scaling".
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |