Skip to content

Commit

Permalink
[bugfix] 'Y Axis Zero' would force 1 in Y axis (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed May 20, 2016
1 parent e1a3854 commit 58d78be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caravel/assets/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function nvd3Vis(slice) {
chart.useInteractiveGuideline(true);
}
if (fd.y_axis_zero) {
chart.forceY([0, 1]);
chart.forceY([0]);
} else if (fd.y_log_scale) {
chart.yScale(d3.scale.log());
}
Expand Down

0 comments on commit 58d78be

Please sign in to comment.