Page 1 of 1

Query related to cursor tool annotation visibility setting.

Posted: Wed Jul 01, 2020 4:06 pm
by 9526439
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

Re: Query related to cursor tool annotation visibility setting.

Posted: Mon Jul 06, 2020 9:27 am
by yeray
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