Ovilia commented on issue #11526: Time axis chart is not plotting all series 
while using dataSet
URL: 
https://github.com/apache/incubator-echarts/issues/11526#issuecomment-548645108
 
 
   This is not a bug. The correct way to use is:
   
   ```js
   var option = {
       legend: {},
       tooltip: {},
       dataset: {
           source: [
               {date: '2017-10-31', 'first': 43.3, 'second': 85.8},
               {date: '2017-11-30', 'first': 83.1, 'second': 73.4},
               {date: '2017-12-31', 'first': 86.4, 'second': 65.2},
               {date: '2018-01-31', 'first': 72.4, 'second': 53.9}
           ]
       },
       xAxis: {type: 'time'}, // xAxis: {type: 'category'} works fine
       yAxis: {},
       series: [
           {
               type: 'line',
               dimensions: ['date', 'first']
           },
           {
               type: 'line',
               dimensions: ['date', 'second']
           }
       ],
       dataZoom: [{
           type: 'inside'
       }, {
       }],
   };
   ```

----------------------------------------------------------------
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]

Reply via email to