Page 1 of 1

CustomHorizAxis ?

Posted: Sat Mar 18, 2006 1:00 am
by 9240636
I couldn't make CustomHorizAxis work ? (v7.06)
...using the same code as for CustomVertAxis

Even in the help the example for CustomHorizAxis is with CustomVertAxis ?

Any examples of CustomHorizAxis use?

Theo

Posted: Mon Mar 20, 2006 8:51 am
by narcis
Hi Theo,

It works fine here using v7.06, adding a custom axis at design-time, setting its position to horizontal and using:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.CustomHorizAxis:=Chart1.CustomAxes.Items[0];
  Chart1.CustomAxes.Items[0].Visible:=true;
end;