wangzhongITger edited a comment on issue #10116: 移动端我的y轴数据值有null值,然后在开启tooltip提示框的情况下点击在null的时候图表会闪烁,有时就没了再点又有了,有知道该怎么解决的么? URL: https://github.com/apache/incubator-echarts/issues/10116#issuecomment-473809832 @Ovilia > 这个例子在网页中也没法正常显示。在https://gallery.echartsjs.com/editor.html 创建一个确保能运行的吧~ option = { tooltip: { trigger: "axis", axisPointer: { type: "cross" }, textStyle: { color: "#000" }, backgroundColor: "rgba(245, 245, 245, 0.8)", borderWidth: 1, padding: 10, borderColor: "#ccc", }, grid: { top: 30, bottom: 70, left: 60, right: 50 }, xAxis: { type: "category", boundaryGap: false, splitLine: { show: false }, nameTextStyle: { color: "#ffff00" }, }, yAxis: { nameLocation: 'end', type: "value", axisLine: { show: false }, splitLine: { show: false, lineStyle: { type: "dotted", color: "#e6e6e6", width: 1 } } }, dataZoom: [{ type: "slider", show: true, xAxisIndex: [0], start: 1, end: 100 }], series: { name: "测试值", type: "line", smooth: true, data: [ [1, 100], [2, 120], [3, 130], [4, 120], [5, null], [6, null], [7, null], [8, 100], [9, 120] ], symbol: "none", } }; 编好了,这个在web上是没问题的,但是小程序上显示就会出现问题,我们的项目属性监测是一个很长时间段的监测,所以中间是肯定会出现null这样的断点的,现在就是显示这些断点后再小程序的页面时进行点击,图表会消失,也会点击再次出现,没法像连续数据以及,web上这样正常显示
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
