thehale commented on issue #19589:
URL: https://github.com/apache/echarts/issues/19589#issuecomment-1928445341

   > > > If you want to color weekends, try _markArea_.
   > > 
   > > 
   > > I did try that, but performance plummeted for larger datasets (e.g. 
marking all the weekends in a chart with multiple years of data), while 
`splitArea` stayed snappy (though wrong).
   > 
   > Then try _markLine_ - it is snappy and accurate, but the width is fixed 
(non-responsive) 
   
   Thanks for the demo! 
   
   While `markLine` initially looks promising, the non-responsiveness is a big 
downside. In particular, when zooming in, the small line starts to look like a 
second bar instead of a background highlight. I'll experiment to see if I can 
design a wrapper which re-renders the graph on zoom to get the responsiveness I 
would need for my use case.
   
   That said, the viability (or not) of `markLine` as workaround doesn't change 
the unexpected behavior of `splitArea.interval`.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to