You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/02/14 11:21:51 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #16504: [Bug] 对数轴存在0值时,坐标轴的最大值不对
echarts-bot[bot] commented on issue #16504:
URL: https://github.com/apache/echarts/issues/16504#issuecomment-1038967209
@weijiaduo 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] When the logarithmic axis has 0 value, the maximum value of the coordinate axis is wrong
**BODY**
### Version
5.3.0
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
You can edit online directly on the official website https://echarts.apache.org/examples/zh/editor.html.
Options for testing:
````
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'log'
},
series: [
{
data: [150, 230, 224, 0, 135, 147, 260],
type: 'line'
},
{
data: [50, 130, 324, 212, 165, 247, 160],
type: 'line'
}
]
};
````
### Current Behavior

### Expected Behavior

Although there is an abnormal data 0 in the data, it is not reasonable, but I still hope that the coordinate axis can be displayed normally, instead of the default maximum value of 10.
### Environment
````markdown
- OS: windows 11
- Browser: Chrome 96.0.4664.45
- 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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org