Page 1 of 1

Proportinal (or scale) n charts

Posted: Fri Dec 16, 2005 10:39 am
by 9238669
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?

Posted: Fri Dec 16, 2005 11:02 am
by narcis
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.

Posted: Fri Dec 16, 2005 1:44 pm
by 9238669
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