From aa156d3b42de142f6b0c0dc756f3a360732bb84d Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 3 Jul 2024 15:20:42 +0200 Subject: [PATCH] Hide overlapping labels --- src/components/charts/CandleChart.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/charts/CandleChart.vue b/src/components/charts/CandleChart.vue index 5999ae30..24cd5f22 100644 --- a/src/components/charts/CandleChart.vue +++ b/src/components/charts/CandleChart.vue @@ -392,7 +392,10 @@ function updateChart(initial = false) { position: props.labelSide, nameLocation: 'middle', nameGap: NAMEGAP, - axisLabel: { show: true }, + axisLabel: { + show: true, + hideOverlap: true, + }, axisLine: { show: false }, axisTick: { show: false }, splitLine: { show: false },