Selection Tool Error message

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
DaveR
Newbie
Newbie
Posts: 23
Joined: Tue Feb 07, 2012 12:00 am

Selection Tool Error message

Post by DaveR » Wed Feb 08, 2012 2:36 pm

I have my application set up so it will trap unhandled errors, log them, and then send the error message back to me. I have seen this particular error message come through from client systems, but never knew exactly what was generating it. Yesterday I had it happen to me so now I have an idea where inside TeeChart it is coming from.

This is from a TeeChart loaded with a CandleSeries chart, a Volume series, and probably some other series like the CLVFunction. If I add a selector tool to the chart and then simply move my mouse across the screen this error can be thrown. It happens very infrequently, but it does pop up sometimes.

NEGATING THE MINIMUM VALUE OF A TWOS COMPLEMENT NUMBER IS INVALID.

AT SYSTEM.MATH.ABSHELPER(INT32 VALUE)
AT STEEMA.TEECHART.STYLES.CUSTOMPOINT.CLICKEDPOINTER(INT32 VALUEINDEX INT32 TMPX INT32 TMPY INT32 X INT32 Y)
AT STEEMA.TEECHART.STYLES.CUSTOMPOINT.CLICKED(INT32 X INT32 Y)
AT STEEMA.TEECHART.STYLES.CUSTOM.CLICKED(INT32 X INT32 Y)
AT STEEMA.TEECHART.STYLES.SERIES.CHECKMOUSE(CURSOR& C INT32 X INT32 Y)
AT STEEMA.TEECHART.CHART.CHECKMOUSESERIES(CURSOR& C INT32 X INT32 Y)
AT STEEMA.TEECHART.CHART.DOMOUSEMOVE(INT32 X INT32 Y CURSOR& C)
AT STEEMA.TEECHART.TCHART.ONMOUSEMOVE(MOUSEEVENTARGS E)
AT SYSTEM.WINDOWS.FORMS.CONTROL.WMMOUSEMOVE(MESSAGE& M)
AT SYSTEM.WINDOWS.FORMS.CONTROL.WNDPROC(MESSAGE& M)
AT SYSTEM.WINDOWS.FORMS.CONTROL.CONTROLNATIVEWINDOW.ONMESSAGE(MESSAGE& M)
AT SYSTEM.WINDOWS.FORMS.CONTROL.CONTROLNATIVEWINDOW.WNDPROC(MESSAGE& M)
AT SYSTEM.WINDOWS.FORMS.NATIVEWINDOW.CALLBACK(INTPTR HWND INT32 MSG INTPTR WPARAM INTPTR LPARAM)


Another error I see very often with the CLVFunction also has to do with the selection tool. Sometimes if I put up the CLVFunction, add the Selector Tool and then click on the CLVFunction line, the chart turns into a white background with a big red X through it. This happens late in the day when there are apt to be null points in the chart, meaning time has gone by with no new data being added to the chart. Anyway, it might be good to look into that function and see where a null value will cause it to fail. (I wish I could create one with data that would blow, but I am not sure that I can.)

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Selection Tool Error message

Post by Sandra » Thu Feb 09, 2012 5:11 pm

Hello DaveR,

I couldn't reproduce it here. Can you send us a simple project, because we can reproduce your problem here?

Thanks,
Best Regards,
Sandra Pazos / 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