DragPoint.Cursor not showing

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SICO
Newbie
Newbie
Posts: 2
Joined: Wed Nov 24, 2004 5:00 am
Contact:

DragPoint.Cursor not showing

Post by SICO » Mon Apr 18, 2016 12:41 pm

Hallo everybody,

I am using the following code to be able to drag Point in my lines:

Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line();
line1.FillSampleValues();
Steema.TeeChart.Tools.DragPoint dragPoint1 = new Steema.TeeChart.Tools.DragPoint();
tChart1.Tools.Add(dragPoint1);
dragPoint1.Cursor = System.Windows.Forms.Cursors.Cross;
dragPoint1.Series = line1;
line1.Color = Color.Red;
tChart1.Series.Add(line1);

Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line();
line2.FillSampleValues();
Steema.TeeChart.Tools.DragPoint dragPoint2 = new Steema.TeeChart.Tools.DragPoint();
tChart1.Tools.Add(dragPoint2);
dragPoint2.Cursor = System.Windows.Forms.Cursors.Cross;
dragPoint2.Series = line2;
line2.Color = Color.Green;
tChart1.Series.Add(line2);

The Problem is that the Cursor property only works on the first line! I tried all combination and changed orders and so on... Always on the first line the curosr works. The second line keeps the usual arrow Cursor as the rest of Windows.
I already found out that the order of adding the DragPoints is decidive, not the order of the lines themselves!
How can I have the cross Cursor appear on all lines??? I even believe in my very first try it worked, but I cannot reproduce that.


Thank you very much in advance!

SICO
Newbie
Newbie
Posts: 2
Joined: Wed Nov 24, 2004 5:00 am
Contact:

Re: DragPoint.Cursor not showing

Post by SICO » Wed Apr 20, 2016 8:06 am

HAAAAAAALLOOOO STEEEEEEEEEEEMAAAAAAAAAAAA
Is there no more Support? or just not about bugs...
:(

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: DragPoint.Cursor not showing

Post by Narcís » Wed Apr 20, 2016 8:36 am

Hi SICO,

Apologies for the delayed reply.

This works fine for me here using our current TeeChart for .NET sources, as can bee seen in the video attached. You may expect this being fixed in the next maintenance release due out at the beginning of the next month.
Attachments
2016-04-20_10-32-58.zip
(94.3 KiB) Downloaded 883 times
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply