Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Solid gauges with rounded corners show 0 values as circles #6653
I'm afraid I'm not quite sure what the best behaviour is here. We moved our solid gauges to using rounded corners instead of flat (which look super nice!), and noticed spurious values start appearing.
On closer inspection, these were values of 0, which were invisible when using flat edges, but render as a circle when using rounded corners.
There is a further limitation of rounded corners that you can't show very small values.. below a point they all just render as that same sized circle - but I guess this is an understandable limitation of this type of chart.
For 0 values though, perhaps no circle should show?
Here's a fiddle showing the issue.
Thanks for your time :)
Thanks for writing (and sorry for accidentally closing)! Here's an interactive demo so we can see what happens with various values: http://jsfiddle.net/highcharts/dqohbuo0/4/
I'm also not sure what to do with this - currently the rounded edges are applied at the end of the real data range. As can be seen in the demo above, when the square gauge stops at a certain tick, the rounded one actually goes past it. So there are some different ways of resolving this: