helgasoft commented on issue #20420: URL: https://github.com/apache/echarts/issues/20420#issuecomment-2412006704
> markArea should be scaled at the same rate as the barchart itself, so marked areas are always shown behind the same bars. Agree. I added the **bug** to the list in #20392. Strong suspicion that markArea visibility is **related to visibility of xAxis labels**. For instance 'yellow' shows up only with axis labels 5 to 7(6+1), 'red' - with labels 2 to 5(4+1), etc. Workaround is to **color bars** instead of markArea - [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=MYewdgzgLgBGCuBbARgUwE4HkBmAFEAlmFBDALwwCMATAAwDcAUKJLAB4CCbBEAIgIZR-5GB3Tp-ATwB02dCEQAKAN4wANqjABzKAAsAXHCRoseQsVIBfADQxFAN35r4qW0QAmqNgEpyAPhgPL28mFmgYCTB3BQEhEU5uPkF-aUR-AAdFNn8YAFlBXWlI6KVfACo7SgBWWhgAWhg6XwBqRtoQxndkkQBtAF0mYpjk1IzFLOsCXzIA5UYYGC6haXT4CF0VR2dUfTY3KFREAGUoSQ1DZVA1EHR9eYXAgB4yShgAfhgAci10VE1PmCGAjPAAs7y-v3cAKBzwAbODPpJUGprgB3aFPMh0BHIbYY4FYqoIn5_MD454ADgpOLxgK-Pykn3ulksHVZjBA6SgBHAIjmCygIBAam56Qu9wF6AIWi0GEMn34iU-1glMEVPHwRAOtxg_IeC34YAIaW54EM2CcEFQqsszJVCyW_AAWkLEPplDZ7oLhcgQGxxfrsKhBPBfgH9Ytki6FOGIzBJFweABJKJeeVgcCoJlxz1x37QG47XW5iMQfj2VAcCBJtKyi62_UNmAl9UQTXEOW61VqIgAa0MPVVCz1cYSydT_q-TjU2YjTYWfTt9zHEFjMFO6SLn2AglQWhukmVqsdhhXsX4S4WCcS9ftMCtUtQq5gg_1I4ejusAHov4YhohzzvfUNy3ZB-HQWcFibRdLHoIA&random=ijkr0n6dyg&version=5.5.1&renderer=svg).  -- 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]
