Skip to content

Commit c72e972

Browse files
committed
Dev environment - Update VueUiGauge testing arena
1 parent 9fb65aa commit c72e972

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

TestingArena/ArenaVueUiGauge.vue

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ const source = ref({
99
base: 100,
1010
value: 25,
1111
series: [
12-
{ from: -100, to: -80, name: 'series 1', nameOffsetRatio: 1.2 },
13-
{ from: -80, to: -65, name: 'series 2', nameOffsetRatio: 1.1 },
14-
{ from: -75, to: 0, name: 'series 3', nameOffsetRatio: 0.6 },
15-
{ from: 0, to: 50, name: 'series 4', nameOffsetRatio: 0 },
16-
{ from: 50, to: 100, name: 'series 5' }
12+
{ from: -100, to: -70, name: 'series 1', nameOffsetRatio: 1},
13+
{ from: -70, to: -35, name: 'series 2', nameOffsetRatio: 1 },
14+
{ from: -35, to: 0, name: 'series 3', nameOffsetRatio: 1 },
15+
{ from: 0, to: 50, name: 'series 4', nameOffsetRatio: 1 },
16+
{ from: 50, to: 100, name: 'series 5' }
1717
]
1818
})
1919
@@ -66,13 +66,13 @@ const model = ref([
6666
{ key: 'userOptions.position', def: 'right', type: 'select', options: ['left', 'right']},
6767
6868
{ key: 'style.fontFamily', def: 'inherit', type: 'text'},
69-
{ key: 'style.chart.backgroundColor', def: '#FFFFFF20', type: 'color'},
69+
{ key: 'style.chart.backgroundColor', def: '#FFFFFF', type: 'color'},
7070
{ key: 'style.chart.color', def: '#1A1A1A', type: 'color'},
7171
{ key: 'style.chart.animation.use', def: true, type: 'checkbox'},
7272
{ key: 'style.chart.animation.speed', def: 1, type: 'range', min: 0, max: 100},
7373
{ key: 'style.chart.animation.acceleration', def: 1, type: 'range', min: 0, max: 10},
7474
75-
{ key: 'style.chart.layout.radiusRatio', def: 1, min: 0.5, max: 1.2, step: 0.01, type: 'range'},
75+
{ key: 'style.chart.layout.radiusRatio', def: 0.8, min: 0.5, max: 1.2, step: 0.01, type: 'range'},
7676
{ key: 'style.chart.layout.track.size', def: 1, type: 'range', min: 0.5, max: 2, step: 0.01},
7777
{ key: 'style.chart.layout.track.useGradient', def: true, type: 'checkbox'},
7878
{ key: 'style.chart.layout.track.gradientIntensity', def: 20, type: 'range', min: 10, max: 30},
@@ -127,8 +127,14 @@ const model = ref([
127127
{ key: 'style.chart.layout.segmentNames.bold', def: false, type: 'checkbox'},
128128
129129
{ key: 'style.chart.layout.segmentNames.markers.show', def: true, type: 'checkbox'},
130-
{ key: 'style.chart.layout.segmentNames.markers.useSerieColor', def: true, type: 'checkbox'},
131-
{ key: 'style.chart.layout.segmentNames.markers.color', def: '#1A1A1A', type: 'color'}
130+
{ key: 'style.chart.layout.segmentNames.markers.useSerieColor', def: true, type: 'checkbox'},
131+
{ key: 'style.chart.layout.segmentNames.markers.color', def: '#1A1A1A', type: 'color'},
132+
133+
{ key: 'style.chart.layout.segmentSeparators.show', def: false, type: 'checkbox'},
134+
{ key: 'style.chart.layout.segmentSeparators.offsetOut', def: 0, type: 'number', min: 0, max: 100 },
135+
{ key: 'style.chart.layout.segmentSeparators.offsetIn', def: 0, type: 'number', min: 0, max: 100 },
136+
{ key: 'style.chart.layout.segmentSeparators.stroke', def: '#1A1A1A', type: 'color' },
137+
{ key: 'style.chart.layout.segmentSeparators.strokeWidth', def: 2, type: 'number', min: 0, max: 12 },
132138
])
133139
134140
const themeOptions = ref([

0 commit comments

Comments
 (0)