Javascript Highcharts-热图:在调整图表大小时避免0
我用的是海图上的热图 我想知道是否有办法避免调整图表大小后显示的值超过0 这里有一个例子:Javascript Highcharts-热图:在调整图表大小时避免0,javascript,highcharts,Javascript,Highcharts,我用的是海图上的热图 我想知道是否有办法避免调整图表大小后显示的值超过0 这里有一个例子: $ 谢谢你的帮助 Alex当然,只需使用数据标签。格式化程序: formatter: function() { if(this.point.value == 0) { return ''; } else { return thi
$
谢谢你的帮助
Alex当然,只需使用数据标签。格式化程序:
formatter: function() {
if(this.point.value == 0) {
return '';
} else {
return this.point.value;
}
}
演示:太好了!!谢谢^^