Skip to content

Commit 75720db

Browse files
committed
Dev environment - Update testing arena
1 parent a9b6fa2 commit 75720db

File tree

6 files changed

+28
-9
lines changed

6 files changed

+28
-9
lines changed

TestingArena/ArenaVueUiCandlestick.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ const model = ref([
116116
{ key: 'style.zoom.highlightColor', def: '#4A4A4A', type: 'color' },
117117
{ key: 'style.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42},
118118
{ key: 'style.zoom.useResetSlot', def: false, type: 'checkbox'},
119+
{ key: 'style.zoom.startIndex', def: 2, type: 'number', min: 0, max: 1000},
120+
{ key: 'style.zoom.endIndex', def: 6, type: 'number', min: 0, max: 1000},
121+
119122
{ key: 'style.title.text', def: 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis', type: 'text'},
120123
{ key: 'style.title.color', def: '#1A1A1A', type: 'color'},
121124
{ key: 'style.title.fontSize', def: 20, type: 'number', min: 8, max: 48},

TestingArena/ArenaVueUiDonutEvolution.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ const model = ref([
106106
{ key: 'style.chart.zoom.fontSize', def: 14, type: 'number', min: 8, max: 48},
107107
{ key: 'style.chart.zoom.color', def: '#CCCCCC', type: 'color'},
108108
{ key: 'style.chart.zoom.highlightColor', def: "#1A1A1A", type: 'color' },
109-
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox'}
109+
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox'},
110+
{ key: 'style.chart.zoom.startIndex', def: 2, type: 'number', min: 0, max: 100},
111+
{ key: 'style.chart.zoom.endIndex', def: 6, type: 'number', min: 0, max: 100},
110112
]);
111113
112114
const themeOptions = ref([

TestingArena/ArenaVueUiQuickChart.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ const model = ref([
194194
{ key: 'zoomMinimap.lineColor', def: '#1A1A1A', type: 'color'},
195195
{ key: 'zoomMinimap.selectionRadius', def: 2, type: 'range', min: 0, max: 24},
196196
{ key: 'zoomMinimap.indicatorColor', def: '#1A1A1A', type: 'color'},
197+
{ key: 'zoomStartIndex', def: 1, type: 'number', min: 0, max: 100},
198+
{ key: 'zoomEndIndex', def: 3, type: 'number', min: 0, max: 100},
197199
198200
]);
199201

TestingArena/ArenaVueUiStackbar.vue

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const dataset = ref([
4141
},
4242
]);
4343
44-
onMounted(() => {
45-
setTimeout(() => {
46-
dataset.value.push({
47-
name: 'ALT',
48-
series: [100, 100, 100, 100, 100, 100, 100, 100, 100]
49-
})
50-
}, 3000)
51-
})
44+
// onMounted(() => {
45+
// setTimeout(() => {
46+
// dataset.value.push({
47+
// name: 'ALT',
48+
// series: [100, 100, 100, 100, 100, 100, 100, 100, 100]
49+
// })
50+
// }, 3000)
51+
// })
5252
5353
const model = ref([
5454
{ key: 'userOptions.position', def: 'right', type: 'select', options: ['left', 'right']},
@@ -86,6 +86,8 @@ const model = ref([
8686
{ key: 'style.chart.zoom.color', def: '#CCCCCC', type: 'color'},
8787
{ key: 'style.chart.zoom.highlightColor', def: '#5A5A5A', type: 'color'},
8888
{ key: 'style.chart.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42},
89+
{ key: 'style.chart.zoom.startIndex', def:1, type: 'number', min: 0, max: 100},
90+
{ key: 'style.chart.zoom.endIndex', def: 2, type: 'number', min: 0, max: 100},
8991
9092
{ key: 'style.chart.tooltip.show', def: true, type: 'checkbox'},
9193
{ key: 'style.chart.tooltip.backgroundColor', def: '#FFFFFF', type: 'color'},
@@ -222,6 +224,11 @@ const step = ref(0);
222224
</LocalVueUiStackbar>
223225
</div>
224226

227+
<!-- <div style="width: 200px; position: fixed; top: 64px; left: 400px; transform-origin: right top; transform: translateY(0px)">
228+
<LocalVueUiStackbar :dataset="dataset" :config="config" :key="`local_${step}`">
229+
</LocalVueUiStackbar>
230+
</div> -->
231+
225232
<Box>
226233
<template #title>VueUiStackbar</template>
227234

TestingArena/ArenaVueUiXy.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ const model = ref([
227227
{ key: 'chart.zoom.minimap.lineColor', def: '#1A1A1A', type: 'color'},
228228
{ key: 'chart.zoom.minimap.selectionRadius', def: 2, type: 'number', min: 0, max: 24},
229229
{ key: 'chart.zoom.minimap.indicatorColor', def: '#1A1A1A', type: 'color'},
230+
{ key: 'chart.zoom.startIndex', def: 2, type: 'number', min: 0, max: 100},
231+
{ key: 'chart.zoom.endIndex', def: 6, type: 'number', min: 0, max: 100},
230232
231233
{ key: 'chart.padding.top', def: 36, type: 'number', min: 0, max: 100, label: "top", category: 'padding' },
232234
{ key: 'chart.padding.right', def: 36, type: 'number', min: 0, max: 100, label: 'right', category: 'padding' },

TestingArena/ArenaVueUiXyCanvas.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ const model = ref([
126126
{ key: 'style.chart.zoom.highlightColor', def: '#4A4A4A', type: 'color' },
127127
{ key: 'style.chart.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42 },
128128
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox' },
129+
{ key: 'style.chart.zoom.startIndex', def: 100, type: 'number', min: 0, max: 1000},
130+
{ key: 'style.chart.zoom.endIndex', def: 400, type: 'number', min: 0, max: 1000},
131+
129132
{ key: 'style.chart.selector.show', def: true, type: 'checkbox' },
130133
{ key: 'style.chart.selector.color', def: '#1A1A1A', type: 'color' },
131134
{ key: 'style.chart.selector.dashed', def: false, type: 'checkbox' },

0 commit comments

Comments
 (0)