labelLayout not works in production env (echarts v5.2)
See original GitHub issueVersion
5.2.0
Steps to reproduce
{
type: 'pie',
radius: ['20%', '60%'],
avoidLabelOverlap: false,
labelLayout() {
return {
x: 200,
y: 50,
align: 'left',
};
},
...
}
When use ECharts v5.2, labelLayout works in local Env, but not works in production.
Then i change the version to v5.1.1, labelLayout works in local and production Env both.
What is expected?
On Echarts v5.2, labelLayout works in production.
What is actually happening?
not works
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
draggable labelLayout option don't work with textBorderWidth
Version 5.0.2 Reproduction link https://jsfiddle.net/x7qg3jpL/ Steps to reproduce set label textBorderWidth property to a gratter value then ...
Read more >Changelog - Apache ECharts
Smarter label layout in pie chart, especially when there are too many labels or insufficient space. And related issue: #6050. Provide more overflow ......
Read more >gitlab-webservice not working while using helm install - charts
Not for production use. operator: enabled: false rollout: # Enables automatic pause for deployment rollout. This must be set to `true` to ...
Read more >echarts - UNPKG
The CDN for echarts. ... node_modules/zrender/lib/core/env.js",". ... 'production') {\n if (storedLogs[str]) {\n // Not display duplicate message.
Read more >org.apache.echarts.commits - 2021 September - 2,609 ... - MarkMail
[GitHub] [echarts] pissang edited a comment on issue #15701: labelLayout not works in production env (echarts v5.2) - GitBox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@percy507 This solution should work.
@percy507 Thanks for the suggestion. Will improve document and examples.