PieChart bugfix regarding slices with very small or zero values

The issue led to an exception when drawing the legend. This change attempts
to handle slices with small values (< 1.5 degrees) and 0 properly.

Additionally, a new pie chart property "legendHideZeroValues" was introduced.
If enabled, slices with value 0 are not listed in the legend.