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/10/12 09:59:26 UTC
[GitHub] [echarts] fuzi1996 opened a new issue, #17754: [Bug] The x-axis of the pie chart displays abnormally
fuzi1996 opened a new issue, #17754:
URL: https://github.com/apache/echarts/issues/17754
### Version
5.4.0
### Link to Minimal Reproduction
https://codesandbox.io/s/basic-line-chart-forked-vy8prx
### Steps to Reproduce
- 1. `yAxis.axisLabel.lineHeight` value >= 34

- 2. `yAxis.axisLabel.lineHeight` value <= 33

### Current Behavior

### Expected Behavior

### Environment
```markdown
- OS: `windows 10`
- Browser: `Microsoft Edge 版本 106.0.1370.37 (正式版本) (64 位)`
```
### Any additional comments?
_No response_
--
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.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
[GitHub] [echarts] Ovilia commented on issue #17754: [Bug] The x-axis of the pie chart displays abnormally
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #17754:
URL: https://github.com/apache/echarts/issues/17754#issuecomment-1277285657
When `lineHeight` is to large to be displayed, `axisLabel.show = 'auto'` means it will hide the label if necessary. So this doesn't seem to be a bug to me.
--
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
[GitHub] [echarts] fuzi1996 commented on issue #17754: [Bug] The x-axis of the pie chart displays abnormally
Posted by GitBox <gi...@apache.org>.
fuzi1996 commented on issue #17754:
URL: https://github.com/apache/echarts/issues/17754#issuecomment-1276064286
我注意到是在 [fixMinMaxLabelShow](https://github.com/apache/echarts/blob/672c7240b74e487c084aa4075466c8b87dd7395b/src/component/axis/AxisBuilder.ts#L513) 时,第一个和最后一个`label`被设置为`ignore=true`
这里有一个判断 [shouldShowAllLabels](https://github.com/apache/echarts/blob/672c7240b74e487c084aa4075466c8b87dd7395b/src/coord/axisHelper.ts#L370) 因为 `getOptionCategoryInterval` 获取到的是 `auto` 而无法跳过
是不是少判断了这种情况
--
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
[GitHub] [echarts] fuzi1996 commented on issue #17754: [Bug] The x-axis of the pie chart displays abnormally
Posted by GitBox <gi...@apache.org>.
fuzi1996 commented on issue #17754:
URL: https://github.com/apache/echarts/issues/17754#issuecomment-1277472607
> When `lineHeight` is to large to be displayed, `axisLabel.show = 'auto'` means it will hide the label if necessary. So this doesn't seem to be a bug to me.
确实,axisLabel.[interval](https://echarts.apache.org/en/option.html#xAxis.axisLabel.interval)= 'auto' means it will hide the label if necessary.
--
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
[GitHub] [echarts] fuzi1996 closed issue #17754: [Bug] The x-axis of the pie chart displays abnormally
Posted by GitBox <gi...@apache.org>.
fuzi1996 closed issue #17754: [Bug] The x-axis of the pie chart displays abnormally
URL: https://github.com/apache/echarts/issues/17754
--
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