Page 1 of 1

hiding visible points in runtime created Bezier series

Posted: Tue Mar 01, 2016 4:35 am
by 16477290
I can't find a way to hide the squares on each point of the additional series created at runtime
At design time you just un-click the 'visible' box in the chart editor, but I can not find any mention of points in the series or chart classes
can anyone help

Re: hiding visible points in runtime created Bezier series

Posted: Tue Mar 01, 2016 3:40 pm
by yeray
Hello,

I believe the property you are looking for is Pointer.Visible. Ie:

Code: Select all

var i: Integer;
begin
  for i:=0 to Chart1.SeriesCount-1 do
    if (Chart1[i] is TBezierSeries) then
      (Chart1[i] as TBezierSeries).Pointer.Visible:=false;