Skip to content

Commit a3d8f6f

Browse files
committed
Dev environment - Update testing arena
1 parent 07709dd commit a3d8f6f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

TestingArena/ArenaVueUiSparkHistogram.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const dataset = ref([
1111
valueLabel: "20.35%",
1212
timeLabel: "09:00",
1313
intensity: 1,
14+
color: '#FF0000'
1415
},
1516
{
1617
value: 1.3,
@@ -24,6 +25,7 @@ const dataset = ref([
2425
valueLabel: "60%",
2526
timeLabel: "11:00",
2627
intensity: 0.6,
28+
color: '#00FF00'
2729
2830
},
2931
{

TestingArena/ArenaVueUiSparkbar.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const model = ref([
5656
{ key: 'style.bar.gradient.intensity', def: 40, type: 'range', min: 0, max: 100},
5757
{ key: 'style.bar.gradient.underlayerColor', def: '#FFFFFF', type: 'color'},
5858
{ key: 'style.labels.fontSize', def: 16, type: 'number', min: 8, max: 48},
59-
{ key: 'style.labels.name.position', def: 'top', type: 'select', options: ['left', 'top']},
59+
{ key: 'style.labels.name.position', def: 'top', type: 'select', options: ['left', 'top', 'top-left', 'top-center', 'top-right', 'right']},
6060
{ key: 'style.labels.name.width', def: '100%', type: 'text'},
6161
{ key: 'style.labels.name.color', def: '#1A1A1A', type: 'color'},
6262
{ key: 'style.labels.name.bold', def: false, type: 'checkbox'},
@@ -125,11 +125,11 @@ const showTitleSlot = ref(false);
125125
</div>
126126
</template>
127127

128-
<template #data-label="{ bar }">
128+
<!-- <template #data-label="{ bar }">
129129
<div style="width:100%">
130130
{{ bar.name }}: {{ bar.valueLabel }} to {{ bar.targetLabel }}
131131
</div>
132-
</template>
132+
</template> -->
133133
</LocalVueUiSparkbar>
134134
</template>
135135

0 commit comments

Comments
 (0)