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 2023/01/17 07:38:08 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #18181: [Bug] 折线图中当数据全部为100、200、300、以此类推,折线图显示存在问题
echarts-bot[bot] commented on issue #18181:
URL: https://github.com/apache/echarts/issues/18181#issuecomment-1384948962
@wqzwh 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 data in the line chart is all 100, 200, 300, and so on, the line chart shows that there is a problem
**BODY**
### Version
5.4.1
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
```
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
},
series: [
{
data: [100, 100, 100, 100, 100, 100, 100],
type: 'line',
smooth: true,
}
]
};
```
<img width="1782" alt="image" src="https://user-images.githubusercontent.com/16662470/212837037-8d32c031-dba8-4077-a9b1-9c3c7e144ccd.png">
### Current Behavior
When the data sets are 100, 200, 300, etc., the line chart display will be pasted on the top. I understand that the division of the y-axis should be automatically calculated
### Expected Behavior
<img width="1782" alt="image" src="https://user-images.githubusercontent.com/16662470/212837037-8d32c031-dba8-4077-a9b1-9c3c7e144ccd.png">
### Environment
```markdown
- OS:
-Browser:
- 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