@@ -364,6 +364,33 @@ const donutDataset = [
364
364
},
365
365
];
366
366
367
+ const waffleDataset = [
368
+ {
369
+ name: " serie 1" ,
370
+ color: " " ,
371
+ values: [1 ],
372
+ shape: " star"
373
+ },
374
+ {
375
+ name: " serie 2" ,
376
+ color: " " ,
377
+ values: [2 ],
378
+ shape: " diamond"
379
+ },
380
+ {
381
+ name: " serie 3" ,
382
+ color: " " ,
383
+ values: [3 ],
384
+ shape: " triangle"
385
+ },
386
+ {
387
+ name: " serie 4" ,
388
+ color: " " ,
389
+ values: [3 , 5 ],
390
+ shape: " hexagon"
391
+ },
392
+ ];
393
+
367
394
368
395
const radarDataset = ref ({
369
396
categories: [
@@ -2900,9 +2927,7 @@ function testEmit2(data) {
2900
2927
</template >
2901
2928
<template #dev >
2902
2929
<VueDataUiTest component =" VueUiNestedDonuts" :dataset =" nestedDonutsDataset" :config =" nestedDonutsConfig" >
2903
- <template #legend =" { legend } " >
2904
- {{ legend }}
2905
- </template >
2930
+
2906
2931
</VueDataUiTest >
2907
2932
</template >
2908
2933
<template #prod >
@@ -2990,9 +3015,7 @@ function testEmit2(data) {
2990
3015
<template #svg =" { svg } " >
2991
3016
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
2992
3017
</template >
2993
- <template #legend =" { legend } " >
2994
- {{ legend }}
2995
- </template >
3018
+
2996
3019
</VueDataUiTest >
2997
3020
</template >
2998
3021
<template #prod >
@@ -3092,9 +3115,7 @@ function testEmit2(data) {
3092
3115
<template #svg =" { svg } " >
3093
3116
<circle :cx =" svg.absoluteWidth / 2" :cy =" svg.absoluteHeight / 2" :r =" 30" fill =" #FF000033" />
3094
3117
</template >
3095
- <template #legend =" { legend } " >
3096
- {{ legend }}
3097
- </template >
3118
+
3098
3119
</VueDataUiTest >
3099
3120
</template >
3100
3121
<template #prod >
@@ -3235,9 +3256,7 @@ function testEmit2(data) {
3235
3256
<template #svg =" { svg } " >
3236
3257
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3237
3258
</template >
3238
- <template #legend =" { legend } " >
3239
- {{ legend }}
3240
- </template >
3259
+
3241
3260
</VueDataUiTest >
3242
3261
</template >
3243
3262
<template #prod >
@@ -3374,11 +3393,6 @@ function testEmit2(data) {
3374
3393
@selectLegend =" selectLegendXY"
3375
3394
@selectX =" selectX"
3376
3395
>
3377
- <template #legend =" { legend } " >
3378
- <div v-for =" item in legend" >
3379
- {{ item.name }} {{ item.color }}
3380
- </div >
3381
- </template >
3382
3396
</VueDataUiTest >
3383
3397
<VueDataUiTest
3384
3398
component =" VueUiXy"
@@ -3399,9 +3413,7 @@ function testEmit2(data) {
3399
3413
<template #svg =" { svg } " >
3400
3414
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3401
3415
</template >
3402
- <template #legend =" { legend } " >
3403
- {{ legend }}
3404
- </template >
3416
+
3405
3417
</VueDataUi >
3406
3418
<VueDataUi
3407
3419
component =" VueUiXy"
@@ -3462,9 +3474,7 @@ function testEmit2(data) {
3462
3474
<template #svg =" { svg } " >
3463
3475
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3464
3476
</template >
3465
- <template #legend =" { legend } " >
3466
- {{ legend }}
3467
- </template >
3477
+
3468
3478
</VueDataUiTest >
3469
3479
</template >
3470
3480
<template #prod >
@@ -3506,9 +3516,7 @@ function testEmit2(data) {
3506
3516
<template #svg =" { svg } " >
3507
3517
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3508
3518
</template >
3509
- <template #legend =" { legend } " >
3510
- {{ legend }}
3511
- </template >
3519
+
3512
3520
</VueDataUiTest >
3513
3521
</template >
3514
3522
<template #prod >
@@ -3551,9 +3559,7 @@ function testEmit2(data) {
3551
3559
<template #svg =" { svg } " >
3552
3560
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3553
3561
</template >
3554
- <template #legend =" { legend } " >
3555
- {{ legend }}
3556
- </template >
3562
+
3557
3563
</VueDataUiTest >
3558
3564
</template >
3559
3565
<template #prod >
@@ -3596,9 +3602,7 @@ function testEmit2(data) {
3596
3602
<template #svg =" { svg } " >
3597
3603
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3598
3604
</template >
3599
- <template #legend =" { legend } " >
3600
- {{ legend }}
3601
- </template >
3605
+
3602
3606
</VueDataUiTest >
3603
3607
</template >
3604
3608
<template #prod >
@@ -3645,9 +3649,7 @@ function testEmit2(data) {
3645
3649
<template #svg =" { svg } " >
3646
3650
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3647
3651
</template >
3648
- <template #legend =" { legend } " >
3649
- {{ legend }}
3650
- </template >
3652
+
3651
3653
</VueDataUiTest >
3652
3654
</template >
3653
3655
<template #prod >
@@ -3693,9 +3695,7 @@ function testEmit2(data) {
3693
3695
<template #svg =" { svg } " >
3694
3696
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3695
3697
</template >
3696
- <template #legend =" { legend } " >
3697
- {{ legend }}
3698
- </template >
3698
+
3699
3699
</VueDataUiTest >
3700
3700
</template >
3701
3701
<template #prod >
@@ -3915,9 +3915,7 @@ function testEmit2(data) {
3915
3915
<template #svg =" { svg } " >
3916
3916
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3917
3917
</template >
3918
- <template #legend =" { legend } " >
3919
- {{ legend }}
3920
- </template >
3918
+
3921
3919
</VueDataUiTest >
3922
3920
</template >
3923
3921
<template #prod >
@@ -3961,9 +3959,7 @@ function testEmit2(data) {
3961
3959
<template #svg =" { svg } " >
3962
3960
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
3963
3961
</template >
3964
- <template #legend =" { legend } " >
3965
- {{ legend }}
3966
- </template >
3962
+
3967
3963
</VueDataUiTest >
3968
3964
</template >
3969
3965
<template #prod >
@@ -3999,25 +3995,20 @@ function testEmit2(data) {
3999
3995
<VueDataUiTest
4000
3996
component =" VueUiWaffle"
4001
3997
ref =" waffletest"
4002
- :dataset =" donutDataset "
3998
+ :dataset =" waffleDataset "
4003
3999
:config =" waffleConfig"
4004
4000
@selectLegend =" selectLegendWaffle"
4005
4001
>
4006
4002
<template #svg =" { svg } " >
4007
4003
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
4008
4004
</template >
4009
- <template #legend =" { legend } " >
4010
- <div v-for =" item in legend" >
4011
- {{ legend }}
4012
- </div >
4013
- </template >
4014
4005
</VueDataUiTest >
4015
4006
</template >
4016
4007
<template #prod >
4017
4008
<VueDataUi
4018
4009
component =" VueUiWaffle"
4019
4010
ref =" waffletest"
4020
- :dataset =" donutDataset "
4011
+ :dataset =" waffleDataset "
4021
4012
:config =" waffleConfig"
4022
4013
@selectLegend =" selectLegendWaffle"
4023
4014
>
@@ -4211,9 +4202,7 @@ function testEmit2(data) {
4211
4202
<template #svg =" { svg } " >
4212
4203
<circle :cx =" svg.width / 2" :cy =" svg.height / 2" :r =" 30" fill =" #FF000033" />
4213
4204
</template >
4214
- <template #legend =" { legend } " >
4215
- {{ legend }}
4216
- </template >
4205
+
4217
4206
</VueDataUiTest >
4218
4207
</template >
4219
4208
<template #prod >
0 commit comments