mirror of https://github.com/apache/superset.git
[bugfix] nvd3's API changed and broke the range filter (#903)
* [bugfix] nvd3's API changed and broke the range filter * Removing if that is not needed
This commit is contained in:
parent
efdfa81f21
commit
9a2c7740f0
|
@ -48,7 +48,7 @@ function nvd3Vis(slice) {
|
|||
case 'line':
|
||||
if (fd.show_brush) {
|
||||
chart = nv.models.lineWithFocusChart();
|
||||
chart.lines2.xScale(d3.time.scale.utc());
|
||||
chart.focus.xScale(d3.time.scale.utc());
|
||||
chart.x2Axis
|
||||
.showMaxMin(fd.x_axis_showminmax)
|
||||
.staggerLabels(false);
|
||||
|
|
Loading…
Reference in New Issue