mirror of https://github.com/apache/superset.git
fix(histogram): display correct percentile value instead of formula (#18084)
Co-authored-by: quanhm <quanhm@vng.com.vn>
This commit is contained in:
parent
e86f6bbabc
commit
28e729b835
|
@ -122,7 +122,10 @@ class CustomHistogram extends React.PureComponent {
|
|||
</div>
|
||||
<div>
|
||||
<strong>{t('percentile (exclusive)')} </strong>
|
||||
{`{((datum.cumulativeDensity - datum.density) * 100).toPrecision(4)}th`}
|
||||
{`${(
|
||||
(datum.cumulativeDensity - datum.density) *
|
||||
100
|
||||
).toPrecision(4)}th`}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in New Issue