Skip to content

Commit

Permalink
Revert old precision formatters (#6056)
Browse files Browse the repository at this point in the history
Revert commit 66fcf9b#diff-366fb3d6e52b5fb2b9c306763adbc983
It caused sunburst to became confusing.
  • Loading branch information
theikkila authored and mistercrunch committed Oct 8, 2018
1 parent 96952d0 commit 6282edd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/assets/src/visualizations/Sunburst/Sunburst.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ function Sunburst(element, props) {
.innerRadius(d => Math.sqrt(d.y))
.outerRadius(d => Math.sqrt(d.y + d.dy));

const formatNum = d3.format('.1s');
const formatPerc = d3.format('.1p');
const formatNum = d3.format('.3s');
const formatPerc = d3.format('.3p');

container.select('svg').remove();

Expand Down

0 comments on commit 6282edd

Please sign in to comment.