Page 1 of 1

Spacing BottomAxis Labels

Posted: Sun Mar 16, 2008 1:58 pm
by 9243846
I would like to space the bottom axis Labels mid-way between each of the vertical markers.

How would I approach this. I have the style of the axis set to talText and I can see there is a LabelsAlign value for the BottomAxis but I am unsure of the correct usage.

Best Wishes

Tony Hunt

Posted: Mon Mar 17, 2008 10:31 am
by yeray
Hi Tony,

We are not sure to understand what are you exactly trying to achieve. Could you please show it in a picture?

Thanks in advance

Posted: Mon Mar 17, 2008 10:41 am
by yeray
Hi Tony,

I forgot to tell you that you can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Posted: Mon Mar 17, 2008 11:37 am
by 9243846
Thanks. I have posted an entry in the newsgroup.

Best Wishes

Tony Hunt

Posted: Mon Mar 17, 2008 12:06 pm
by narcis
Hi Tony,

Thanks for the images. You can achieve what you request replacing ticks for minorticks:

Code: Select all

  With Chart1.Axes.Bottom do
  begin
    Ticks.Visible:=false;
    MinorTickCount:=1;
    MinorTicks.Width:=2;
    MinorTickLength:=5;
    MinorGrid.Visible:=true;
    Grid.Visible:=false;
    MinimumOffset:=20;
    MaximumOffset:=20;
  end;

  Chart1.Axes.Left.Grid.Style:=psSolid;