@@ -641,7 +641,7 @@ defineExpose({
641641 <path :stroke =" barConfig.style.chart.color" stroke-dasharray =" 1" stroke-width =" 0.5" stroke-linecap =" round" :d =" `M${bar.fill.sidePointer.x},${bar.fill.sidePointer.y} ${bar.fill.sidePointer.x + 20},${bar.fill.sidePointer.y}`" />
642642 <circle :cx =" bar.fill.sidePointer.x + 20" :cy =" bar.fill.sidePointer.y" :r =" 2" :fill =" bar.color" :stroke =" barConfig.style.chart.backgroundColor" v-if =" !bar.fill.miniDonut || !!selectedSerie" />
643643 <foreignObject :x =" bar.fill.sidePointer.x + 30" :y =" bar.fill.sidePointer.y - barConfig.style.chart.legend.fontSize" :width =" svg.absoluteWidth / 2 - 12" :height =" barConfig.style.chart.legend.fontSize * 2" style =" overflow : visible ; position : relative " >
644- <div v-if =" barConfig.style.chart.legend.showDefault" :style =" `height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${barConfig.style.chart.legend.fontSize}px; position: absolute; top:50%; left: 0; transform: translateY(-50%); text-align:left; line-height: ${barConfig.style.chart.legend.fontSize}px; color:${barConfig.style.chart.legend.color}`" >
644+ <div v-if =" barConfig.style.chart.legend.showDefault" :style =" `height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${barConfig.style.chart.legend.fontSize}px; text-align:left; line-height: ${barConfig.style.chart.legend.fontSize}px; color:${barConfig.style.chart.legend.color}`" >
645645 {{ bar.name }} : {{ dataLabel({v: bar.proportion * 100, s: '%', r: barConfig.style.chart.legend.roundingPercentage}) }} ({{ dataLabel({ p: barConfig.style.chart.legend.prefix, v: bar.value, s: barConfig.style.chart.legend.suffix, r: barConfig.style.chart.legend.roundingValue})}})
646646 </div >
647647 <slot name =" legend" v-bind =" { datapoint: bar, config: barConfig, dataset: stack}" />
@@ -762,7 +762,7 @@ defineExpose({
762762 <path :stroke =" barConfig.style.chart.color" stroke-dasharray =" 1" stroke-width =" 0.5" stroke-linecap =" round" :d =" `M${bar.fill.sidePointer.x},${bar.fill.sidePointer.y} ${bar.fill.sidePointer.x + 20},${bar.fill.sidePointer.y}`" />
763763 <circle :cx =" bar.fill.sidePointer.x + 20" :cy =" bar.fill.sidePointer.y" :r =" 2" :fill =" bar.color" :stroke =" barConfig.style.chart.backgroundColor" v-if =" !bar.fill.miniDonut || !!selectedSerie" />
764764 <foreignObject :x =" bar.fill.sidePointer.x + 30" :y =" bar.fill.sidePointer.y - barConfig.style.chart.legend.fontSize" :width =" svg.absoluteWidth / 2 - 12" :height =" barConfig.style.chart.legend.fontSize * 2" style =" overflow : visible ; position : relative " >
765- <div v-if =" barConfig.style.chart.legend.showDefault" :style =" `height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${barConfig.style.chart.legend.fontSize}px; position: absolute; top:50%; left: 0; transform: translateY(-50%); text-align:left; line-height: ${barConfig.style.chart.legend.fontSize}px; color:${barConfig.style.chart.legend.color}`" >
765+ <div v-if =" barConfig.style.chart.legend.showDefault" :style =" `height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${barConfig.style.chart.legend.fontSize}px; text-align:left; line-height: ${barConfig.style.chart.legend.fontSize}px; color:${barConfig.style.chart.legend.color}`" >
766766 {{ bar.name }} : {{ dataLabel({v: bar.proportion * 100, s: '%', r: barConfig.style.chart.legend.roundingPercentage}) }} ({{ dataLabel({ p: barConfig.style.chart.legend.prefix, v: bar.value, s: barConfig.style.chart.legend.suffix, r: barConfig.style.chart.legend.roundingValue})}})
767767 </div >
768768 <slot name =" legend" v-bind =" { datapoint: bar, config: barConfig, dataset: stack}" />
0 commit comments