Proportinal (or scale) n charts

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SessionBase
Newbie
Newbie
Posts: 4
Joined: Fri Sep 30, 2005 4:00 am
Contact:

Proportinal (or scale) n charts

Post by SessionBase » Fri Dec 16, 2005 10:39 am

Hello!

I have some problem with "synchronize" two charts.
I want to set proportinal (or scale) on charts, but i don't know how.

Image

On the picture u can see the fragment of my charts. The first chart
has 32 data (from 2005.01.01 to 2005.03.01). The second chart has 52
data (from 2005.01.01 to 2005.03.01).

Is there any way to set chart to "show" diagram in proportional?

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 Dec 16, 2005 11:02 am

Hi SessionBase,

I don't know what are you exactly looking for but maybe using TChart.Axes.Bottom.SetMinMax and TChart.Axes.Bottom.Increment methods will help you.

You'll find an example on how to use that with DateTime values at TeeChart features demo, available at TeeChart's program group. The example is "All Features\Welcome!\Chart Styles\Standard\Gantt\Mouse dragging". Please notice that source code for those examples is available.
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

SessionBase
Newbie
Newbie
Posts: 4
Joined: Fri Sep 30, 2005 4:00 am
Contact:

Post by SessionBase » Fri Dec 16, 2005 1:44 pm

Hello Narcís!

Thank you for quick answer. I found examples, but i found another way to solve my problem also.

I use only one chart, and use more customaxis.

Ps. Sorry my poor english :oops:, but my native language is pascal. :D

Post Reply