Labels overlap
See original GitHub issueLabels in pie charts overlap (even with not very long text). See screenshot
Steps to Reproduce:
{
"height": 250,
"title": "Fatturati totali per network",
"type": "pie",
"data": {
"labels": ["Cisalpina Tours", "Bluvacanze", "Travelbuy", "Primarete Viaggi e Vacanze", "Blunet", "Uniposte"],
"colors": ["#7ED321", "#007bff", "#c00", "#fc0", "#FDA5EE", "#9c6d1e"],
"datasets": [{
"name": "ago 2018",
"values": [3848, 3415, 3500, 2704, 1295, 3339]
}]
}
}
Frappé Charts version: 1.1.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:5
Top Results From Across the Web
Place overlapping labels—ArcGIS Pro | Documentation
When using the Standard Label Engine, you can force the placement of all the labels belonging to a given label class on the...
Read more >Manage Overlapping Data Labels | FlexChart | ComponentOne
Overlapping, generally, occurs due to long data label text or a large number of data points plotted on a chart. With FlexChart, you...
Read more >MS Excel axis labels overlap in charts (what can you do ...
MS Excel chart axis labels overlap the data. An easy method to move the axis label below the lowest data point to make...
Read more >Minimizing Overlapping Labels in Interactive Visualizations
One of the most challenging areas of user-controlled and real-time data visualization is label placement. In many of my visualizations, ...
Read more >Stagger Axis Labels to Prevent Overlapping - Peltier Tech
If a chart has many long axis labels, Excel rotates them or hides some so they don't overlap. Stagger axis labels so they...
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
Fixed this in the recent release… labels will automatically fit the width of the chart. (ref: https://github.com/frappe/charts/commit/94c835115b946bad3dc383023c8a8bcb0abe73e2)
Also a I’ve sent a PR will allow truncating of labels. PR: https://github.com/frappe/charts/pull/234
The PR has been merged.
Yes, along with a few other fixes. I am hoping to release it soon.