Skip to content

Commit 64254f7

Browse files
committed
VueUiQuickChart minor config fixes
1 parent 8cdc320 commit 64254f7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.1.6",
4+
"version": "2.1.7",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-quick-chart.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ defineExpose({
738738
</text>
739739
</template>
740740
</g>
741-
<g class="donut-hollow quick-animation">
741+
<g class="donut-hollow quick-animation" v-if="quickConfig.donutShowTotal">
742742
<text
743743
text-anchor="middle"
744744
:x="donut.drawingArea.centerX"
@@ -851,6 +851,7 @@ defineExpose({
851851
:y="line.drawingArea.bottom + quickConfig.xyLabelsXFontSize + 6"
852852
:font-size="quickConfig.xyLabelsXFontSize"
853853
text-anchor="middle"
854+
:fill="quickConfig.color"
854855
>
855856
{{ quickConfig.xyPeriods[i] }}
856857
</text>
@@ -1023,6 +1024,7 @@ defineExpose({
10231024
:y="bar.drawingArea.bottom + quickConfig.xyLabelsXFontSize + 6"
10241025
:font-size="quickConfig.xyLabelsXFontSize"
10251026
text-anchor="middle"
1027+
:fill="quickConfig.color"
10261028
>
10271029
{{ quickConfig.xyPeriods[i] }}
10281030
</text>
@@ -1044,7 +1046,7 @@ defineExpose({
10441046
/>
10451047
</template>
10461048
</g>
1047-
<g class="dataLabels">
1049+
<g class="dataLabels" v-if="quickConfig.showDataLabels">
10481050
<template v-for="(ds, i) in bar.dataset">
10491051
<text
10501052
v-for="(plot, j) in ds.coordinates"

0 commit comments

Comments
 (0)