-
Notifications
You must be signed in to change notification settings - Fork 19.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] add borderRadius option to heatmap #16490
Comments
This issue is labeled with Please have a look at How to debug ECharts if you'd like to give a try. 🤓 |
* fix(chart): DefaultStatesMixinEmpasis -> DefaultStatesMixinEmphasis in util/types * feat: heatmap itemStyle.borderRadius with #16490 * feat(test): format heatmap-geo * feat(test): heatmap itemStyle.borderRadius * feat(chart): borderRadius support data item; adjust RectShape type be the instance with graphic.Rect * feat(test): Heatmap Border Radius by Each Item * feat(heatmap): mktest for heatmap-border-radius * feat(heatmap): get borderRadius value before ensureState set emphasis * feat(test): rename heatmap-border-radius to heatmap-borderRadius * feat(heatmap): remove useless temporary variable shape * feat(test): format heatmap (geo, borderRadius) * feat(heatmap): remove uesless import in HeatmapView * fix(test): revert heatmap-geo.html * fix(heatmap): merge type & restore lost type about Calendar
@Rain120 Came here looking for a way to add |
@pissang thank you! I see this in the latest package. I'm using |
What problem does this feature solve?
Taking this ECharts example https://echarts.apache.org/examples/en/editor.html?c=heatmap-cartesian, I was wondering if it would be somehow possible to apply a border-radius to each square of the heatmap. My goal was that make these squares appear as rounded elements, like that: https://9elements.com/blog/content/images/border-radius-1.png.
I have tried using the
series-heatmap.itemStyle.borderRadius
property, but that does not seem available.Any ideas?
What does the proposed API look like?
I believe adding
series-heatmap.itemStyle.borderRadius
would solve the problem easily.The text was updated successfully, but these errors were encountered: