Millimeter Paper background

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rr
Newbie
Newbie
Posts: 1
Joined: Tue Jan 15, 2008 12:00 am

Millimeter Paper background

Post by rr » Thu Mar 20, 2008 11:35 am

Hi,

How to create a chart with a millimeter paper background?

Thanks, Ronald

Like Image

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Mar 20, 2008 12:31 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply