You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "wvhn (via GitHub)" <gi...@apache.org> on 2026/01/07 18:31:12 UTC
[I] [Feature] let gauge radius be larger than half height / half width [echarts]
wvhn opened a new issue, #21456:
URL: https://github.com/apache/echarts/issues/21456
### What problem does this feature solve?
To create VU meters with the gauge type, I need more flexibility in specifying the gauge radius and cut off the pointers anchor.
Result should look like this (source: Highcharts):
<img width="981" height="190" alt="Image" src="https://github.com/user-attachments/assets/a03b9e74-6a43-4192-bdd0-e63b08f7ea9a" />
I am able to set up a similar gauge layout with echarts but the radius is limited to the minimum of half height and half width. So the gauge gets much smaller if I use the same container size like in Highcharts.
### What does the proposed API look like?
API could stay the same but radius restriction needs to be altered. I'm not sure whether an additional option is needed for the pointer to have it's anchor outside the container.
--
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
Re: [I] [Feature] let gauge radius be larger than half height / half width [echarts]
Posted by "Justin-ZS (via GitHub)" <gi...@apache.org>.
Justin-ZS closed issue #21456: [Feature] let gauge radius be larger than half height / half width
URL: https://github.com/apache/echarts/issues/21456
--
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
Re: [I] [Feature] let gauge radius be larger than half height / half width [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #21456:
URL: https://github.com/apache/echarts/issues/21456#issuecomment-3720514674
The radius (and other) percentages could be used creatively: [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=nVRLb9swDL7nVxAoCidbkjpx43QOdigKDBiwx6HdA-hyUCLZFmZLgU2vyYr891GKH0rXoEB9sCg-Pn2kKOoNSq3gPTz2AEpRSFFGcE8yWI35cLcREXgJqxLhDWtlwbisyNWbzPzzVrsWCkVBAJ7VkjWgddmYS2QFXqskI7xJMBuCULzeXs4ap1yqaDT1h5CzLbmRUG4yiV-qfEXQQePGtrL8JBWFNjwBMtrf4s7gdUqAB8kxjSDwm1hLVWfaMHVUQLz9cWB4n4Vz4Yugo97Z59YezNmUs__tE2uNeRiG3Fs6xk7e19K-id1oeShbR1qiyJ_JpCbtsQq11wF2JDKhEpOr9-7qvHFozaZkd3L928Xkki5FremckVufBufKUT1f3IbSWRzHbR84VZ-eztve69M7fIHQke51jC5PM7JNxVYicxGPit7hnSAaa4W38i-pp_5TeM6QuS3nsv7DsoqCjnpUsdy8vO_ffqmblCklMrh2rr2W2h5Eice1KFP9EAEWlehQdRyXAm_ah-qbhh2FofNMAX6aLH4ImaRI5690xttmsqv5L3v7RY-gPhokYt-PK7W2w6Q_gEdyuriggYJ3Mhe6Qht2GDbjw5i595djUxCz2uRpCPU_M0zHBVNc54TyBmgQDMaoP8it4P3pAN4GCwCLle-oJAUSGH61sP0D-tDmO1j09kOY0DdY_AM&enc=deflate)
<img width="699" height="309" alt="Image" src="https://github.com/user-attachments/assets/f054a0b5-7e54-4443-bf24-1f378c175a0c" />
--
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
Re: [I] [Feature] let gauge radius be larger than half height / half width [echarts]
Posted by "wvhn (via GitHub)" <gi...@apache.org>.
wvhn commented on issue #21456:
URL: https://github.com/apache/echarts/issues/21456#issuecomment-3732137293
Thanks for the example. It works well in my application now. Maybe I had given up too early because I had misunderstood the [documentation](https://echarts.apache.org/en/option.html#series-gauge.radius) which says
`The radius of gauge chart. It can be a percentage value of the **smaller of container half width and half height**, also can be an absolute value.`
--
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