Skip to content

Commit 6b91f17

Browse files
committed
Dev environment - Update testing arena
1 parent 01f8dec commit 6b91f17

File tree

6 files changed

+50
-20
lines changed

6 files changed

+50
-20
lines changed

TestingArena/ArenaVueUiCandlestick.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,16 @@ const model = ref([
113113
{ key: 'style.layout.candle.gradient.intensity', def: 40, type: 'range', min: 0, max: 100}, // not applied ?
114114
{ key: 'style.layout.candle.gradient.underlayer', def: '#FFFFFF', type: 'color'},
115115
{ key: 'style.layout.candle.widthRatio', def: 0.5, type: 'number', min: 0.1, max: 1, step: 0.1},
116+
116117
{ key: 'style.zoom.show', def: true, type: 'checkbox'},
117118
{ key: 'style.zoom.color', def: '#CCCCCC', type: 'color'},
118119
{ key: 'style.zoom.highlightColor', def: '#4A4A4A', type: 'color' },
119120
{ key: 'style.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42},
120121
{ key: 'style.zoom.useResetSlot', def: false, type: 'checkbox'},
121122
{ key: 'style.zoom.startIndex', def: 2, type: 'number', min: 0, max: 1000},
122123
{ key: 'style.zoom.endIndex', def: 6, type: 'number', min: 0, max: 1000},
124+
{ key: 'style.zoom.enableRangeHandles', def: true, type: 'chexkbox'},
125+
{ key: 'style.zoom.enableSelectionDrag', def: true, type: 'chexkbox'},
123126
124127
{ key: 'style.title.text', def: 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis', type: 'text'},
125128
{ key: 'style.title.color', def: '#1A1A1A', type: 'color'},

TestingArena/ArenaVueUiDonutEvolution.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ const model = ref([
111111
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox'},
112112
{ key: 'style.chart.zoom.startIndex', def: 2, type: 'number', min: 0, max: 100},
113113
{ key: 'style.chart.zoom.endIndex', def: 6, type: 'number', min: 0, max: 100},
114+
{ key: 'style.chart.zoom.enableRangeHandles', def: true, type: 'checkbox'},
115+
{ key: 'style.chart.zoom.enableSelectionDrag', def: true, type: 'checkbox'},
114116
]);
115117
116118
const themeOptions = ref([

TestingArena/ArenaVueUiQuickChart.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ const model = ref([
198198
{ key: 'zoomMinimap.indicatorColor', def: '#1A1A1A', type: 'color'},
199199
{ key: 'zoomStartIndex', def: 1, type: 'number', min: 0, max: 100},
200200
{ key: 'zoomEndIndex', def: 3, type: 'number', min: 0, max: 100},
201-
201+
{ key: 'zoomEnableRangeHandles', def: true, type: 'chexkbox'},
202+
{ key: 'zoomEnableSelectionDrag', def: true, type: 'chexkbox'},
202203
]);
203204
204205
const themeOptions = ref([

TestingArena/ArenaVueUiStackbar.vue

Lines changed: 39 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,47 @@ import { useArena } from "../src/useArena";
1717
// },
1818
// ]);
1919
20-
const dataset = ref([
20+
const dataset = computed(() => {
21+
return [
2122
{
22-
name: "Serie 1",
23-
series: [0, 0, 30],
24-
color: "rgba(255,0,0,0.5)"
23+
name: "Series 1",
24+
series: [
25+
10, 20, 30, 10, 20, 4, 4, 5, 99, 34, 8, 43, 2, 8, 0, 52, 5, 3, 6, 23, 9,
26+
18, 3, 5, 87, 5, 3, 5, 25, 12,
27+
],
28+
color: "#5f8aee",
2529
},
2630
{
27-
name: "Serie 2",
28-
series: [0, -20, -30],
31+
name: "Series 2",
32+
series: [20, 40, 60, 20, 10],
33+
color: "#42d392",
2934
},
30-
{
31-
name: "Serie 3",
32-
series: [0, 5, -5, -10],
33-
},
34-
{
35-
name: "Serie 4",
36-
series: [0, 5, -5],
37-
},
38-
{
39-
name: "Serie 4",
40-
series: [0, -5, 5],
41-
},
42-
]);
35+
];
36+
});
37+
38+
// const dataset = ref([
39+
// {
40+
// name: "Serie 1",
41+
// series: [0, 0, 30],
42+
// color: "rgba(255,0,0,0.5)"
43+
// },
44+
// {
45+
// name: "Serie 2",
46+
// series: [0, -20, -30],
47+
// },
48+
// {
49+
// name: "Serie 3",
50+
// series: [0, 5, -5, -10],
51+
// },
52+
// {
53+
// name: "Serie 4",
54+
// series: [0, 5, -5],
55+
// },
56+
// {
57+
// name: "Serie 4",
58+
// series: [0, -5, 5],
59+
// },
60+
// ]);
4361
4462
// onMounted(() => {
4563
// setTimeout(() => {
@@ -88,6 +106,8 @@ const model = ref([
88106
{ key: 'style.chart.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42},
89107
{ key: 'style.chart.zoom.startIndex', def:1, type: 'number', min: 0, max: 100},
90108
{ key: 'style.chart.zoom.endIndex', def: 2, type: 'number', min: 0, max: 100},
109+
{ key: 'style.chart.zoom.enableRangeHandles', def: true, type: 'chexkbox'},
110+
{ key: 'style.chart.zoom.enableSelectionDrag', def: true, type: 'chexkbox'},
91111
92112
{ key: 'style.chart.tooltip.show', def: true, type: 'checkbox'},
93113
{ key: 'style.chart.tooltip.backgroundColor', def: '#FFFFFF', type: 'color'},

TestingArena/ArenaVueUiXy.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ const model = ref([
221221
{ key: 'chart.zoom.highlightColor', def: '#4A4A4A', type: 'color' },
222222
{ key: 'chart.zoom.fontSize', def: 14, type: 'number', min: 8, max: 42},
223223
{ key: 'chart.zoom.useResetSlot', def: false, type: 'checkbox'},
224+
{ key: 'chart.zoom.enableRangeHandles', def: true, type: 'chexkbox'},
225+
{ key: 'chart.zoom.enableSelectionDrag', def: true, type: 'checkbox'},
224226
225227
{ key: 'chart.zoom.minimap.show', def: true, type: 'checkbox'},
226228
{ key: 'chart.zoom.minimap.smooth', def: true, type: 'checkbox'},

TestingArena/ArenaVueUiXyCanvas.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ const model = ref([
130130
{ key: 'style.chart.zoom.useResetSlot', def: false, type: 'checkbox' },
131131
{ key: 'style.chart.zoom.startIndex', def: 100, type: 'number', min: 0, max: 1000},
132132
{ key: 'style.chart.zoom.endIndex', def: 400, type: 'number', min: 0, max: 1000},
133+
{ key: 'style.chart.zoom.enableRangeHandles', def: true, type: 'checkbox'},
134+
{ key: 'style.chart.zoom.enableSelectionDrag', def: true, type: 'checkbox'},
133135
134136
{ key: 'style.chart.selector.show', def: true, type: 'checkbox' },
135137
{ key: 'style.chart.selector.color', def: '#1A1A1A', type: 'color' },

0 commit comments

Comments
 (0)