marcomaisel opened a new issue #16739:
URL: https://github.com/apache/echarts/issues/16739


   ### Version
   
   5.3.1
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/bh6rayzs/1/
   
   ### Steps to Reproduce
   
   - Create a chart with two stacked series of type 'line' with an xAxis of 
type 'time'
   - One of the series has data with some '0' values so that the stacked line 
is on the same yAxis level as the other serie's line.
   - The series have areaStyles and transparent lines
   
   ### Current Behavior
   
   At a wide zoom level, you can see the serie's line, which is stacked on top 
of the other serie's line and has data with some '0' values, sticking out 
behind the other line. If you zoom in further, it disappears and everything is 
displayed correctly.
   
   Current behaviour on wider zoom levels. There is a lot of red although most 
of its series data value is '0':
   ![area-simple 
(1)](https://user-images.githubusercontent.com/9500139/159865060-4dc3d6ec-8ee0-4a2c-a01e-b2c1def26d13.png)
   
   If you scroll in a bit you can see how it actually should look like:
   
![area-simple](https://user-images.githubusercontent.com/9500139/159865096-16927418-b55e-4213-a131-bbd6f6fa5038.png)
   
   
   
   
   ### Expected Behavior
   
   The stacked serie's line should only be displayed on top of the other 
serie's line if it has data with values other than '0'. The data should be 
displayed correctly on all zoom levels.
   
   ### Environment
   
   ```markdown
   - OS: macOS Monterey
   - Browser: Chrome 99, Firefox 97
   ```
   
   
   ### Any additional comments?
   
   The app shows data for every minute for a whole day with the possibility to 
zoom via a datazoom.


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