Page 1 of 1

Millimeter Paper background

Posted: Thu Mar 20, 2008 11:35 am
by 10548017
Hi,

How to create a chart with a millimeter paper background?

Thanks, Ronald

Like Image

Posted: Thu Mar 20, 2008 12:31 pm
by narcis
Hi Roland,

Yes, you can achieve what you request doing this:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.FillSampleValues(10);

  Chart1.View3D:=false;

  With Chart1.Axes do
  begin
    Left.Grid.Style := psSolid;
    Left.Grid.Color := clBlack;
    Left.MinorTickCount := 9;
    Left.MinorGrid.Visible := true;
    Left.MinorGrid.Style := psSolid;
    Left.MinorGrid.Color := clGray;

    Bottom.Grid.Style := psSolid;
    Bottom.Grid.Color := clBlack;
    Bottom.MinorTickCount := 9;
    Bottom.MinorGrid.Visible := true;
    Bottom.MinorGrid.Style := psSolid;
    Bottom.MinorGrid.Color := clGray;
  end;
end;
You may also be interested in making axes isometric as shown in the All Features\Welcome!\Axes\Isometric Axis example at the features demo, available at TeeChart's program group.