File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -458,7 +458,7 @@ function getScaleLabelX() {
458458 const texts = Array .from (scaleLabels .value .querySelectorAll (' text' ))
459459 base = texts .reduce ((max , t ) => {
460460 const w = t .getComputedTextLength ()
461- return ( w > max ? w : max) + FINAL_CONFIG . value . style . chart . layout . grid . axis . yLabelOffsetX
461+ return ( w > max ? w : max)
462462 }, 0 )
463463 }
464464
@@ -1298,7 +1298,7 @@ defineExpose({
12981298 < text
12991299 data- cy= " axis-y-label"
13001300 v- if = " yLabel.value >= niceScale.min && yLabel.value <= niceScale.max"
1301- : x= " svg.left"
1301+ : x= " svg.left + FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.offsetX "
13021302 : y= " yLabel.y + FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3"
13031303 : font- size= " FINAL_CONFIG.style.chart.layout.grid.yAxis.dataLabels.fontSize"
13041304 text- anchor= " end"
You can’t perform that action at this time.
0 commit comments