Skip to content

Commit a803f5f

Browse files
committed
Fixed styling defaults for bar chart
1 parent 3cd49c5 commit a803f5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chart/bar/BarChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const NeoBarChart = (props: ChartProps) => {
2121
const customDimensions = settings.customDimensions ? settings.customDimensions : false;
2222
const legendWidth = settings.legendWidth ? settings.legendWidth : 128;
2323
const marginTop = settings.marginTop ? settings.marginTop : 24;
24-
const marginBottom = settings.marginBottom ? settings.marginBottom : 60;
24+
const marginBottom = settings.marginBottom ? settings.marginBottom : 30;
2525
const legend = settings.legend ? settings.legend : false;
2626
const labelRotation = settings.labelRotation != undefined ? settings.labelRotation : 45;
2727
const barWidth = settings.barWidth ? settings.barWidth : 10;

src/config/ReportConfig.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ const _REPORT_TYPES = {
380380
marginBottom: {
381381
label: 'Margin Bottom',
382382
type: SELECTION_TYPES.NUMBER,
383-
default: 45,
383+
default: 30,
384384
},
385385
legendWidth: {
386386
label: 'Legend Width',

0 commit comments

Comments
 (0)