Page 1 of 1

3 graphs in one panel

Posted: Tue Aug 05, 2008 8:41 am
by 15049271
Hi,

I am currently working on an application that uses TeeChart for .Net. The application has to show a window with 3 graphs placed vertically one above the other with a little room in between. At run-time, lines will be added to all the graphs and the lines will continue to get new values every second or so.

What i have so far is one Chart control that contains 3 y-axes on the left side. The axes have some room between each other so that it will seem like there are 3 different graphs. All the axes have the same minimum and maximum value range: from 0 to 100. I can now create a line and set its CustomVertAxis property with (for example) the top-most y-axis. The problem i have rightnow is this: if this new line ever gets a y-value below 0, it will show in the graph below. What i want is to make the lines appear only in their own graph. How do i do this? Am i even on the right track? I have seen it work that way in an application using TeeChart v7 for MFC, so i was hoping that i am...

Thank you for your time!

Re: 3 graphs in one panel

Posted: Tue Aug 05, 2008 8:52 am
by Chris
Hello Remeha,
Remeha wrote:What i want is to make the lines appear only in their own graph. How do i do this? Am i even on the right track? I have seen it work that way in an application using TeeChart v7 for MFC, so i was hoping that i am...
I think you are. I believe there's an example of what you're looking for in the Feature Demo under the following node:
What's New?\Welcome !\Axes\Opaque zones

Re: 3 graphs in one panel

Posted: Tue Aug 05, 2008 11:06 am
by 15049271
It works! I had not discovered that extra pane of demo's in the demonstration app from Steema (oops). Thank you very much, this has saved me lots of headaches :D