Skip to content

Commit

Permalink
chore(broken): apply suggested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Manik Rana <[email protected]>
  • Loading branch information
Maniktherana committed May 15, 2024
1 parent 7068830 commit 50b1b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/ui/react-app/src/pages/graph/HistogramChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const RenderHistogramBars: FC<RenderHistogramProps> = ({
? ((left - rangeMin) / (rangeMax - rangeMin)) * 100 + '%'
: left < 0
? (-(Math.log(Math.abs(left)) - startNegative) / widthTotal) * 100 + '%' // negative buckets boundary
: (Math.log(left) - startPositive + bw + widthNegative / widthTotal) * 100 + '%'; // positive buckets boundary
: ((Math.log(left) - startPositive + bw + widthNegative) / widthTotal) * 100 + '%'; // positive buckets boundary
const bucketHeight = scale === 'linear' ? (fds[bIdx] / fdMax) * 100 + '%' : (count / countMax) * 100 + '%';

console.log(
Expand Down

0 comments on commit 50b1b10

Please sign in to comment.