Skip to content

Commit 579933f

Browse files
committed
fix line chart performance issue (novus/nvd3#691)
1 parent 3ce242e commit 579933f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zeppelin-web/app/scripts/controllers/paragraph.js

+1
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ angular.module('zeppelinWebApp')
824824
}
825825
});
826826
$scope.chart[type].yAxis.axisLabelDistance(50);
827+
$scope.chart[type].useInteractiveGuideline(true); // for better UX and performance issue. (https://github.com/novus/nvd3/issues/691)
827828
$scope.chart[type].forceY([0]); // force y-axis minimum to 0 for line chart.
828829
}
829830

0 commit comments

Comments
 (0)