left axes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TSool
Newbie
Newbie
Posts: 10
Joined: Tue Jan 24, 2006 12:00 am

left axes

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
Newbie
Posts: 10
Joined: Tue Jan 24, 2006 12:00 am

Post by TSool » Tue Jan 09, 2007 2:56 pm

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?

Narcís
Site Admin
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;
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

TSool
Newbie
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.

Post Reply