Page 1 of 1

Just draw the series without "Box/Lines" around it

Posted: Tue Nov 21, 2017 12:39 pm
by 16579927
Hello ,

I have a most probably easy to answer question.
For a certain purpose I need just the drawing of the (red) Series/Line, without any (black) Box/Lines around it.
How can I get rid of the black rectangle (or the individual lines, top, bottom, left and right) ?
ScanUntitled.png
ScanUntitled.png (8.39 KiB) Viewed 5379 times
Thanks and best regards

Re: Just draw the series without "Box/Lines" around it

Posted: Wed Nov 22, 2017 9:36 am
by yeray
Hello,

You can hide Legend, Title, Walls and Axes. Ie:

Code: Select all

uses Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=False;
  Chart1.Legend.Visible:=False;
  Chart1.Title.Visible:=False;
  Chart1.Walls.Visible:=False;
  Chart1.Axes.Visible:=False;
  Chart1.Gradient.Visible:=False;
  Chart1.Color:=clWhite;

  Chart1.AddSeries(TLineSeries).FillSampleValues;
end;