SkyblueWZZQ opened a new issue #10034: xAxis.data 传入一个长度只有1的数组时,控制台报错 URL: https://github.com/apache/incubator-echarts/issues/10034 ### Version 4.1.0-release ### Steps to reproduce 在这个官方示例中( https://echarts.baidu.com/examples/editor.html?c=line-aqi ),将function里面的data重新定义为 data = [ [ '2019-03-02' , 123 ] ] ,然后运行,控制台报错 ### What is expected? 绘制一个点 ### What is actually happening? 控制台报错,并且没有绘制任何内容 --- 起初我在想,是不是data必须传入length大于1的数据,因为最少两个点才能绘制一条线,但是业务需要显示一个点时,echarts该如何满足,求指教 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
---------------------------------------------------------------- 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]
