[Bug]An unintended "0" data label is displayed alongside the value of the last bar in the bar chart when a logarithmic scale is applied to the Y-axis.
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.6.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmurAM4AWwA7oWAE4CuApsQL4A0xAngIIAeEUoVQlYAL0IAmTqLBcQTQgHJswAOZKZJUmACGdMADVd2ZoQAMAOgCMnNlr79Bw4ugmxprjPMWwlAY10wJjVgOi5Ne2JSJjoIJiFYAG0vEVFvBWUAI31I9NhoXQBbXyUAYWAGaDA89IATIN1CJNsPdlgAFnaAZi7YAE5-8wB2HoBWdonO9utzGYBdO3ycujKgkLCuAHFdAj9zAFJa0WxdLKZsF3z0CmpaRiYl65BgUghIGGVMEGP0gDMYGAAMoQMS-WZedAcSGwU7nbAAGV0XEqYCu13IEDqTAA8gA3WKnPZ_EwxGGsLwU9CLYgNPQALSwRXRN0oNAwDyi6DUcTqLNgfEIADY5l4uJJCB0JmKpKLRHwJbBrNLRFkwti6AB1LFgcgWNgoVgAbiAA
### Steps to Reproduce
1.Open the provided Minimal Reproduction link.
2.Observe that an extra data label, "0", is displayed under the value of the last bar of the bar chart (see the "Current Behavior" screenshot).
3.When hovering over the last bar on the chart, the "0" data label appears under the value of the second-to-last bar, and vice versa.
### Current Behavior

When the Y-axis is set to logarithmic scale (type: 'log') and the min or startValue is set to 0.1, an unwanted data label "0" is displayed alongside the value of the last bar.
Furthermore, when hovering over the last bar, the "0" data label appears under the second-to-last bar. Similarly, when hovering over the second-to-last bar, the "0" data label reappears under the last bar.
### Expected Behavior
The data label "0" should not appear beneath the last bar's value, regardless of the Y-axis type (logarithmic or linear) or the min or startValue settings. The data labels should accurately reflect the value of the corresponding bar. When hovering over any bar, the data label displayed should strictly correspond to the value of that specific bar, without affecting the labels of other bars.
### Environment
```markdown
- OS:macOS Sequoia
- Browser:Chrome 135.0.7049.42
- Framework:React@16.12.0
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.