TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
Metman
- Advanced
- Posts: 113
- Joined: Fri Dec 21, 2007 12:00 am
Post
by Metman » Fri Dec 21, 2012 9:51 am
Hi
I know I can detect the maximum and minimum values of the bottom axis (or any axis) by using
But how do I find the visible max and min values and not the whole extent of the series?
Bruce.
-
Yeray
- Site Admin

- Posts: 9645
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri Dec 21, 2012 11:57 am
Hi Bruce,
I've made an example project to show you how to use FirstValueIndex and LastValueIndex to calculate the Minimum and Maximum values in the series.

- MinAndMax.png (26.24 KiB) Viewed 5761 times
-
Metman
- Advanced
- Posts: 113
- Joined: Fri Dec 21, 2007 12:00 am
Post
by Metman » Fri Dec 21, 2012 12:40 pm
Hi Yeray
That's very kind of you - have a great Christmas!
Bruce.
PS That's if today isn't the end of the world

-
Yeray
- Site Admin

- Posts: 9645
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri Dec 21, 2012 1:01 pm
Hi Bruce,
Have a nice one too! (Either Christmas or travel to the other world)
