When working with the pie chart in Google Charts it seems to ignore items with a value of zero. I would really like to get these items to show up in the legend even though their value is zero so that the users knows that it was a possible answer to the question. Is there a way to have a zero value item still show up in the legend?
Share
Setting the slice visibility threshold to 0 solved it for me. Notice the last option
sliceVisibilityThreshold.(taken from the sample pie chart).
By default, the threshold is set to 1/720, which means (from the docs):