Skip to content

Commit 834e00f

Browse files
committed
Dev environment - Update VueUiHeatmap testing arena
1 parent 1f051b2 commit 834e00f

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

TestingArena/ArenaVueUiHeatmap.vue

+17-7
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const model = ref([
8585
{ key: 'userOptions.keepStateOnChartLeave', def: true, type: 'checkbox'},
8686
8787
{ key: 'style.fontFamily', def: "inherit", type: 'text'},
88-
{ key: 'style.backgroundColor', def: '#FFFFFF20', type: 'color'},
88+
{ key: 'style.backgroundColor', def: '#FFFFFF', type: 'color'},
8989
{ key: 'style.color', def: '#1A1A1A', type: 'color'},
9090
{ key: 'style.layout.padding.top', def: 36, type: 'number', min: 0, max: 100},
9191
{ key: 'style.layout.padding.right', def: 12, type: 'number', min: 0, max: 100},
@@ -103,6 +103,16 @@ const model = ref([
103103
{ key: 'style.layout.cells.spacing', def: 2, type: 'number', min: 0, max: 12},
104104
{ key: 'style.layout.cells.selected.border', def: 4, type: 'number', min: 0, max: 12}, //
105105
{ key: 'style.layout.cells.selected.color', def: '#1A1A1A', type: 'color'},
106+
107+
{ key: 'style.layout.cells.rowTotal.value.show', def: true, type: 'checkbox'},
108+
{ key: 'style.layout.cells.rowTotal.color.show', def: true, type: 'checkbox'},
109+
110+
{ key: 'style.layout.cells.columnTotal.value.show', def: true, type: 'checkbox'},
111+
{ key: 'style.layout.cells.columnTotal.value.rotation', def: 0, type: 'range', min: -90, max: 90 },
112+
{ key: 'style.layout.cells.columnTotal.value.offsetX', def: 0, type: 'number', min: -30, max: 30},
113+
{ key: 'style.layout.cells.columnTotal.value.offsetY', def: 0, type: 'number', min: -30, max: 30},
114+
{ key: 'style.layout.cells.columnTotal.color.show', def: true, type: 'checkbox'},
115+
106116
{ key: 'style.layout.dataLabels.prefix', def: 'P', type: 'text'},
107117
{ key: 'style.layout.dataLabels.suffix', def: 'S', type: 'text'},
108118
{ key: 'style.layout.dataLabels.xAXis.show', def: true, type: 'checkbox'},
@@ -170,7 +180,7 @@ const themeOptions = ref([
170180
"celebrationNight"
171181
])
172182
173-
const currentTheme = ref(themeOptions.value[6])
183+
const currentTheme = ref(themeOptions.value[0])
174184
175185
const config = computed(() => {
176186
const c = convertArrayToObject(model.value);
@@ -201,9 +211,9 @@ const config = computed(() => {
201211
...c.style.layout.cells,
202212
value: {
203213
...c.style.layout.cells.value,
204-
formatter: ({value, config}) => {
205-
return `f - ${value}`
206-
}
214+
// formatter: ({value, config}) => {
215+
// return `f - ${value}`
216+
// }
207217
}
208218
},
209219
dataLabels: {
@@ -244,9 +254,9 @@ const step = ref(0)
244254

245255
<template #local>
246256
<LocalVueUiHeatmap :dataset="isPropsToggled ? alternateDataset : dataset" :config="isPropsToggled ? alternateConfig : config" :key="`local_${step}`" ref="local">
247-
<template #chart-background>
257+
<!-- <template #chart-background>
248258
<div style="width: 100%; height: 100%; background: radial-gradient(at top left, red, white)"/>
249-
</template>
259+
</template> -->
250260

251261
<template #optionPdf>
252262
PRINT PDF

0 commit comments

Comments
 (0)