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 2021/12/01 08:10:17 UTC
[GitHub] [echarts] Mike-Jia opened a new issue #16150: [Feature] xAxis.axisLabel.formatter and xAxis.axisLabel.interval add more data in callback function.
Mike-Jia opened a new issue #16150:
URL: https://github.com/apache/echarts/issues/16150
### What problem does this feature solve?
We want **xAxis** **axisLabel** more short and show enough information, like this:


According current xAxis.interval and xAxis.axisLabel.interval xAxis.axisLabel.formatter callback function, there is no enough information to do that. Please add the full data into the callback parameter or provide a new xAxis.axisLabel.interval model.
### What does the proposed API look like?
xAxis.axisLabel.interval = (index:number, value: string, data:any[]) => boolean;
xAxis.axisLabel.formatter = (index:number, value: string, data:any[]) => string;
--
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] Mike-Jia commented on issue #16150: [Feature] xAxis.axisLabel.formatter and xAxis.axisLabel.interval add more data in callback function.
Posted by GitBox <gi...@apache.org>.
Mike-Jia commented on issue #16150:
URL: https://github.com/apache/echarts/issues/16150#issuecomment-999400864
Hi @Ovilia,
Any updates?
--
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] Ovilia commented on issue #16150: [Feature] xAxis.axisLabel.formatter and xAxis.axisLabel.interval add more data in callback function.
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #16150:
URL: https://github.com/apache/echarts/issues/16150#issuecomment-985394590
Please first check the [Cascading Templates](https://echarts.apache.org/en/option.html#xAxis.axisLabel.formatter) to see if this works for you.
--
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] Mike-Jia commented on issue #16150: [Feature] xAxis.axisLabel.formatter and xAxis.axisLabel.interval add more data in callback function.
Posted by GitBox <gi...@apache.org>.
Mike-Jia commented on issue #16150:
URL: https://github.com/apache/echarts/issues/16150#issuecomment-987615180
I checked with this template, it need set axes type to 'time' which is not suitable for candlestick chart. When we set axes type to 'time', there will be some empty space in the chart, because the real market data is not 7 * 24 or 'continuous time'.



--
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