Skip to content

Commit

Permalink
fix(dimensions): use chart top padding in computation of chart height
Browse files Browse the repository at this point in the history
fix #13
  • Loading branch information
emmacunningham authored and markov00 committed Jan 31, 2019
1 parent d167af6 commit 4bc5ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/osd-charts/src/lib/utils/dimensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ export function computeChartDimensions(
top,
left,
width: chartWidth - hMargin - chartPaddings.left - chartPaddings.right,
height: chartHeight - vMargin - chartPaddings.bottom - chartPaddings.bottom,
height: chartHeight - vMargin - chartPaddings.top - chartPaddings.bottom,
};
}

0 comments on commit 4bc5ac8

Please sign in to comment.