这个是Net MSChart的一个溢出异常,我就是在运行时点击了下这个控件

AngryCode 2010-12-15 02:56:15
谁知道这个是为什么啊啊啊啊啊啊。。。。。。。。。。。很是崩溃,我什么操作都没有执行。。
ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArithmeticException: Overflow or underflow in the arithmetic operation.
at System.Windows.Forms.DataVisualization.Charting.AxisScrollBar.GetDataViewPercentage()
at System.Windows.Forms.DataVisualization.Charting.AxisScrollBar.get_IsVisible()
at System.Windows.Forms.DataVisualization.Charting.AxisScrollBar.ScrollBar_MouseDown(Object sender, MouseEventArgs e)
at System.Windows.Forms.DataVisualization.Charting.Chart.OnChartMouseDown(MouseEventArgs e)
at System.Windows.Forms.DataVisualization.Charting.Chart.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
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, In
...全文
124 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
AngryCode 2010-12-15
  • 打赏
  • 举报
回复
就在刚刚我搞定了。。。。我新起了一个线程,来操作我那个DLL的函数。。。具体为什么造成那个状况,不得而知。。。
AngryCode 2010-12-15
  • 打赏
  • 举报
回复
是这样子的,我调用了另外一个DLL,处理了某些操作,这个DLL 也是第三方库,但是它绝对和MSchart没有半点关系,然后我再单击MSchart控件,就会出现这么个异常。我是想问,是不是MSChart在初始化的时候是我少设置了属性,才导致的。这两天莫名其妙的事发生的太多了。
anbin0814 2010-12-15
  • 打赏
  • 举报
回复
貌似没见过这样的问题,运行就出现这样的异常?
AngryCode 2010-12-15
  • 打赏
  • 举报
回复
还是没人回答,我再顶

4,820

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧