Pie Chart: zero values aren't displayed
See original GitHub issueGreetings!
Pie chart doesn’t render sections with zero value. Is that possible to draw a thin ray and add label “0” in case the series value is 0?
Issue sample:
var container = document.getElementById('chart-area');
var data = {
categories: ['Browser'],
series: [
{
name: 'Chrome',
data: 0
},
{
name: 'IE',
data: 20.47
}
]
};
var options = {
chart: {
width: 660,
height: 560,
title: 'Usage share of web browsers'
},
tooltip: {
suffix: '%'
}
};
tui.chart.pieChart(container, data, options);
All legends are displayed, but not all the chart sections.
Can I kindly ask you to provide the option to draw a ray in this case or do it by default like in the example below 😃? Expected behavior example:
Thank you in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Excel: How to not display labels in pie chart that are 0%
The easiest is in menu File > Options, Advanced tab, section "Display options for this worksheet", to uncheck the option of "Show a...
Read more >How to suppress 0 values in an Excel chart - TechRepublic
You can hide the 0s by unchecking the worksheet display option called Show a zero in cells that have zero value. Here's how:...
Read more >How-to Easily Hide Zero and Blank Values from an Excel Pie ...
To only show the pie chart slices with slice values not equal to zero (0) and not equal to blank, we just need...
Read more >Pie Chart - Remove Zero Value Labels - Excel Help Forum
1. Right click on one of the chart "data labels" and choose "Format Data Labels." 2. Choose "Number" from the vertical menu ...
Read more >How to Hide Zero Values in Excel Pie Chart (3 Simple Methods)
1. Use Filter Feature to Hide Zero Values in Excel Pie Chart · Go to the Insert. · Then, select the pie charts....
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 Free
Top 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

@AlexDemian
It seems that this part has not been considered yet. That’s a good opinion! After the team members talk, I will leave a reply.
This issue will be closed due to inactivity. Thanks for your contribution!