Skip to content

Commit f9b3331

Browse files
committed
VueUiDonutEvolution minor updates
1 parent 734e305 commit f9b3331

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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": "1.9.33",
4+
"version": "1.9.34",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-donut-evolution.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ defineExpose({
479479
:y="svg.absoluteHeight - padding.bottom + donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2"
480480
text-anchor="middle"
481481
:font-size="donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.fontSize"
482+
:fill="donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.color"
482483
483484
>
484485
{{ donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.values[i] ?? '' }}
@@ -709,6 +710,7 @@ defineExpose({
709710
:x="padding.left + 6"
710711
:y="padding.top + donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2"
711712
:font-size="donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6"
713+
:fill="donutEvolution.style.chart.layout.dataLabels.color"
712714
>
713715
{{ donutEvolutionConfig.style.chart.layout.grid.xAxis.dataLabels.values[fixedDatapoint.index] }}
714716
</text>

src/default_configs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2653,7 +2653,8 @@
26532653
"show": true,
26542654
"values": [],
26552655
"fontSize": 8,
2656-
"showOnlyFirstAndLast": false
2656+
"showOnlyFirstAndLast": false,
2657+
"color": "#2D353C"
26572658
}
26582659
}
26592660
},

types/vue-data-ui.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ declare module 'vue-data-ui' {
4242
values?: string[];
4343
fontSize?: number;
4444
showOnlyFirstAndLast?: boolean;
45+
color?: string;
4546
};
4647
};
4748
};

0 commit comments

Comments
 (0)