dileepyelleti opened a new issue #10592: Echarts - Dynamic multi line chart 
based on Json data
URL: https://github.com/apache/incubator-echarts/issues/10592
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   I am trying to plot time line chart with multiple lines (number of lines is 
dynamic based on Json data). I am getting Json data as mentioned. I would like 
to have each line plotted for each product. Is it possible with current data 
structure? If not how should I convert data so that echarts supports.
   
   [
   {date: "2019-05-21 00:00:00 UTC", value: 100, product: 'p1'},
   {date: "2019-05-21 00:00:00 UTC", value: 50, product: 'p2'},
   {date: "2019-05-19 00:00:00 UTC", value: 200, product: 'p3'},
   {date: "2019-05-18 00:00:00 UTC", value: 70, product: 'p1'},
   {date: "2019-05-18 00:00:00 UTC", value: 125, product: 'p2'},
   {date: "2019-05-18 00:00:00 UTC", value: 55, product: 'p3'}
   ]
   
   ### What is expected?
    
   
   ### What is actually happening?
   
   <!-- 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]

Reply via email to