filip-707 opened a new issue, #21408:
URL: https://github.com/apache/echarts/issues/21408

   ### Version
   
   5.x, 6.0.0
   
   ### Link to Minimal Reproduction
   
   https://jsfiddle.net/us36p2Lk/1/
   
   ### Steps to Reproduce
   
   see [https://jsfiddle.net/us36p2Lk/1/](https://jsfiddle.net/us36p2Lk/1/) (or 
attacheded bug-report.html file)
   
   see empty chart. all y-axis are ok
   
   notice y-axis on the right 'axis_300', it is the second y-axis on the right
   its min and max are set to 300, which is fine
   
   at bottom of chart, there is a listbox, 
   you can choose a signal to be added (it add 1 or more series to chart)
   
   when a serie is added, the 'axis_300' min/max becomes -100/100
   it happens to be left y-axis (axis_100) min/max
   if you add signal C which is linked to 'axis_300', data is displayed 
accordinging to y-axis wrong value.
   
   when zoom is applied (using mouse scroll, or programmatically), y-axis 
'axis_300' min/max are restored to 300.
   
   the code which add series to chart, does not modify option.y-axis.
   
   i expect y-axis 'axis_300' to remaing to min/max 300. 
   
   Why does it take y-axis[0] min/max temporarily is a mystery.
   
   ### Current Behavior
   
   when a serie is added, the 'axis_300' min/max becomes -100/100, but min/max 
are set to -300/300 respectively
   
   when zoom is applied (using mouse scroll, or programmatically), y-axis 
'axis_300' min/max are restored to 300.
   
   ### Expected Behavior
   
   the code which add series to chart, does not modify option.y-axis.
   
   i expect y-axis 'axis_300' to remaing to min/max 300.
   
   ### Environment
   
   ```markdown
   - OS: windows 11
   - Browser: Edge 142.0.3595.94 & Chrome 142.0.7444.176
   - Framework: pure html + css
   
   Html + css generated to simplify debugging, problem observed in a more 
complex environment.
   ```
   
   ### Any additional comments?
   
   I can see that it happens only to right y-axis 'axis_300' which min/max are 
greater than left y-axis min/max (-100/100).
     
   Also, when zoom is applied, echart corrects the problem automatically, which 
means the underlying min/max is set correctly.


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