TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
TSool
- Newbie

- Posts: 10
- Joined: Tue Jan 24, 2006 12:00 am
Post
by TSool » Tue Jan 09, 2007 2:47 pm
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

-
bertrod
- Advanced
- Posts: 151
- Joined: Wed Sep 07, 2005 4:00 am
Post
by bertrod » Tue Jan 09, 2007 2:53 pm
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 ?
-
TSool
- Newbie

- Posts: 10
- Joined: Tue Jan 24, 2006 12:00 am
Post
by TSool » Tue Jan 09, 2007 2:56 pm
Yes.
Look at
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?
-
Narcís
- Site Admin

- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
-
Contact:
Post
by Narcís » Tue Jan 09, 2007 3:27 pm
Hi TSool,
Try something like this:
Code: Select all
Chart1.MarginUnits:=muPercent;
Chart1.MarginLeft:=10;
-
TSool
- Newbie

- Posts: 10
- Joined: Tue Jan 24, 2006 12:00 am
Post
by TSool » Tue Jan 09, 2007 4:13 pm
that was it. thanks.