Skip to content

Commit f7c8dff

Browse files
committed
VueUiHeatmap added missing label colors in bottom legend
1 parent de74912 commit f7c8dff

File tree

2 files changed

+3
-1
lines changed

2 files changed

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

src/components/vue-ui-heatmap.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ defineExpose({
502502
:y="drawingArea.bottom + heatmapConfig.style.layout.cells.height * 2 + heatmapConfig.style.legend.fontSize * 2"
503503
text-anchor="start"
504504
:font-size="heatmapConfig.style.legend.fontSize * 2"
505+
:fill="heatmapConfig.style.legend.color"
505506
>
506507
{{ Number(minValue.toFixed(heatmapConfig.style.legend.roundingValue)).toLocaleString() }}
507508
</text>
@@ -510,6 +511,7 @@ defineExpose({
510511
:y="drawingArea.bottom + heatmapConfig.style.layout.cells.height * 2 + heatmapConfig.style.legend.fontSize * 2"
511512
text-anchor="end"
512513
:font-size="heatmapConfig.style.legend.fontSize * 2"
514+
:fill="heatmapConfig.style.legend.color"
513515
>
514516
{{ Number(maxValue.toFixed(heatmapConfig.style.legend.roundingValue)).toLocaleString() }}
515517
</text>

0 commit comments

Comments
 (0)