dileepyelleti commented on issue #10592: Problem with dynamic multi line chart 
based on Json data
URL: 
https://github.com/apache/incubator-echarts/issues/10592#issuecomment-500550437
 
 
   @Ovilia 
   As per dataset documentation I need to convert above data to below format to 
plot in line chart for different products with time on x axis
   dataset = {
   dimensions: ['date', 'p1Value', 'p2Value', 'p3Value']
   [
   {date: "2019-05-21 00:00:00 UTC", p1Value: 100, p2Value: 50},
   {date: "2019-05-19 00:00:00 UTC", p3Value: 200},
   {date: "2019-05-18 00:00:00 UTC", p1value: 70, p2Value: 125, p3Value: 55}
   ]
   }
   
   But problem is data is dynamic and there might not be value for all products 
at particular time (19th only p3 has data). So for such nodes tooltip is 
showing remaining values as empty. Ideally it should not show empty values if 
there is no point on line chart.
   Ex: If p3Value is turned off from legend and there is no point on remaining 
lines at 2019-05-19. But by hovering it is showing tooltip at 2019-05-19 with 
empty values.
   
   
   

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