[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:
Maxime Beauchemin 2016-08-10 17:47:05 -07:00 committed by GitHub
parent efdfa81f21
commit 9a2c7740f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);