Skip to content

Commit 7f178e5

Browse files
committed
v2.1.58
1 parent e3718ac commit 7f178e5

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
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": "2.1.57",
4+
"version": "2.1.58",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
77
"keywords": [

src/App.vue

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3283,14 +3283,24 @@ function selectBar(bar) {
32833283
const tableHeatmapDataset = ref([
32843284
{
32853285
name: "Serie 1",
3286-
values: [-100, "test", 0, 100, 150, 50, 25, 10, 20, 30, 10, 20, 30, 10]
3286+
values: [-100, "test", 0, 100, 150, 50, 25, 10, 20, 30, 10, 20, 30, 10],
3287+
color: 'red',
3288+
shape: 'hexagon'
32873289
},
32883290
{
32893291
name: "Serie 2",
3290-
values: [20, 30, 50, 100, 44, "test"]
3292+
values: [20, 30, 50, 100, 44, "test"],
3293+
color: '#6376DD',
3294+
shape: 'star'
32913295
}
32923296
])
32933297
3298+
const tableHeatmapConfig = ref({
3299+
style: {
3300+
shapeSize: 24
3301+
}
3302+
})
3303+
32943304
const quickDatasetDonut = ref([
32953305
{
32963306
name: 'Serie 2',
@@ -3775,7 +3785,7 @@ const dumbConfig = ref({
37753785
</template>
37763786
</Box>
37773787

3778-
<Box open @copy="copyConfig(PROD_CONFIG.vue_ui_dumbbell)">
3788+
<Box @copy="copyConfig(PROD_CONFIG.vue_ui_dumbbell)">
37793789
<template #title>
37803790
<BaseIcon name="chartDumbbell"/>
37813791
VueUiDumbbell
@@ -3925,7 +3935,7 @@ const dumbConfig = ref({
39253935
</template>
39263936
</Box>
39273937

3928-
<Box @copy="copyConfig(PROD_CONFIG.vue_ui_table_heatmap)">
3938+
<Box open @copy="copyConfig(PROD_CONFIG.vue_ui_table_heatmap)">
39293939
<template #title>
39303940
<BaseIcon name="chartTable"/>
39313941
VueUiTableHeatmap
@@ -3938,7 +3948,7 @@ const dumbConfig = ref({
39383948
<BaseIcon name="fullscreen" stroke="#5f8bee"/> -->
39393949
</template>
39403950
<template #dev>
3941-
<TableHeatmapTest :dataset="tableHeatmapDataset">
3951+
<TableHeatmapTest :dataset="tableHeatmapDataset" :config="tableHeatmapConfig">
39423952
<template #caption>
39433953
<div style="width: 100%; background: red">
39443954
TITLE
@@ -3971,7 +3981,7 @@ const dumbConfig = ref({
39713981
</TableHeatmapTest>
39723982
</template>
39733983
<template #prod>
3974-
<VueDataUi component="VueUiTableHeatmap" :dataset="tableHeatmapDataset">
3984+
<VueDataUi component="VueUiTableHeatmap" :dataset="tableHeatmapDataset" :config="tableHeatmapConfig">
39753985
<template #caption>
39763986
<div style="width: 100%; background: red">
39773987
TITLE
@@ -4616,7 +4626,7 @@ const dumbConfig = ref({
46164626
</template>
46174627
</Box>
46184628

4619-
<Box open @copy="copyConfig(PROD_CONFIG.vue_ui_xy)">
4629+
<Box @copy="copyConfig(PROD_CONFIG.vue_ui_xy)">
46204630
<template #title>
46214631
<BaseIcon name="chartLine" />
46224632
VueUiXy

0 commit comments

Comments
 (0)