MarksTip and NearestPoint adding issue

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Quant
Advanced
Posts: 142
Joined: Tue Dec 30, 2014 12:00 am

MarksTip and NearestPoint adding issue

Post by Quant » Mon Jan 18, 2016 11:24 am

Hi
I added single MarksTip and NearestPoint tools in my chart programmatically. It is added twice when I saw it from Tchart Editor window.
I used following code

Code: Select all

            Candle newSeries = new Candle();
            newSeries.FillSampleValues();
            Steema.TeeChart.Tools.MarksTip marksTip1 = new Steema.TeeChart.Tools.MarksTip();
            Steema.TeeChart.Tools.NearestPoint nearestPoint1 = new Steema.TeeChart.Tools.NearestPoint();
            tChart1.Series.Add(newSeries);
            tChart1.Tools.Add(marksTip1);
            tChart1.Tools.Add(nearestPoint1);
1.PNG
1.PNG (21.4 KiB) Viewed 7377 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: MarksTip and NearestPoint adding issue

Post by Christopher » Tue Jan 19, 2016 10:15 am

Quant wrote: I added single MarksTip and NearestPoint tools in my chart programmatically. It is added twice when I saw it from Tchart Editor window.
Using the same code and the latest public version of TeeChart, I obtain the following:
editor_tools.PNG
editor_tools.PNG (8.6 KiB) Viewed 7384 times
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply