hiding visible points in runtime created Bezier series

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

hiding visible points in runtime created Bezier series

Post by seagul » Tue Mar 01, 2016 4:35 am

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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: hiding visible points in runtime created Bezier series

Post by Yeray » Tue Mar 01, 2016 3:40 pm

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;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply