mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[quickfix] removing controls in Area chart to leave more room for the legend
This commit is contained in:
parent
73601e4acb
commit
3ef79bbaf3
@ -80,7 +80,7 @@ function nvd3Vis(slice) {
|
|||||||
|
|
||||||
case 'dist_bar':
|
case 'dist_bar':
|
||||||
chart = nv.models.multiBarChart()
|
chart = nv.models.multiBarChart()
|
||||||
.showControls(false) //Allow user to switch between 'Grouped' and 'Stacked' mode.
|
.showControls(false)
|
||||||
.reduceXTicks(reduceXTicks)
|
.reduceXTicks(reduceXTicks)
|
||||||
.rotateLabels(45)
|
.rotateLabels(45)
|
||||||
.groupSpacing(0.1); //Distance between each group of bars.
|
.groupSpacing(0.1); //Distance between each group of bars.
|
||||||
@ -147,6 +147,7 @@ function nvd3Vis(slice) {
|
|||||||
chart.xScale(d3.time.scale.utc());
|
chart.xScale(d3.time.scale.utc());
|
||||||
chart.xAxis
|
chart.xAxis
|
||||||
.showMaxMin(false)
|
.showMaxMin(false)
|
||||||
|
.showControls(false)
|
||||||
.staggerLabels(true);
|
.staggerLabels(true);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user