How to include three graphs in one chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
LordWhorfin
Newbie
Newbie
Posts: 24
Joined: Wed Feb 22, 2006 12:00 am
Location: Flagstaff, Arizona, USA

How to include three graphs in one chart

Post by LordWhorfin » Thu Jun 22, 2006 5:50 pm

I'm trying to TChart a chart with three scatter plots each with a seperate x-axis and sharing the same y-axis. In this case, soil moisture, temperature and light all plotted against time. So far, I haven't found an example in the turtorials which does this.

Here is a mock-up of what I want to do..

Image

cheers, Paul

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jun 23, 2006 7:58 am

Hi Paul,

This can be easily achieved usinc custom axes. For examples on how to achieve that please have a look at the following examples in the TeeChart features demo:
  • All Features\Welcome !\Axes\Opaque zones
    All Features\Welcome !\Axes\Permanent custom axes
    All Features\Welcome !\Axes\Scrolling multiple axes
It can also be helpful having a look at Tutorial4 - Axis Control for more information how to work with default and custom axes. You'll find the tutorials and features demo at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Michal Blazejczyk
Newbie
Newbie
Posts: 64
Joined: Fri Jun 16, 2006 12:00 am

Post by Michal Blazejczyk » Fri Jun 30, 2006 6:55 pm

Hi,

The problem with this trick is that it's quite unintuitive and, unfortunately, bug-ridden. Example: scrolling and zooming plots with multiple custom axes. Just try it with the "Scrolling multiple axes" example:
- zoom in on the plot
- scroll the view by dragging it with the right mouse button
- revert to original axis scale by dragging with the left mouse button towards top-left
You'll see that the plot goes crazy.

Another problem is that if you want to have separate grids for each axis, the grids will cover the entire plot area whoch makes them completely useless. You cans see this in the "Permanent custom axes" example.

I think that the lack of easy to use, scalable and independent subcharts is one of the most important missing features of TeeChart.

Best,
Michal Blazejczyk
Best,
Michal Blazejczyk
Lead Programmer
Genome Quebec

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jul 03, 2006 7:22 am

Hi Michal,
The problem with this trick is that it's quite unintuitive and, unfortunately, bug-ridden. Example: scrolling and zooming plots with multiple custom axes. Just try it with the "Scrolling multiple axes" example:
- zoom in on the plot
- scroll the view by dragging it with the right mouse button
- revert to original axis scale by dragging with the left mouse button towards top-left
You'll see that the plot goes crazy.
I can't reproduce this problem here using TeeChart for .NET v2 latest maintenance release. Can you please be more specific on what you mean with "the plot goes crazy"?
Another problem is that if you want to have separate grids for each axis, the grids will cover the entire plot area whoch makes them completely useless. You cans see this in the "Permanent custom axes" example.
This is a known issue already listed on our wish-list to be enhanced for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Michal Blazejczyk
Newbie
Newbie
Posts: 64
Joined: Fri Jun 16, 2006 12:00 am

Post by Michal Blazejczyk » Mon Jul 03, 2006 2:32 pm

I can't reproduce this problem here using TeeChart for .NET v2 latest maintenance release. Can you please be more specific on what you mean with "the plot goes crazy"?
Try zooming in in the middle of the chart and then scrolling down so that you see only the blue lines. Then reset the zoom. You should get something like this:

Image
Best,
Michal Blazejczyk
Lead Programmer
Genome Quebec

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jul 03, 2006 3:00 pm

Hi Michal,

Thanks for the information. Now I could reproduce the issue and added it (TF02011539) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply