How Do I Remove Gap between axis and data?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Paul Saxton
Newbie
Newbie
Posts: 6
Joined: Tue Nov 04, 2003 5:00 am
Location: UK

How Do I Remove Gap between axis and data?

Post by Paul Saxton » Wed Dec 10, 2003 4:12 pm

Hello

I have posted another image onto the attachments newsgroup with another problem.

There is a gap between the Y axes and the start and end of my 2 series on the chart.

I think I changed something to do this but I cant remember what!

Also the image shows the issue I have had for a while now and am awaiting a response about where a bar is not starting from 0, its starting from 1

Cheers

Paul

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Re: How Do I Remove Gap between axis and data?

Post by Marjan » Thu Dec 11, 2003 6:42 am

8441616 wrote:Hello
I think I changed something to do this but I cant remember what!
Aha, so you are using TBarSeries :) I thin the solution to this particular problem is to set bar series SideMargins property to False. You can do it at design time via editor or at runtime with:

Code: Select all

barSeries1.SideMargins := False;
Marjan Slatinek,
http://www.steema.com

Post Reply