justynabukiel opened a new issue #12023: Lags when using timeline with many (> 
100) items with SVG rendering
URL: https://github.com/apache/incubator-echarts/issues/12023
 
 
   ### What problem does this feature solve?
   When **renderer** is set to **svg** and there are many items in timeline, 
changing current timeline index lags. There's a visible delay, propably because 
of many symbols (<path> elements) are rendered in DOM.
   
   My usecase is a chart displaying values per weeks. One timeline item is a 
week and I have few hundereds of weeks. However there are weeks in which I 
don't have any data and I don't want to display them on timeline. Currentlu 
there's no possibility not to display them. The only walkaround that I've found 
is to set opacity = 0 for those items. But that doesn't solve the performance 
issue, because those items are still rendered in DOM as <path> elements, which 
causes lagging.
   
   ### What does the proposed API look like?
   In options:
   
       timeline: {
           data: [
               {
                   symbol: null
               }
           ]
       }
   
   This setting could omit rendering symbol on timeline in function 
_renderAxisTick() in timeline component.
   
   <!-- 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