在折线图的数据中插入了null数据,再调用showToolTip函数就会报错。
14:59:49.987 null is not an object (evaluating 'calPoints[0][i].x');at pages/health/health page __e function 14:59:49.987 findCurrentIndex
我也出现这个问题了,数据数组中有null,导致无法显示tip
设置''值,会渲染一个无数据空点,就不会有这个问题,但是会多显示出来一个无用点
Sign in to comment