mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
[bugfix] 'Y Axis Zero' would force 1 in Y axis (#497)
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user