@@ -716,8 +716,8 @@ defineExpose({
716
716
v-for =" (position, i) in positions"
717
717
:data-cy =" `waffle-rect-underlayer-${i}`"
718
718
:rx =" FINAL_CONFIG.style.chart.layout.rect.rounded ? FINAL_CONFIG.style.chart.layout.rect.rounding : 0"
719
- :x =" position.x"
720
- :y =" position.y"
719
+ :x =" position.x + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
720
+ :y =" position.y + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
721
721
:height =" rectDimensionY <= 0 ? 0.0001 : rectDimensionY"
722
722
:width =" rectDimension <= 0 ? 0.0001 : rectDimension"
723
723
fill =" white"
@@ -728,8 +728,8 @@ defineExpose({
728
728
<rect
729
729
v-for =" (position, i) in positions"
730
730
:rx =" FINAL_CONFIG.style.chart.layout.rect.rounded ? FINAL_CONFIG.style.chart.layout.rect.rounding : 0"
731
- :x =" position.x"
732
- :y =" position.y"
731
+ :x =" position.x + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
732
+ :y =" position.y + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
733
733
:height =" rectDimensionY <= 0 ? 0.0001 : rectDimensionY"
734
734
:width =" rectDimension <= 0 ? 0.0001 : rectDimension"
735
735
:fill =" FINAL_CONFIG.style.chart.layout.rect.useGradient && FINAL_CONFIG.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${uid}_${i})` : rects[i].color"
@@ -743,8 +743,8 @@ defineExpose({
743
743
<template v-for =" (position , i ) in positions " >
744
744
<foreignObject
745
745
v-if =" !isAnimating && !FINAL_CONFIG.style.chart.layout.grid.vertical && FINAL_CONFIG.style.chart.layout.labels.captions.show && ((rects[i].isFirst && position.position < FINAL_CONFIG.style.chart.layout.grid.size - 2) || (rects[i].isAbsoluteFirst && i % FINAL_CONFIG.style.chart.layout.grid.size === 0 && rects[i].absoluteStartIndex))"
746
- :x =" position.x + FINAL_CONFIG.style.chart.layout.labels.captions.offsetX"
747
- :y =" position.y + FINAL_CONFIG.style.chart.layout.labels.captions.offsetY"
746
+ :x =" position.x + FINAL_CONFIG.style.chart.layout.labels.captions.offsetX + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
747
+ :y =" position.y + FINAL_CONFIG.style.chart.layout.labels.captions.offsetY + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
748
748
:height =" absoluteRectDimensionY <= 0 ? 0.0001 : absoluteRectDimensionY"
749
749
:width =" absoluteRectDimension * FINAL_CONFIG.style.chart.layout.grid.size <= 0 ? 0.0001 : absoluteRectDimension * FINAL_CONFIG.style.chart.layout.grid.size"
750
750
:filter =" getBlurFilter(rects[i].serieIndex)"
@@ -771,8 +771,8 @@ defineExpose({
771
771
:data-cy =" `waffle-rect-${i}`"
772
772
@mouseover =" useTooltip(i)"
773
773
@mouseleave =" isTooltip = false; selectedSerie = null"
774
- :x =" position.x"
775
- :y =" position.y"
774
+ :x =" position.x + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
775
+ :y =" position.y + FINAL_CONFIG.style.chart.layout.grid.spaceBetween / 2 "
776
776
:height =" absoluteRectDimensionY <= 0 ? 0.0001 : absoluteRectDimensionY"
777
777
:width =" absoluteRectDimension <= 0 ? 0.0001 : absoluteRectDimension"
778
778
fill =" transparent"
0 commit comments