You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/03/24 08:28:29 UTC
[GitHub] [echarts] marcomaisel opened a new issue #16739: [Bug] Stacked line with areaStyle is displayed despite data having 0 values
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':

If you scroll in a bit you can see how it actually should look like:

### 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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org