BenJackGill commented on issue #19275:
URL: https://github.com/apache/echarts/issues/19275#issuecomment-1797909207

   Thanks for the suggestion, but there are some problems with this solution:
   
   1. This is rounding all series, not just the top series.
   2. These bars are not stacked, they are layered. So in this case we have to 
add the values of all other series that are layered on top to get the correct 
effect. This extra data manipulation could be avoided if we had a new feature 
that directly addressed the issue.
   
   I'll probably use this workaround because it's the only workable solution 
I've seen but I still think the problem needs to be fixed.
   
   P.S. In your example I could not see the stacked bars unless I hover over 
the "2011" legend. I fixed that 
[here](https://echarts.apache.org/examples/en/editor.html?code=PYBwLglsB2AEC8sDeAoWsA2BTA5l6AJgFzIC-ANGrAB4CC1EAziUrAQIZjskDaA5ACEATuwBeEDH3Kw-ASUIwsjCOykyAqgGVafALqwKVAJ70mLQ-kZYhEJbyrpU6Z7GjsAtlhJ8ATAAYARh8pB2cwIxAvGQAjdiEQl3QOLl4AgA5_AGZpAIBOTJ8AVmkfXL9MgBZdSkTYCDAsd01w7BZYaOAhAmsAJXYCCABXZlgeAL8cidgpv31SUItnJ0S3T29_AICExPDI71j4msSDgHF2EG8AWnG_AFJtl2TuUYA2LJzMguLYPPKqo5c9UazSMrWQ7U63SEfQGw1SU3G0hmcwWAOQoXQqyivkCfgeYQi2IO-PQp3OVxu9zRSU4zx4FXesDSXxyWX-GLqDSaLSirA6XV6_SGIzGCJmSJRLnm6F0KFIAG4gA)
 by layering in the correct order.


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