Improve label display on pie chart.
This commit is contained in:
parent
feef6dd880
commit
1130fa4a6f
@ -90,7 +90,7 @@ accountantApp.controller(
|
|||||||
size: '60%',
|
size: '60%',
|
||||||
dataLabels: {
|
dataLabels: {
|
||||||
formatter: function() {
|
formatter: function() {
|
||||||
return this.point.name !== null && this.y > 100 ? this.point.name : null;
|
return this.point.name !== null && this.percentage >= 2.5 ? this.point.name : null;
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
Loading…
Reference in New Issue
Block a user