Skip to content

Commit

Permalink
VueUiHeatmap added missing label colors in bottom legend
Browse files Browse the repository at this point in the history
  • Loading branch information
graphieros committed Mar 10, 2024
1 parent de74912 commit f7c8dff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-data-ui",
"private": false,
"version": "2.0.16",
"version": "2.0.17",
"type": "module",
"description": "A user-empowering data visualization Vue components library",
"keywords": [
Expand Down
2 changes: 2 additions & 0 deletions src/components/vue-ui-heatmap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ defineExpose({
:y="drawingArea.bottom + heatmapConfig.style.layout.cells.height * 2 + heatmapConfig.style.legend.fontSize * 2"
text-anchor="start"
:font-size="heatmapConfig.style.legend.fontSize * 2"
:fill="heatmapConfig.style.legend.color"
>
{{ Number(minValue.toFixed(heatmapConfig.style.legend.roundingValue)).toLocaleString() }}
</text>
Expand All @@ -510,6 +511,7 @@ defineExpose({
:y="drawingArea.bottom + heatmapConfig.style.layout.cells.height * 2 + heatmapConfig.style.legend.fontSize * 2"
text-anchor="end"
:font-size="heatmapConfig.style.legend.fontSize * 2"
:fill="heatmapConfig.style.legend.color"
>
{{ Number(maxValue.toFixed(heatmapConfig.style.legend.roundingValue)).toLocaleString() }}
</text>
Expand Down

0 comments on commit f7c8dff

Please sign in to comment.