Page 1 of 1

Programmatically accessing TSurfaceSeries border

Posted: Wed May 31, 2017 12:54 pm
by 16479009
Hi,

I would like to switch the Border's visible value of a TSurfaceSeries programmatically. I can't find the property to access it. Can someone tell me what it is please?

Re: Programmatically accessing TSurfaceSeries border

Posted: Wed May 31, 2017 2:36 pm
by 10050769
Hello Sharpenski,

To enable/unenable the TSurfaceSeries Border you should change the value of Pen property. The code below shows you how:

Code: Select all

procedure TForm3.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(10);
Series1.Pen.Visible := false;
end; 
Hoping this helps you.
Thanks in advance