We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30c2d13 commit 03e93deCopy full SHA for 03e93de
src/plugins/vis_type_xy/public/components/xy_settings.tsx
@@ -113,15 +113,23 @@ export const XYSettings: FC<XYSettingsProps> = ({
113
},
114
115
116
+ axes: {
117
+ axisTitle: {
118
+ padding: {
119
+ outer: 10,
120
+ },
121
122
123
chartMargins:
124
legendPosition === Position.Top || legendPosition === Position.Right
125
? {
- bottom: 10,
126
+ bottom: (theme.chartMargins?.bottom ?? 0) + 10,
127
}
128
: {
- right: 10,
129
+ right: (theme.chartMargins?.right ?? 0) + 10,
130
131
};
132
+
133
const headerValueFormatter: TickFormatter<any> | undefined = xAxis.ticks?.formatter
134
? (value) => fillEmptyValue(xAxis.ticks?.formatter?.(value)) ?? ''
135
: undefined;
0 commit comments