fix percentage change viz (#2757)

This commit is contained in:
yileic
2017-05-13 15:46:02 -07:00
committed by Maxime Beauchemin
parent 38375be5c3
commit d9bd3d6460
2 changed files with 7 additions and 0 deletions

View File

@@ -237,6 +237,7 @@ function nvd3Vis(slice, payload) {
case 'compare':
chart = nv.models.cumulativeLineChart();
chart.xScale(d3.time.scale.utc());
chart.useInteractiveGuideline(true);
chart.xAxis
.showMaxMin(false)
.staggerLabels(true);