Skip to content

Commit

Permalink
[hotfix] cosmetic fitting for nvd3 line chart overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Mar 4, 2016
1 parent 486fb8b commit a7e75a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions panoramix/assets/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ function nvd3Vis(slice) {
}

var height = slice.height();
height -= 15; // accounting for the staggered xAxis

if (chart.hasOwnProperty("x2Axis")) {
height += 30;
Expand Down

0 comments on commit a7e75a2

Please sign in to comment.