Skip to content

Commit 0e0f4b3

Browse files
committed
Fix - VueUiWorld - Fix legend colors
1 parent 0eaf5a3 commit 0e0f4b3

File tree

4 files changed

+173
-265
lines changed

4 files changed

+173
-265
lines changed

TestingArena/ArenaVueUiWorld.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import Box from "./Box.vue";
66
import convertArrayToObject from "./convertModel";
77
88
const dataset = ref({
9-
AFG: { value: 20 }, // Afghanistan
10-
ALB: { value: 18 }, // Albania
9+
AFG: { value: 20, category: 'CAT1', color: 'red' }, // Afghanistan
10+
ALB: { value: 18, category: 'CAT2', color: 'blue' }, // Albania
1111
DZA: { value: 225 }, // Algeria
1212
AND: { value: 3 }, // Andorra
1313
AGO: { value: 74 }, // Angola

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@
110110
"vitest": "^3.1.1",
111111
"vue": "^3.5.14"
112112
}
113-
}
113+
}

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ const components = ref([ //------|
123123
* Modify the index to display a component
124124
* [0] = VueUiXy
125125
*/
126-
const selectedComponent = ref(components.value[53]);
126+
const selectedComponent = ref(components.value[52]);
127127
128128
/**
129129
* Legacy testing arena where some non chart components can be tested

0 commit comments

Comments
 (0)