@@ -85,7 +85,7 @@ const model = ref([
85
85
{ key: ' userOptions.keepStateOnChartLeave' , def: true , type: ' checkbox' },
86
86
87
87
{ key: ' style.fontFamily' , def: " inherit" , type: ' text' },
88
- { key: ' style.backgroundColor' , def: ' #FFFFFF20 ' , type: ' color' },
88
+ { key: ' style.backgroundColor' , def: ' #FFFFFF ' , type: ' color' },
89
89
{ key: ' style.color' , def: ' #1A1A1A' , type: ' color' },
90
90
{ key: ' style.layout.padding.top' , def: 36 , type: ' number' , min: 0 , max: 100 },
91
91
{ key: ' style.layout.padding.right' , def: 12 , type: ' number' , min: 0 , max: 100 },
@@ -103,6 +103,16 @@ const model = ref([
103
103
{ key: ' style.layout.cells.spacing' , def: 2 , type: ' number' , min: 0 , max: 12 },
104
104
{ key: ' style.layout.cells.selected.border' , def: 4 , type: ' number' , min: 0 , max: 12 }, //
105
105
{ 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
+
106
116
{ key: ' style.layout.dataLabels.prefix' , def: ' P' , type: ' text' },
107
117
{ key: ' style.layout.dataLabels.suffix' , def: ' S' , type: ' text' },
108
118
{ key: ' style.layout.dataLabels.xAXis.show' , def: true , type: ' checkbox' },
@@ -170,7 +180,7 @@ const themeOptions = ref([
170
180
" celebrationNight"
171
181
])
172
182
173
- const currentTheme = ref (themeOptions .value [6 ])
183
+ const currentTheme = ref (themeOptions .value [0 ])
174
184
175
185
const config = computed (() => {
176
186
const c = convertArrayToObject (model .value );
@@ -201,9 +211,9 @@ const config = computed(() => {
201
211
... c .style .layout .cells ,
202
212
value: {
203
213
... c .style .layout .cells .value ,
204
- formatter : ({value, config}) => {
205
- return ` f - ${ value} `
206
- }
214
+ // formatter: ({value, config}) => {
215
+ // return `f - ${value}`
216
+ // }
207
217
}
208
218
},
209
219
dataLabels: {
@@ -244,9 +254,9 @@ const step = ref(0)
244
254
245
255
<template #local >
246
256
<LocalVueUiHeatmap :dataset =" isPropsToggled ? alternateDataset : dataset" :config =" isPropsToggled ? alternateConfig : config" :key =" `local_${step}`" ref =" local" >
247
- <template #chart-background >
257
+ <!-- < template #chart-background>
248
258
<div style="width: 100%; height: 100%; background: radial-gradient(at top left, red, white)"/>
249
- </template >
259
+ </template> -->
250
260
251
261
<template #optionPdf >
252
262
PRINT PDF
0 commit comments