mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[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':
|
case 'line':
|
||||||
if (fd.show_brush) {
|
if (fd.show_brush) {
|
||||||
chart = nv.models.lineWithFocusChart();
|
chart = nv.models.lineWithFocusChart();
|
||||||
chart.lines2.xScale(d3.time.scale.utc());
|
chart.focus.xScale(d3.time.scale.utc());
|
||||||
chart.x2Axis
|
chart.x2Axis
|
||||||
.showMaxMin(fd.x_axis_showminmax)
|
.showMaxMin(fd.x_axis_showminmax)
|
||||||
.staggerLabels(false);
|
.staggerLabels(false);
|
||||||
|
Loading…
Reference in New Issue
Block a user