You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/04/03 14:41:42 UTC

[GitHub] [incubator-echarts] denisdnl opened a new issue #12379: DataSet with items(arrays) of different lengths/size.

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12379: DataSet with items(arrays) of different lengths/size.

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12379: DataSet with items(arrays) of different lengths/size.
URL: https://github.com/apache/incubator-echarts/issues/12379#issuecomment-608471564
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org