Skip to content

Commit a112870

Browse files
committed
Modification - Config - Change default VueUiXy padding settings
1 parent cd6b9dc commit a112870

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/useConfig.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ export function useConfig() {
456456
...ZOOM,
457457
minimap: MINIMAP,
458458
},
459-
padding: PADDING([36, 24, 64, 48]),
459+
padding: PADDING([0, 0, 0, 0]),
460460
highlighter: {
461461
color: COLOR_BLACK,
462462
opacity: 5,
@@ -514,7 +514,7 @@ export function useConfig() {
514514
yLabel: '',
515515
yLabelOffsetX: 0,
516516
xLabel: '',
517-
xLabelOffsetY: 14,
517+
xLabelOffsetY: 0,
518518
fontSize: FONT._14
519519
},
520520
zeroLine: {
@@ -5590,12 +5590,6 @@ export function useConfig() {
55905590
},
55915591
chart: {
55925592
...vue_ui_xy.chart,
5593-
padding: {
5594-
top: 24,
5595-
right: 25,
5596-
bottom: 24,
5597-
left: 64
5598-
},
55995593
tooltip: {
56005594
...vue_ui_xy.chart.tooltip,
56015595
showPercentage: false

0 commit comments

Comments
 (0)