ahmadalibaloch opened a new issue #9220: Echart should have presentation options for null values in trends or line charts URL: https://github.com/apache/incubator-echarts/issues/9220 ### One-line summary [问题简述] Echarts shoud have options for null value presentation. At the moment (echart v4.2.0.rc1), Echart only supports show or hide option using series.connectNulls boolean, if set to true it will connect through null value point to its next and previous points. If it is set to false it will show this part of chart hidden or empty. ### Version & Environment [版本及环境] ECharts version [ECharts version]: v4.2.0.rc Browser version [browser type and version]: Chrome 69, but probably doesn't matter OS Version [operating system type and version]: Ubuntu but probably doesn't matter ### Expected behaviour [期望结果] 1. It should at least allow us to `connectNulls` differently then the traditional line. Because it is very important to differentiate in many applications that there is actually no data and this connection represents a missing value. **The `connectNulls` line could be dashed ----- or dotted or any new ideas to represent missing data.** Something like `{connectNulls:'dashed'}` or `{connectNulls:'dotted'}` 2. `ConnectNulls` option should also work in time axis type by detecting automatically that at certain time there is no data point available in the source or array of data points. ### ECharts option [ECharts配置项] ``` option = { xAxis: { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] }, yAxis: { type: 'value' }, series: [{ data: [820, 932, null, 934, 1290, 1330, 1320], type: 'line', connectNulls:false, // this will show empty area between 932 and 934 output below }] }; ``` ### Other comments [其他信息] 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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]
