Skip to content

Commit f49d9b8

Browse files
committed
Dev environment - Update testing arenas
1 parent f3e1d7c commit f49d9b8

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

TestingArena/ArenaVueUi3dBar.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ onMounted(async () => {
266266
<template #optionPdf>
267267
PRINT PDF
268268
</template>
269+
<!-- <template #annotator-action-close>
270+
CL
271+
</template> -->
269272
</LocalVueUi3dBar>
270273
</template>
271274

TestingArena/ArenaVueUiSparkHistogram.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,31 +165,40 @@ const model = ref([
165165
{ key: 'style.animation.speedMs', def: 500, type: 'range', min: 100, max: 1000},
166166
{ key: 'style.layout.height', def: 96, type: 'number', min: 30, max: 300},
167167
{ key: 'style.layout.width', def: 640, type: 'number', min: 200, max: 1000},
168-
{ key: 'style.layout.padding.top', def: 24, type: 'number', min: 0, max: 48},
168+
169+
{ key: 'style.layout.padding.top', def: 0, type: 'number', min: 0, max: 48},
169170
{ key: 'style.layout.padding.right', def: 0, type: 'number', min: 0, max: 48},
170171
{ key: 'style.layout.padding.left', def: 0, type: 'number', min: 0, max: 48},
171-
{ key: 'style.layout.padding.bottom', def: 36, type: 'number', min: 0, max: 48},
172+
{ key: 'style.layout.padding.bottom', def: 0, type: 'number', min: 0, max: 48},
173+
172174
{ key: 'style.bars.shape', def: 'square', type: 'select', options: ['circle', 'triangle', 'square', 'diamond', 'pentagon', 'hexagon', 'star']},
173175
{ key: 'style.bars.strokeWidth', def: 0, type: 'number', min: 0, max: 12},
174176
{ key: 'style.bars.colors.positive', def: '#3366CC', type: 'color'},
175177
{ key: 'style.bars.colors.negative', def: '#CC6633', type: 'color'},
176178
{ key: 'style.bars.colors.gradient.show', def: true, type: 'checkbox'},
177179
{ key: 'style.bars.borderRadius', def: 24, type: 'range', min: 0, max: 48},
178180
{ key: 'style.bars.gap', def: 12, type: 'range', min: 0, max: 48},
181+
182+
{ key: 'style.labels.value.show', def: true, type: 'checkbox'},
179183
{ key: 'style.labels.value.fontSize', def: 14, type: 'number', min: 8, max: 48},
180184
{ key: 'style.labels.value.color', def: '#1A1A1A', type: 'color'},
181185
{ key: 'style.labels.value.bold', def: true, type: 'checkbox'},
182186
{ key: 'style.labels.value.rounding', def: 1, type: 'number', min: 0, max: 12},
183187
{ key: 'style.labels.value.prefix', def: 'P', type: 'text'},
184188
{ key: 'style.labels.value.suffix', def: 'S', type: 'text'},
185189
{ key: 'style.labels.value.offsetY', def: 0, type: 'number', min: -100, max: 100},
190+
191+
{ key: 'style.labels.valueLabel.show', def: true, type: 'checkbox'},
186192
{ key: 'style.labels.valueLabel.fontSize', def: 14, type: 'number', min: 8, max: 48},
187193
{ key: 'style.labels.valueLabel.color', def: '#1A1A1A', type: 'color'},
188194
{ key: 'style.labels.valueLabel.bold', def: false, type: 'checkbox'},
189195
{ key: 'style.labels.valueLabel.rounding', def: 1, type: 'number', min: 0, max: 12},
196+
197+
{ key: 'style.labels.timeLabel.show', def: true, type: 'checkbox'},
190198
{ key: 'style.labels.timeLabel.fontSize', def: 12, type: 'number', min: 8, max: 24},
191199
{ key: 'style.labels.timeLabel.color', def: '#1A1A1A', type: 'color'},
192200
{ key: 'style.labels.timeLabel.bold', def: false, type: 'checkbox'},
201+
193202
{ key: 'style.selector.stroke', def: '#3366CC', type: 'color'},
194203
{ key: 'style.selector.strokeWidth', def: 2, type: 'number', min: 0, max: 12},
195204
{ key: 'style.selector.strokeDasharray', def: 2, type: 'number', min: 0, max: 12 },

TestingArena/ArenaVueUiXy.vue

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,25 @@ function freestyle({ data, drawingArea }) {
13061306
responsive: true,
13071307
}" @selectTimeLabel="selectTimeLabel">
13081308
1309+
<!-- <template #annotator-action-close>
1310+
T
1311+
</template>
1312+
<template #annotator-action-color="{ color }">
1313+
<div :style="{ color: color }">{{ color }}</div>
1314+
</template>
1315+
<template #annotator-action-draw="{ mode }">
1316+
{{ mode }}
1317+
</template>
1318+
<template #annotator-action-undo="{ disabled }">
1319+
{{ disabled }}
1320+
</template>
1321+
<template #annotator-action-redo="{ disabled }">
1322+
{{ disabled }}
1323+
</template>
1324+
<template #annotator-action-delete="{ disabled }">
1325+
{{ disabled }}
1326+
</template> -->
1327+
13091328
<template #svg="{ svg }">
13101329
<g>
13111330
<!-- <circle :cx="svg.width / 2" :cy="svg.height / 2" :r="30" fill="#42d392" />

0 commit comments

Comments
 (0)