Skip to content

Commit 9838f54

Browse files
committed
Fix - VueUiTreemap - Fix line height issues with default labels; fix cropped rects when zoom is active
1 parent ec9bbc9 commit 9838f54

File tree

6 files changed

+437
-72
lines changed

6 files changed

+437
-72
lines changed

TestingArena/ArenaVueUiTreemap.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ onMounted(() => {
127127
]
128128
},
129129
]
130-
}, 2000)
130+
}, 1000)
131131
})
132132
133133
const isPropsToggled = ref(false);
@@ -178,7 +178,7 @@ const model = ref([
178178
{ key: 'style.chart.layout.sorted', def: true, type: 'checkbox'},
179179
{ key: 'style.chart.layout.rects.stroke', def: '#FFFFFF', type: 'color'},
180180
{ key: 'style.chart.layout.rects.strokeWidth', def: 1, type: 'number', min: 0, max: 12},
181-
{ key: 'style.chart.layout.rects.borderRadius', def: 0, type: 'number', min: 0, max: 24},
181+
{ key: 'style.chart.layout.rects.borderRadius', def: 12, type: 'number', min: 0, max: 24},
182182
{ key: 'style.chart.layout.rects.colorRatio', def: 0.3, type: 'number', min: 0, max: 1, step: 0.01},
183183
{ key: 'style.chart.layout.rects.gradient.show', def: true, type: 'checkbox'},
184184
{ key: 'style.chart.layout.rects.gradient.intensity', def: 30, type: 'range', min:0, max: 100},
@@ -192,6 +192,12 @@ const model = ref([
192192
{ key: 'style.chart.layout.labels.prefix', def: 'Value: ', type: 'text'},
193193
{ key: 'style.chart.layout.labels.suffix', def: '', type: 'text'},
194194
{ key: 'style.chart.layout.labels.rounding', def: 1, type: 'number', min: 0, max: 12},
195+
196+
{ key: 'style.chart.layout.labels.name.show', def: true, type: 'checkbox'},
197+
{ key: 'style.chart.layout.labels.name.bold', def: true, type: 'checkbox'},
198+
{ key: 'style.chart.layout.labels.value.show', def: true, type: 'checkbox'},
199+
{ key: 'style.chart.layout.labels.value.bold', def: true, type: 'checkbox'},
200+
195201
{ key: 'style.chart.legend.backgroundColor', def: '#FFFFFF', type: 'color'},
196202
{ key: 'style.chart.legend.color', def: '#1A1A1A', type: 'color'},
197203
{ key: 'style.chart.legend.show', def: true, type: 'checkbox'},

0 commit comments

Comments
 (0)