Skip to content

Commit 063accc

Browse files
committed
Dev environment - Update testing arena
1 parent faccfe9 commit 063accc

File tree

7 files changed

+45
-25
lines changed

7 files changed

+45
-25
lines changed

TestingArena/ArenaVueUiHeatmap.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ const config = computed(() => {
130130
...c.style.tooltip,
131131
customFormat: ({ datapoint }) => {
132132
let html = '';
133-
console.log(datapoint);
134133
return "test"
135134
}
136135
}
@@ -150,7 +149,6 @@ const config = computed(() => {
150149
value: {
151150
...c.style.layout.cells.value,
152151
formatter: ({value, config}) => {
153-
console.log(config)
154152
return `f - ${value}`
155153
}
156154
}

TestingArena/ArenaVueUiQuadrant.vue

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ const dataset = ref([
6565
name: 'Serie 3',
6666
shape: 'hexagon',
6767
series: [
68-
{
69-
name: "Hexagon 1",
70-
x: -39,
71-
y: 39
72-
},
73-
{
74-
name: "Hexagon 2",
75-
x: -2,
76-
y: 45
77-
},
78-
{
79-
name: "Hexagon 3",
80-
x: -15,
81-
y: 30
82-
},
83-
]
68+
{
69+
name: "Hexagon 1",
70+
x: -39,
71+
y: 39
72+
},
73+
{
74+
name: "Hexagon 2",
75+
x: -2,
76+
y: 45
77+
},
78+
{
79+
name: "Hexagon 3",
80+
x: -15,
81+
y: 30
82+
},
83+
]
8484
}
8585
]);
8686

TestingArena/ArenaVueUiQuickChart.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const datasets = ref({
8080
}
8181
],
8282
donut: [
83-
{ name: 'Serie 1', value: 24},
83+
{ name: 'Serie 1', value: 12},
8484
{ name: 'Serie 2', value: 12},
8585
{ name: 'Serie 3', value: 6},
8686
{ name: 'Serie 4', value: 3},

TestingArena/ArenaVueUiScatter.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ const config = computed(() => {
202202
...c.style.tooltip,
203203
customFormat: ({ datapoint }) => {
204204
let html = '';
205-
console.log(datapoint);
205+
// console.log(datapoint);
206206
return "test"
207207
}
208208
}
@@ -224,13 +224,13 @@ const config = computed(() => {
224224
...c.style.layout.plots.selectors.labels,
225225
x: {
226226
formatter: ({value, config}) => {
227-
console.log(config)
227+
// console.log(config)
228228
return `X | ${value}`
229229
}
230230
},
231231
y: {
232232
formatter: ({value, config}) => {
233-
console.log(config)
233+
// console.log(config)
234234
return `Y | ${value}`
235235
}
236236
}

TestingArena/ArenaVueUiSparkStackbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const config = computed(() => {
7979
value: {
8080
...c.style.legend.value,
8181
formatter: ({value, config }) => {
82-
console.log(config)
82+
// console.log(config)
8383
return `f - ${value}`
8484
}
8585
}

TestingArena/ArenaVueUiSparkTrend.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import convertArrayToObject from "./convertModel";
77
88
const datasets = ref({
99
neutral: [10.33, 10.33, 10.33, 10.33, 10.33, 10.33, 10.33, 10.33],
10-
positive: [0, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233.33],
10+
positive: [0, 1, 2, 3, 5, 0, 13, 21, 34, 55, 89, 144, 233.33],
1111
negative: [100, 95, 80, 60, 40, 20, 10, 9, 8, 7, 6, 5, 3, 1.33]
1212
})
1313

TestingArena/ArenaVueUiWaffle.vue

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,29 @@ function selectLegend(legend) {
184184
<div v-if="isPrinting" style="font-size: 100px; opacity: 0.1; transform: rotate(-10deg)">
185185
WATERMARK
186186
</div>
187-
</template>
187+
</template>
188+
<template #cell="{ cell, isSelected }">
189+
<div :style="`opacity:${isSelected ? 1 : 0.3}`">
190+
<VueUiIcon
191+
v-if="cell.name === 'Lorem Ipsum'"
192+
name="lambda"
193+
size="40"
194+
:stroke="cell.color"
195+
/>
196+
<VueUiIcon
197+
v-if="cell.name === 'Dolor Amet'"
198+
name="func"
199+
size="40"
200+
:stroke="cell.color"
201+
/>
202+
<VueUiIcon
203+
v-if="cell.name === 'Dignissimos Ducimus'"
204+
name="mu"
205+
size="40"
206+
:stroke="cell.color"
207+
/>
208+
</div>
209+
</template>
188210
</LocalVueUiWaffle>
189211
</div>
190212

0 commit comments

Comments
 (0)