FIX: Admin chart y axis labels being rounded up/down when value is small.
This commit is contained in:
parent
e2ad374e5b
commit
634a213e6d
|
@ -40,7 +40,9 @@ export default Ember.Component.extend({
|
|||
{
|
||||
display: true,
|
||||
ticks: {
|
||||
callback: label => number(label),
|
||||
callback: label => {
|
||||
if (label >= 1) return number(label);
|
||||
},
|
||||
suggestedMin: 0
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue