denisdnl opened a new issue #12379: DataSet with items(arrays) of different lengths/size. URL: https://github.com/apache/incubator-echarts/issues/12379 ### Version 4.7.0 ### Reproduction link [https://jsfiddle.net/68cfhvjo/](https://jsfiddle.net/68cfhvjo/) ### Steps to reproduce If you set this config object: option = { xAxis: { }, yAxis: { }, series: [{ type:"line", encode: { x: "signalTime1", y: "signalTemperature1" } }, { type:"line", encode: { x: "signalTime2", y: "signalTemperature2" } } ], dataset: { source: { signalTime1: [1, 2, 3], signalTemperature1:[10, 20, 30], signalTime2: [1, 2, 3, 4, 5], signalTemperature2: [100, 200, 300, 400, 500] } } }; ### What is expected? I expect that on the first series all 3 points are visible, and on the second line all the 5 points are visible. Overall, on the X-Axis, it should start with 1 and go to 5, not only to the smalles number of x points of all series. ### What is actually happening? The minimum number of points(3) are visible for both lines. On the second line, the forth and the fifth points are just ignored. --- The result is the expected one if the code is changed to this: dataset: { source: { signalTime1: [1, 2, 3, null, null], signalTemperature1:[10, 20, 30, null, null], signalTime2: [1, 2, 3, 4, 5], signalTemperature2: [100, 200, 300, 400, 500] } (I forced the datasets to have the same size) <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. 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]
