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/03/25 05:41:54 UTC
[GitHub] [echarts] pooch-tonic opened a new issue #10928: Axis tick auto align on multiaxis
pooch-tonic opened a new issue #10928:
URL: https://github.com/apache/echarts/issues/10928
### What problem does this feature solve?
I want to have a functionality which allows the user to have the same number of ticks on every parallel axis.
i.e. I have 2 `yAxis`, but the auto ticks calculation gives me 6 ticks for one axis and 5 for the other. The difference creates irregular spacings between the split lines, which is not really good for user experience.
Here is the sample `option` code:
```
option = {
"xAxis": [
{
"data": ["test"]
}
],
"yAxis": [
{
"name": "A",
},
{
"name": "B",
}
],
"series": [
{
"name": "A",
"type": "bar",
"data": [
275500000,
],
"yAxisIndex": 0
},
{
"name": "B",
"type": "bar",
"data": [
2289000000
],
"yAxisIndex": 1
},
]
}
```
And here is the sample result:
[](https://postimg.cc/bdCpccW4)
My request is based on the [HighCharts](https://www.highcharts.com/) library, which provides an API called [`alignTicks`](https://api.highcharts.com/highcharts/chart.alignTicks), which does the same thing as I described here.
### What does the proposed API look like?
Let's say we have a boolean attribute `yAxis.axisAutoAlign`. By setting it to true, its ticks will get aligned with every other axis in the `yAxis` array which has the same boolean to `true`. That way, if one of the axis has 6 ticks, all the other axis will also have 6 ticks and get nicely aligned altogether.
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
--
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] liho98 edited a comment on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
liho98 edited a comment on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-891503477
> @tidemarks 这个改动影响面很大,需要很多验证,所以短期不会合入。
这个issue开了3年了,你指的短期是多少年呢?

--
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] susiwen8 commented on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-868166873
@tidemarks 这个改动影响面很大,需要很多验证,所以短期不会合入。
--
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.
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] pissang closed issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
pissang closed issue #10928:
URL: https://github.com/apache/echarts/issues/10928
--
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] liho98 commented on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
liho98 commented on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-891503477
> @tidemarks 这个改动影响面很大,需要很多验证,所以短期不会合入。
这个issue开了3年了,你指的短期是多少年呢?
--
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] 15990132698 commented on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
15990132698 commented on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-868164138
这个问题是不是短期内不会处理了?
--
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.
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] liho98 edited a comment on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
liho98 edited a comment on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-891503477
> @tidemarks 这个改动影响面很大,需要很多验证,所以短期不会合入。
这个issue开了3年了,你指的短期是多少年呢?

--
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] liho98 edited a comment on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
liho98 edited a comment on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-891503477
> @tidemarks 这个改动影响面很大,需要很多验证,所以短期不会合入。
这个issue开了3年了,你指的短期是多少年呢?

--
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] tadeubas commented on issue #10928: Axis tick auto align on multiaxis
Posted by GitBox <gi...@apache.org>.
tadeubas commented on issue #10928:
URL: https://github.com/apache/echarts/issues/10928#issuecomment-851033952
I need this feature too!
--
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.
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