Skip to content

Commit

Permalink
[quickfix] removing controls in Area chart to leave more room for the…
Browse files Browse the repository at this point in the history
… legend
  • Loading branch information
mistercrunch committed Jun 22, 2016
1 parent 73601e4 commit 3ef79bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion caravel/assets/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function nvd3Vis(slice) {

case 'dist_bar':
chart = nv.models.multiBarChart()
.showControls(false) //Allow user to switch between 'Grouped' and 'Stacked' mode.
.showControls(false)
.reduceXTicks(reduceXTicks)
.rotateLabels(45)
.groupSpacing(0.1); //Distance between each group of bars.
Expand Down Expand Up @@ -147,6 +147,7 @@ function nvd3Vis(slice) {
chart.xScale(d3.time.scale.utc());
chart.xAxis
.showMaxMin(false)
.showControls(false)
.staggerLabels(true);
break;

Expand Down

0 comments on commit 3ef79bb

Please sign in to comment.