Page 1 of 1

left axes

Posted: Tue Jan 09, 2007 2:47 pm
by 9345070
Hi guys,

I have two left axes. One is custom, the other one the standard left one. I have it all set up nicely. However, the left axis is supposed to be next of the second left one. I can position the axes just fine, but the chart panel is not being "extended" or the canvas are where the data is being drawn is not made smaller. Thus, I can only see one axis, the other one if always scrolled off the visible area of the chart panel.

Any ideas? And yes, I looked at the axes demos :-)

Posted: Tue Jan 09, 2007 2:53 pm
by 9343260
I'm working a lot with customaxes, maybe I can help you; but i'm not sure i understand your problem well. Can you put an image showing the problem ?

Posted: Tue Jan 09, 2007 2:56 pm
by 9345070
Yes.

Look at
Image

You see that the left axis, which has position -10% is off the panel. How can I make TChart extend the panel or make the white area with the data smaller?

Posted: Tue Jan 09, 2007 3:27 pm
by narcis
Hi TSool,

Try something like this:

Code: Select all

  Chart1.MarginUnits:=muPercent;
  Chart1.MarginLeft:=10;

Posted: Tue Jan 09, 2007 4:13 pm
by 9345070
that was it. thanks.