Query related to cursor tool annotation visibility setting.

TeeChart for ActiveX, COM and ASP
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Query related to cursor tool annotation visibility setting.

Post by amol » Wed Jul 01, 2020 4:06 pm

Hi,
I am using Active X TChart 2018.
I am using cursor tool on tchart and want to show the annotation property but not able to find the option to set its visibility to true .Please guide.

Thanks,
Amol

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

Re: Query related to cursor tool annotation visibility setting.

Post by Yeray » Mon Jul 06, 2020 9:27 am

Hello,

You could do it as follows by code:

Code: Select all

  TChart1.Tools.Add tcCursor
  TChart1.Tools.Items(0).asTeeCursor.Style = cssVertical
  TChart1.Tools.Items(0).asTeeCursor.AxisAnnotation.Shape.Show
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