Scroll only one series ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Scroll only one series ?

Post by moelski » Wed Jan 09, 2008 1:36 pm

Hi !

Lets say you have two series and both use the bottom axis. Is it possible to scroll only one series?

Example:
Both series have x values from 0 to 100. After scrolling series1 is still at position 0..100 and series2 is at position 10..110 for example.

I know that there is an axis scroll, but this would scroll all series because they all use the bottom axis.

Any idea ?

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

Post by Narcís » Wed Jan 09, 2008 2:21 pm

Hi Dominik,

If both series share same axis that doesn't make much sense to me as in some way you'd be changing dragged series values. To drag an entire series you can do something like what I suggested here.
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

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Wed Jan 09, 2008 5:22 pm

Hi Narcis,

Code: Select all

that doesn't make much sense to me 
Let me explain how you can use this feature ...

If you have a radio controlled airplane with a data logger for altitude, then you can see the climbing speed (how fast you increase your altitude). If you have two measurements you will have not exact fitting series. So you can change the x position of the whole series to get the climbing parts on top of each other.

Hopefully you understand what I mean :)

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Wed Jan 09, 2008 10:56 pm

I do had some tasks where such feature could be useful, e.g for manual synchronizing two or more time series of simultaneous measurements, made by two different instruments having their own clocks (usually I shifted XValues for one of the examined series).
Imho, the simplest way to solve the problem in Dominik's definition could be use of invisible custom X-axis for one of the series.
However, it could be misleading for users, so I would suggest use of custom X-axis on the alternative side of Chart rectangle.
PS. Dominik, sorry if I didn't fully got your problem.
Regards, Alexander
=================
TeeChart Pro v8.05, Delphi 5 & Turbo Delphi Professional for Win32., Delphi & C++Builder 2009

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

Post by Narcís » Thu Jan 10, 2008 9:00 am

Hello,

What about using left and bottom axes for one series and top and right axes for the other. Setting all axes to automatic (default setting) might help you achieve what you request. Could you please try if this fits your needs?

Thanks in advance.
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

moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Post by moelski » Thu Jan 10, 2008 9:35 am

Hi !

Well the two series was only an example ...

I real there are a lot of more series. The minimum of series is about 5 or 6 !!

And I think it is not a good idea to use more then one bottom axis.
Is there no easy way to scroll only one series from a pool of series which all use the same horizontal axis ?

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

Post by Narcís » Thu Jan 10, 2008 9:41 am

Hi Dominik,

The only way I can think of is modifying series values to fit the other series. Could you please send us a simple example project we can run "as-is" and I'll try to show you how to achieve what you request?

Thanks in advance.
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