Skip to content

Commit 249cee7

Browse files
committed
Dev environment - Update VueUiSparkline testing arena
1 parent 8e48e43 commit 249cee7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

TestingArena/ArenaVueUiSparkline.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ const model = ref([
163163
{ key: 'style.verticalIndicator.strokeWidth', def: 1.5, type: 'number', min: 0, max: 6, step: 0.5},
164164
{ key: 'style.verticalIndicator.color', def: '#3366CC', type: 'color'},
165165
{ key: 'style.verticalIndicator.strokeDasharray', def: 3, type:'number', min: 0, max: 48},
166-
{ key: 'style.dataLabel.show', def: true, type: 'checkbox'},
166+
{ key: 'style.dataLabel.show', def: false, type: 'checkbox'},
167167
{ key: 'style.dataLabel.position', def: 'left', type: 'select', options:['left', 'right']},
168168
{ key: 'style.dataLabel.offsetX', def: 0, type: 'number', min: -100, max: 100},
169169
{ key: 'style.dataLabel.offsetY', def: 0, type: 'number', min: -100, max: 100},
@@ -174,7 +174,7 @@ const model = ref([
174174
{ key: 'style.dataLabel.valueType', def: 'latest', type: 'select', options: ['latest', 'sum', 'average']},
175175
{ key: 'style.dataLabel.prefix', def: 'P', type: 'text'},
176176
{ key: 'style.dataLabel.suffix', def: 'S', type: 'text'},
177-
{ key: 'style.title.show', def: true, type: 'checkbox'},
177+
{ key: 'style.title.show', def: false, type: 'checkbox'},
178178
{ key: 'style.title.textAlign', def: 'left', type: 'select', options: ['left', 'center', 'right']},
179179
{ key: 'style.title.color', def: '#1A1A1A', type: 'color'},
180180
{ key: 'style.title.fontSize', def: 16, type: 'number', min: 8, max: 48},
@@ -262,6 +262,11 @@ const step = ref(0)
262262

263263
<template #local>
264264
<LocalVueUiSparkline :dataset="isPropsToggled ? alternateDataset : dataset" :config="isPropsToggled ? alternateConfig : config" :key="`local_${step}`">
265+
266+
<template #tooltip="{ absoluteValue }">
267+
{{ absoluteValue }}
268+
</template>
269+
265270
<template #before="{ selected, latest, sum, average, median, trend }">
266271
<div style="color: white;height: 180px;font-size:11px">
267272
#BEFORE

0 commit comments

Comments
 (0)