用教材中的图表的mouseup代码,但当chart为空白(没有增加图系前),点击时会提示错误,
请问如何判断chart为空?
Chart.CoordToDataIndex(e.x, e.y ,s ,p)