apache / apache/echarts

[Bug] Positions of minor ticks of log axis are not correct

Open
#20,851 0 comments 0 reactions 0 assignees View on GitHub
bug en pending
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/zh/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyANsFa8_LAAthDQnHIQ9ADWBEh42sAA7gRgHEoOQaHhHCYgPhBgADJh3u4epAnJRGlKjhWZ6I2weFRGVISwokHlHkJgIl0ATFQArDywQwB0ABxjEwAsUwBs87DLUwtrM1Mj45Nrq6PW9R4U1HQF0MpBdiS2dgDcQA

### Steps to Reproduce

Create a line chart with log axis, with min at 1e5 and max at 1e6.

### Current Behavior

minor ticks locate at around `2.8e5, 4.6e5, 6.4e5, 8.2e5`

### Expected Behavior

IMO they should locate at `2e5, 4e5, 6e5, 8e5`

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.