3 graphs in one panel

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Remeha
Newbie
Newbie
Posts: 21
Joined: Thu Jun 05, 2008 12:00 am
Contact:

3 graphs in one panel

Post by Remeha » 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!

Christopher
Site Admin
Site Admin
Posts: 1349
Joined: Thu Jan 01, 1970 12:00 am
Location: Riudellots de la Selva, Catalonia
Contact:

Re: 3 graphs in one panel

Post by Christopher » Tue Aug 05, 2008 8:52 am

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
Thank you!

Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/

Remeha
Newbie
Newbie
Posts: 21
Joined: Thu Jun 05, 2008 12:00 am
Contact:

Re: 3 graphs in one panel

Post by Remeha » Tue Aug 05, 2008 11:06 am

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

Post Reply