Skip to content

Commit

Permalink
smaller bar gap
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminpkane committed Nov 12, 2020
1 parent 35b5c32 commit c374d2b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions electron/app/components/Distributions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,15 @@ const Distribution = ({ distribution }) => {
const stroke = "hsl(210, 20%, 90%)";
const fill = stroke;
const isNumeric = _.indexOf(["int", "float"], type) >= 0;
const padding = 20;

return (
<Container ref={ref}>
<Title>{`${name}: ${type}`}</Title>
<BarChart
ref={container}
height={height - 32}
width={data.length * (barWidth + 20) + 50}
barCategoryGap={"20px"}
width={data.length * (barWidth + 4) + 50}
barCategoryGap={"4px"}
data={data}
margin={{ top: 0, left: 0, bottom: 0, right: 0 }}
>
Expand Down

0 comments on commit c374d2b

Please sign in to comment.