echarts-bot[bot] commented on issue #17208:
URL: https://github.com/apache/echarts/issues/17208#issuecomment-1153782274

   @SingleShadow It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] In the case of double y-axis data, setting the name attribute of the 
same name of the right Y-axis on the left Y-axis will cause the display style 
to be incorrect
   
   **BODY**
   
   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/singleshadow-the-animator/pen/MWQZOWb
   
   ### Steps to Reproduce
   
   options = {
     ...,
   yAxis: [
       {
         type: 'value',
         scale: true,
         name: '¥', //It is normal to add a space in front
         max: 100,
         min: 0,
         boundaryGap: [0.2, 0.2]
       },
       {
         type: 'value',
         scale: true,
         name: '¥',
         max: 1200,
         min: 0,
         alignTicks: true,
         boundaryGap: [0.2, 0.2]
       }
     ],
   ...
   }
   
   ### Current Behavior
   
   
![image](https://user-images.githubusercontent.com/18462822/173340147-c3ce9ba7-9f29-4e5e-b504-be9dd8d6acdd.png)
   
   After setting, as shown above
   
   ### Expected Behavior
   
   
![image](https://user-images.githubusercontent.com/18462822/173340369-7fcfb0f4-b75c-4a38-8fc9-58e65097fa61.png)
   
   The correct behavior should be like this, I use % in the project, and it is 
the same behavior, so it should have nothing to do with compliance,
   options = {
     ...,
   yAxis: [
       {
         type: 'value',
         scale: true,
         name: ' ¥', //It is normal to add a space in front
         max: 100,
         min: 0,
         boundaryGap: [0.2, 0.2]
       },
       {
         type: 'value',
         scale: true,
         name: '¥',
         max: 1200,
         min: 0,
         alignTicks: true,
         boundaryGap: [0.2, 0.2]
       }
     ],
   ...
   }
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser: Chrome 102.0.5005.61
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </details>


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