Inner labels for hypervisor pie chart fixed
- labels with values lower than 5% are hidden now Closes-Bug: #1516660 Change-Id: I6e2637dda5f283c1fac0bd82c08b058cbe2c36f1
This commit is contained in:
parent
c1fe2d34d9
commit
c791474713
|
@ -430,6 +430,10 @@ function($, d3, D3pie, d3tip, nv, elasticsearch) {
|
||||||
format: 'label-value2',
|
format: 'label-value2',
|
||||||
pieDistance: 10
|
pieDistance: 10
|
||||||
},
|
},
|
||||||
|
inner: {
|
||||||
|
format: "percentage",
|
||||||
|
hideWhenLessThanPercentage: 5
|
||||||
|
},
|
||||||
mainLabel: {
|
mainLabel: {
|
||||||
fontSize: 14
|
fontSize: 14
|
||||||
},
|
},
|
||||||
|
@ -529,6 +533,10 @@ function($, d3, D3pie, d3tip, nv, elasticsearch) {
|
||||||
format: 'label-value2',
|
format: 'label-value2',
|
||||||
pieDistance: 10
|
pieDistance: 10
|
||||||
},
|
},
|
||||||
|
inner: {
|
||||||
|
format: "percentage",
|
||||||
|
hideWhenLessThanPercentage: 5
|
||||||
|
},
|
||||||
mainLabel: {
|
mainLabel: {
|
||||||
fontSize: 14
|
fontSize: 14
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue