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

   @mchvip 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] conflict between axisTick.customValues ​​and axisLabel.formatter
   
   **BODY**
   
   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   none
   
   ### Steps to Reproduce
   
   1. Create a chart
   2. Configure axisTick.customValues
   `
   axisTick: {
   alignWithLabel: true,
   customValues: [10, 100, 1000, 10000, 100000, 1000000]
   },
   `
   
![1731312507168](https://github.com/user-attachments/assets/693abe99-52da-4dd9-856b-bf4e1787fc87)
   
   3. Configure axisLabel.formatter
   `
   axisLabel: {
   showMinLabel: true,
   showMaxLabel: true,
   formatter: function (value) {
   return Number(value).toExponential(0)
   }
   },
   `
   
![1731312540167](https://github.com/user-attachments/assets/215068fa-5a48-4a1c-b17b-487a9bf9af46)
   
   
   ### Current Behavior
   
   Before axisLabel.formatter is set, the display can be based on the value set 
by axisTick.customValues. After axisLabel.formatter is set, the display cannot 
be based on the value set by axisTick.customValues.
   
   ### Expected Behavior
   
   Regardless of whether axisLabel.formatter is set, it will be displayed based 
on the value set by axisTick.customValues.
   
   ### Environment
   
   ```markdown
   - OS: win10
   - Browser: chrome 130.0.6723.92
   - 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