Bug #2086
openNo API to ignore values in bar chart series
0%
Description
For example, for stacked bar charts it makes no sense to show something when there's no data in a particular series. Returning zero causes the bar chart to contain a flat rectangle. There should be nothing drawn at all.
Files
Updated by Jan Goyvaerts over 11 years ago
- File unwanted.avi unwanted.avi added
What's presumably an unwanted side effect of stacking zero-value rectangles is shown in the included video.
It looks like the renderer is having difficulties to decide what's on top. Obviously it's not what is expected from a bar chart. :-)
Updated by Jan Goyvaerts over 11 years ago
Another reason to hide "zero-value bars" is that they're making it impossible to distinguish with cases of near-zero values. Which should be shown indeed.
For example assuming a count, when the aggregated maximum value is 1000, the value 1 will probably be shown as a flat rectangle. But there's no way to tell it from a zero value.
Updated by Jan Goyvaerts over 11 years ago
- File no data.png no data.png added
To illustrate the issue : given the bar chart, it looks like there's a huge amount of low/small values represented by the gray area's. While in fact there's no data at all. It's all zero's. It gives the wrong idea of what is being shown.
Another side effect is that it hides the real, non-zero, data. There are area's of small orange and blue bars. But they're difficult to spot due to the gray colors on top.