Skip to content

Commit e75100e

Browse files
committed
Dev environment - Update VueUiWordCloud testing arena
1 parent 30b4964 commit e75100e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

TestingArena/ArenaVueUiWordCloud.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const dataset = ref(createWordCloudDatasetFromPlainText(plainTextDataset.value))
1717
const model = ref([
1818
{ key: 'responsive', def: false, type: 'checkbox'},
1919
{ key: 'userOptions.show', def: true, type: 'checkbox' },
20+
{ key: 'userOptions.buttons.tooltip', def: true, type: 'checkbox' },
2021
{ key: 'userOptions.buttons.pdf', def: true, type: 'checkbox' },
2122
{ key: 'userOptions.buttons.csv', def: true, type: 'checkbox' },
2223
{ key: 'userOptions.buttons.img', def: true, type: 'checkbox' },
@@ -28,7 +29,7 @@ const model = ref([
2829
{ key: 'animationDelayMs', def: 20, type: 'number', min: 0, max: 100},
2930
{ key: 'style.chart.backgroundColor', def: '#FFFFFF20', type: 'color'},
3031
{ key: 'style.chart.color', def: '#1A1A1A', type: 'color'},
31-
{ key: 'style.chart.height', def: 300, type: 'number', min: 200, max: 1000},
32+
{ key: 'style.chart.height', def: 512, type: 'number', min: 200, max: 1000},
3233
{ key: 'style.chart.width', def: 512, type: 'number', min: 200, max: 1000},
3334
{ key: 'style.chart.words.maxFontSize', def: 100, type: 'number', min: 10, max: 300},
3435
{ key: 'style.chart.words.minFontSize', def: 10, type: 'number', min: 10, max: 300},
@@ -61,7 +62,15 @@ const model = ref([
6162
{ key: 'style.chart.zoom.show', def: true, type: 'checkbox'},
6263
{ key: 'style.chart.zoom.color', def: '#CCCCCC', type: 'color'},
6364
{ key: 'style.chart.zoom.highlightColor', def: '#4A4A4A', type: 'color'},
64-
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox'}
65+
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox'},
66+
67+
{ key: 'style.chart.tooltip.show', def: true, type: 'checkbox', label: 'show', category: 'tooltip' },
68+
{ key: 'style.chart.tooltip.backgroundColor', def: '#FFFFFF', type: 'color', label: 'backgroundColor', category: 'tooltip' },
69+
{ key: 'style.chart.tooltip.color', def: '#1A1A1A', type: 'color', label: 'textColor', category: 'tooltip' },
70+
{ key: 'style.chart.tooltip.fontSize', def: 14, type: 'number', min: 6, max: 24, label: 'fontSize', category: 'tooltip' },
71+
{ key: 'style.chart.tooltip.backgroundOpacity', def: 100, type: 'range', min: 0, max: 100},
72+
{ key: 'style.chart.tooltip.position', def: 'center', type: 'select', options: ['left', 'center', 'right']},
73+
{ key: 'style.chart.tooltip.offsetY', def: 24, type: 'number', min: 0, max: 48},
6574
]);
6675
6776
const themeOptions = ref([

0 commit comments

Comments
 (0)