Page 1 of 1

Change cursor on mouse over maker

Posted: Wed Mar 08, 2017 7:23 pm
by lokesh
Hi,
I tried to set the cursor to HSplit on mouse over SeriesEventMarker using MouseOverOn event. And it does set the cursor to HSplit on mouse over "on", but for some reason reset it back to the default cursor when I move the cursor further towards the centre of the marker. Is there some property that I am not setting properly?
I was expecting the cursor to be HSplit when mouse is over marker and which I was planning to reset in MouseOverOff handler.

Thanks.

Regards,
Lokesh

Re: Change cursor on mouse over maker

Posted: Thu Mar 09, 2017 2:01 pm
by ArctionKestutis
Hi Lokesh,

Please set AllowInternalMouseCursorChange to false, otherwise cursor will be internally overwritten.

Code: Select all

_chart.Options.AllowInternalMouseCursorChange = false;
_chart.Cursor = MouseCursors.HSplit;
All the best,
Kestutis