You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@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. 🤗
TRANSLATED
TITLE
[Bug] conflict between axisTick.customValues and axisLabel.formatter
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.
Version
5.5.1
Link to Minimal Reproduction
无
Steps to Reproduce
1、建立图表
2、配置axisTick.customValues
axisTick: { alignWithLabel: true, customValues: [10, 100, 1000, 10000, 100000, 1000000] },
3、配置axisLabel.formatter
axisLabel: { showMinLabel: true, showMaxLabel: true, formatter: function (value) { return Number(value).toExponential(0) } },
Current Behavior
未设置axisLabel.formatter之前,可以根据axisTick.customValues设置的值进行展示,设置了axisLabel.formatter,无法根据根据axisTick.customValues设置的值进行展示
Expected Behavior
无论是否设置axisLabel.formatter,都根据axisTick.customValues设置的值进行展示
Environment
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: