I have an outlabeledDoughnut and I want to not display labels for values of zero. Can you pass a lambda to the display value? This is what I’m trying but it still displays the labels for everything:
outlabels: {
text: "%l: £%v",
color: "black",
stretch: 25,
font: {
resizable: true,
minSize: 12,
maxSize: 18
},
display: ->(v) { v.to_f.zero? ? false : true }
}
}
type or paste code here