Skip to content

Commit f20ddb2

Browse files
committed
Dev environment - Update VueUiSparkStackbar testing arena
1 parent 563efc7 commit f20ddb2

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

TestingArena/ArenaVueUiSparkStackbar.vue

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,15 @@ const model = ref([
8787
{ key: 'style.title.subtitle.color', def: '#A1A1A1', type: 'color'},
8888
{ key: 'style.title.subtitle.text', def: 'Lorem ipsum dolor sic amet'},
8989
{ key: 'style.title.subtitle.fontSize', def: 12, type: 'number', min:8, max: 24},
90-
{ key: 'style.title.subtitle.bold', def: false, type: 'checkbox'}
90+
{ key: 'style.title.subtitle.bold', def: false, type: 'checkbox'},
91+
92+
{ key: 'style.tooltip.show', def: true, type: 'checkbox', label: 'show', category: 'tooltip' },
93+
{ key: 'style.tooltip.backgroundColor', def: '#FFFFFF', type: 'color', label: 'backgroundColor', category: 'tooltip' },
94+
{ key: 'style.tooltip.color', def: '#1A1A1A', type: 'color', label: 'textColor', category: 'tooltip' },
95+
{ key: 'style.tooltip.fontSize', def: 14, type: 'number', min: 6, max: 24, label: 'fontSize', category: 'tooltip' },
96+
{ key: 'style.tooltip.backgroundOpacity', def: 60, type: 'range', min: 0, max: 100},
97+
{ key: 'style.tooltip.position', def: 'center', type: 'select', options: ['left', 'center', 'right']},
98+
{ key: 'style.tooltip.offsetY', def: 24, type: 'number', min: 0, max: 48},
9199
])
92100
93101
const themeOptions = ref([
@@ -115,6 +123,12 @@ const config = computed(() => {
115123
return `f - ${value}`
116124
}
117125
}
126+
},
127+
tooltip: {
128+
...c.style.tooltip,
129+
// customFormat: ({ datapoint }) => {
130+
// return datapoint.name
131+
// }
118132
}
119133
},
120134
theme: currentTheme.value,

0 commit comments

Comments
 (0)