3 graphs in one panel
Posted: Tue Aug 05, 2008 8:41 am
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!
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!