Vertical Grid Lines go through custom Title/Subtitel

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
FMRC
Newbie
Newbie
Posts: 2
Joined: Thu Oct 18, 2012 12:00 am

Vertical Grid Lines go through custom Title/Subtitel

Post by FMRC » Wed Feb 06, 2013 10:06 pm

Hi,
I have a problem with my Title, Subtitle and the Bottom Axis Grid when I change the position of the Title and Subtitle to custom.
When the title and subtitle are positioned automatically the grid lines for the bottom axis will stop just below them.
As soon as I change the position of the title and subtitle, the grid lines go through they position as visible in the attached image.
Is there a way to control the length of the grid lines?
Attachments
graph.png
graph.png (12.4 KiB) Viewed 3572 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Vertical Grid Lines go through custom Title/Subtitel

Post by Yeray » Thu Feb 07, 2013 11:24 am

Hi,

When you change the title to use a custom position, the chart reserves no space for it. It should be done for you. Ie:

Code: Select all

  Chart1.MarginUnits:=muPixels;
  Chart1.MarginTop:=20;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

FMRC
Newbie
Newbie
Posts: 2
Joined: Thu Oct 18, 2012 12:00 am

Re: Vertical Grid Lines go through custom Title/Subtitel

Post by FMRC » Sat Feb 09, 2013 11:46 pm

It works perfectly!
Thank you very much for your help!
:)

Post Reply