mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
changing to scientific notation
This commit is contained in:
parent
a5c23a5960
commit
b31258da36
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default function PieChartFactory(Private) {
|
|||
return Math.max(0, Math.min(2 * Math.PI, x(d.x)));
|
||||
})
|
||||
.endAngle(function (d) {
|
||||
if (d.dx < 0.00000001) return x(d.x);
|
||||
if (d.dx < 1e-8) return x(d.x);
|
||||
return Math.max(0, Math.min(2 * Math.PI, x(d.x + d.dx)));
|
||||
})
|
||||
.innerRadius(function (d) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue