Page 1 of 1

Intensity grid throwing error on minimize

Posted: Mon Oct 01, 2018 7:32 pm
by greggorob64
Been a while!

I don't know how long this has been happening, but my chart is having the ChartError event fired every time I minimize my intensity grid window. My application puts my screen in an 'error mode' when an unknown error occurs, and this is causing a problem.

Why is it an error state when the window containing the intenstiy grid is minimized? Is this yet another error I should be ignoring? I'm having trouble finding what "real problems" are that I need to be logging, and when there's just unspecified "junk" that shows up. Any thoughts?

Thanks!

Re: Intensity grid throwing error on minimize

Posted: Tue Oct 02, 2018 10:04 am
by ArctionKestutis
Hi there!

There is very specific reason why this error is thrown. That is, if manual margins are set (ViewXY.AxisLayout.AutoAdjustMargins = false) and window size is just too small to have positive GraphArea, XY drawing is cancelled and error is raised. Personally I believe that 'Unspecified' ErrorType is too frightening here. Probably more appropriate would be to use 'Warning' or 'Information' ErrorType. We will discuss with the team and most likely will change in the future.
As for now, you just need to ignore this error (if reason is the one I described above).

P.S. error is not specific to Intensity grid, it is just about Window size not able to accommodate any graph area.

Hope this helps.