@@ -163,7 +163,7 @@ const model = ref([
163
163
{ key: ' style.verticalIndicator.strokeWidth' , def: 1.5 , type: ' number' , min: 0 , max: 6 , step: 0.5 },
164
164
{ key: ' style.verticalIndicator.color' , def: ' #3366CC' , type: ' color' },
165
165
{ 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' },
167
167
{ key: ' style.dataLabel.position' , def: ' left' , type: ' select' , options: [' left' , ' right' ]},
168
168
{ key: ' style.dataLabel.offsetX' , def: 0 , type: ' number' , min: - 100 , max: 100 },
169
169
{ key: ' style.dataLabel.offsetY' , def: 0 , type: ' number' , min: - 100 , max: 100 },
@@ -174,7 +174,7 @@ const model = ref([
174
174
{ key: ' style.dataLabel.valueType' , def: ' latest' , type: ' select' , options: [' latest' , ' sum' , ' average' ]},
175
175
{ key: ' style.dataLabel.prefix' , def: ' P' , type: ' text' },
176
176
{ 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' },
178
178
{ key: ' style.title.textAlign' , def: ' left' , type: ' select' , options: [' left' , ' center' , ' right' ]},
179
179
{ key: ' style.title.color' , def: ' #1A1A1A' , type: ' color' },
180
180
{ key: ' style.title.fontSize' , def: 16 , type: ' number' , min: 8 , max: 48 },
@@ -262,6 +262,11 @@ const step = ref(0)
262
262
263
263
<template #local >
264
264
<LocalVueUiSparkline :dataset =" isPropsToggled ? alternateDataset : dataset" :config =" isPropsToggled ? alternateConfig : config" :key =" `local_${step}`" >
265
+
266
+ <template #tooltip =" { absoluteValue } " >
267
+ {{ absoluteValue }}
268
+ </template >
269
+
265
270
<template #before =" { selected , latest , sum , average , median , trend } " >
266
271
<div style =" color : white ;height : 180px ;font-size :11px " >
267
272
#BEFORE
0 commit comments