Vertical Grid lines in middle of bar

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Vertical Grid lines in middle of bar

Post by Metman » Wed Apr 17, 2013 8:29 am

Hi

Is there any way that I can get the vertical Grid lines exactly in the middle of a 3D bar series?

I have the bar width set to 100% and despite trying a bar offset of either 50% or -50% the bar refuses to align with the ticks and the grid. I want the date in the label and the tick to appear exactly in the middle of the bar rather at the extreme left-hand side. I suppose I could add 0.5 to the TDateTime value when I set the X position but I'm sure that's what the offset property should allow.

Bruce.

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

Re: Vertical Grid lines in middle of bar

Post by Yeray » Wed Apr 17, 2013 1:33 pm

Hi Bruce,

I get the grid lines centred as in the image below. What are you getting?
2013-04-17_1532.png
2013-04-17_1532.png (168.18 KiB) Viewed 4193 times
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
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

Post Reply