You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "echarts-bot[bot] (via GitHub)" <gi...@apache.org> on 2023/02/13 06:12:12 UTC
[GitHub] [echarts] echarts-bot[bot] commented on issue #18261: [Feature] axisLabel interval 的 return 能加上 'auto' 嗎
echarts-bot[bot] commented on issue #18261:
URL: https://github.com/apache/echarts/issues/18261#issuecomment-1427403617
@mukiwu 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**
[Feature] Can 'auto' be added to the return of axisLabel interval
**BODY**
### What problem does this feature solve?
The original interval can directly use `'auto'` to automatically display non-overlapping labels
but if using
```
interval: function(index) {
return true
}
```
Since the return value must be `boolean type`, `return 'auto'` cannot be used
Because you need to use the function to write some judgments, so I hope to add `return 'auto'` in the function
### What does the proposed API look like?
xAxis.axisLabel.interval
(index:number, value:string) => boolean | 'auto'
</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