echarts
echarts copied to clipboard
[Feature] yAxis.interval增加Function形式的参数
What problem does this feature solve?
https://echarts.apache.org/zh/option.html#yAxis.interval 希望yAxis.interval 可以通过Function来设置,参数和https://echarts.apache.org/zh/option.html#yAxis.min的Function一样
What does the proposed API look like?
interval: function (value: {max, min}) {
return Math.ceil((100 - min) / 3)
}
@kkkisme 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. 🤗
TRANSLATED
TITLE
[Feature] yAxis.interval adds parameters in the form of Function
BODY
What problem does this feature solve?
https://echarts.apache.org/en/option.html#yAxis.interval Hope that yAxis.interval can be set by Function, the parameters are the same as Functions like https://echarts.apache.org/zh/option.html#yAxis.min
What does the proposed API look like?
interval: function (value: {max, min}) {
return Math.ceil((100 - min) / 3)
}
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!