Page 1 of 1

X-Axis alignment

Posted: Fri Jan 04, 2008 11:46 am
by 15046294
Best wishes for 2008.

I've two Teechart (V8) controls aligned above each other. The width of both controls is the same. Both the bottom axis are the same (scaled from 0%-100%). The Y-axis of the lower control is mostly scaled between 0% and 100% and the upper one is scaled variable (scale can run form 0.5 to 0.6 but also from -1000 to 1000). Because of this variable scaling the width of the x-axis is changed :( .

My goal is to that both bottom axis are/stay exactly aligned under each other under alle circumstances (upper 0% aligned with the lower 0% and the upper 100% aligned with the lower 100%). Can this be done :?:

TIA,

Jack

Posted: Fri Jan 04, 2008 12:13 pm
by narcis
Hi Jack,

You can do something as what was suggested in this TeeChart VCL thread.

Posted: Fri Jan 04, 2008 1:21 pm
by 15046294
OK, got it working.

Thanks,

Jack