stephencheng opened a new issue #14913:
URL: https://github.com/apache/echarts/issues/14913


   ### Version
   5.1.1
   
   ### Steps to reproduce
   mydata=[
             ['Mon', 150, 15],
             ['Tue',230, 223],
             ['Wed', 224, 124],
             ['Thu',218, 118],
             ['Fri',135, 155] ,
             ['Sat', 147, 47],
             ['Sun', 260, 160]
           ]
   
      var myChart = echarts.init(document.getElementById('main'));
   
         // specify chart configuration item and data
         option = {
           xAxis: {
             type: 'category',
           },
           yAxis: {
             type: 'value'
           },
   
           dataset: {
             source: mydata
           },
   
           series: [
             {
               type: 'line',
               encode: {
                 x:0,
                 y:1
               }
             },
   
             {
               encode: {
                 x:0,
                 y:2
               },
               type: 'line'
             },
           ]
         };
   
   With above data, it could render the chart with one xAxis with two lines, 
each has 7 data points, I am just wondering how to cope with the case that
   
   series_line1=
   [
             ['Mon', 150],
             ['Tue',230],
             ['Thu',218],
             ['Fri',135,] ,
             ['Sun', 260]
           ]
   
   series_line2=
   [
             ['Mon', 15],
             ['Wes', 124],
             ['Thu',118],
             ['Sat',47] ,
             ['Sun', 160]
           ]
   
   ### What is expected?
   In this case, one line is missing a few data points. I am hoping that 
Echarts is smart enough to support kind of auto "merging" process so that the 
xAxis still shows Mon to Sun, but all the data points are connected for both 
line1 and line2, is this supported and how to configure ?
   
   ### What is actually happening?
   If I manually makes Null value, it will be disconnected for the data points, 
also I do not like to manually fill in the missing Null value of the data point
   
   ---
   Not sure how relevant is from this issue: 
https://github.com/apache/echarts/issues/9220, but I am  hoping there is such 
feature
   
   <!-- 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:
us...@infra.apache.org



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

Reply via email to