JavaScriptだと、こう。
dataLabels: {
formatter: function() {
if (this.y != 0) {
return this.y;
}
}
}
CoffeeScriptだと、こう。
dataLabels: {
formatter: ->
this.y unless this.y == 0
}
formatterを指定すればいいのね。。。
JavaScriptだと、こう。
dataLabels: {
formatter: function() {
if (this.y != 0) {
return this.y;
}
}
}
CoffeeScriptだと、こう。
dataLabels: {
formatter: ->
this.y unless this.y == 0
}
formatterを指定すればいいのね。。。