Skip to content

Commit 368fec9

Browse files
authored
Canvas: Fix ellipse datalink example in gdev dashboard (#85398)
1 parent 3703196 commit 368fec9

File tree

1 file changed

+34
-63
lines changed

1 file changed

+34
-63
lines changed

devenv/dev-dashboards/panel-canvas/canvas-datalinks.json

+34-63
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
},
9494
"id": 1,
9595
"options": {
96+
"infinitePan": false,
9697
"inlineEditing": false,
9798
"panZoom": false,
9899
"root": {
@@ -487,32 +488,24 @@
487488
},
488489
{
489490
"background": {
490-
"color": {
491-
"fixed": "transparent"
492-
}
491+
"fixed": "#D9D9D9"
493492
},
494493
"border": {
495494
"color": {
496-
"fixed": "dark-green"
497-
}
495+
"fixed": "transparent"
496+
},
497+
"width": 1
498498
},
499499
"config": {
500500
"align": "center",
501-
"backgroundColor": {
502-
"fixed": "#D9D9D9"
503-
},
504-
"borderColor": {
505-
"fixed": "transparent"
506-
},
507501
"color": {
508502
"fixed": "#000000"
509503
},
510504
"text": {
511505
"field": "A-hehwzd",
512506
"mode": "field"
513507
},
514-
"valign": "middle",
515-
"width": 1
508+
"valign": "middle"
516509
},
517510
"constraint": {
518511
"horizontal": "left",
@@ -529,32 +522,24 @@
529522
},
530523
{
531524
"background": {
532-
"color": {
533-
"fixed": "transparent"
534-
}
525+
"fixed": "#D9D9D9"
535526
},
536527
"border": {
537528
"color": {
538-
"fixed": "dark-green"
539-
}
529+
"fixed": "transparent"
530+
},
531+
"width": 1
540532
},
541533
"config": {
542534
"align": "center",
543-
"backgroundColor": {
544-
"fixed": "#D9D9D9"
545-
},
546-
"borderColor": {
547-
"fixed": "transparent"
548-
},
549535
"color": {
550536
"field": "A-hehwzd",
551537
"fixed": "#000000"
552538
},
553539
"text": {
554540
"fixed": "Text color"
555541
},
556-
"valign": "middle",
557-
"width": 1
542+
"valign": "middle"
558543
},
559544
"constraint": {
560545
"horizontal": "left",
@@ -571,35 +556,28 @@
571556
},
572557
{
573558
"background": {
574-
"color": {
575-
"fixed": "transparent"
576-
},
559+
"fixed": "#D9D9D9",
577560
"image": {
578561
"field": "Count (transformation)",
562+
"fixed": "",
579563
"mode": "field"
580564
}
581565
},
582566
"border": {
583567
"color": {
584-
"fixed": "dark-green"
585-
}
568+
"fixed": "transparent"
569+
},
570+
"width": 1
586571
},
587572
"config": {
588573
"align": "center",
589-
"backgroundColor": {
590-
"fixed": "#D9D9D9"
591-
},
592-
"borderColor": {
593-
"fixed": "transparent"
594-
},
595574
"color": {
596575
"fixed": "#000000"
597576
},
598577
"text": {
599578
"fixed": "Background image"
600579
},
601-
"valign": "middle",
602-
"width": 1
580+
"valign": "middle"
603581
},
604582
"constraint": {
605583
"horizontal": "left",
@@ -609,40 +587,32 @@
609587
"placement": {
610588
"height": 50,
611589
"left": 530,
612-
"top": 249,
613-
"width": 188
590+
"top": 248.33333333333334,
591+
"width": 187.99997965494794
614592
},
615593
"type": "ellipse"
616594
},
617595
{
618596
"background": {
619-
"color": {
620-
"fixed": "transparent"
621-
}
597+
"fixed": "#D9D9D9"
622598
},
623599
"border": {
624600
"color": {
625601
"field": "A-hehwzd",
626-
"fixed": "dark-green"
602+
"fixed": "transparent"
627603
},
604+
"radius": 0,
628605
"width": 2
629606
},
630607
"config": {
631608
"align": "center",
632-
"backgroundColor": {
633-
"fixed": "#D9D9D9"
634-
},
635-
"borderColor": {
636-
"fixed": "transparent"
637-
},
638609
"color": {
639610
"fixed": "#000000"
640611
},
641612
"text": {
642613
"fixed": "Border"
643614
},
644-
"valign": "middle",
645-
"width": 1
615+
"valign": "middle"
646616
},
647617
"constraint": {
648618
"horizontal": "left",
@@ -652,8 +622,8 @@
652622
"placement": {
653623
"height": 50,
654624
"left": 530,
655-
"top": 328,
656-
"width": 188
625+
"top": 328.33333333333337,
626+
"width": 187.99997965494794
657627
},
658628
"type": "ellipse"
659629
},
@@ -794,9 +764,9 @@
794764
"name": "Element 18",
795765
"placement": {
796766
"height": 50,
797-
"left": 798,
798-
"top": 249,
799-
"width": 188
767+
"left": 798.3333333333334,
768+
"top": 248.33333333333334,
769+
"width": 187.99997965494794
800770
},
801771
"type": "rectangle"
802772
},
@@ -830,9 +800,9 @@
830800
"name": "Element 19",
831801
"placement": {
832802
"height": 50,
833-
"left": 798,
834-
"top": 328,
835-
"width": 188
803+
"left": 798.3333333333334,
804+
"top": 328.33333333333337,
805+
"width": 187.99235026041669
836806
},
837807
"type": "rectangle"
838808
},
@@ -1931,14 +1901,15 @@
19311901
"placement": {
19321902
"height": 100,
19331903
"left": 0,
1904+
"rotation": 0,
19341905
"top": 0,
19351906
"width": 100
19361907
},
19371908
"type": "frame"
19381909
},
19391910
"showAdvancedTypes": true
19401911
},
1941-
"pluginVersion": "11.0.0-pre",
1912+
"pluginVersion": "11.1.0-pre",
19421913
"targets": [
19431914
{
19441915
"datasource": {
@@ -3473,6 +3444,6 @@
34733444
"timezone": "browser",
34743445
"title": "Panel Tests - Canvas Datalinks",
34753446
"uid": "adf95uwu7w1s0e",
3476-
"version": 1,
3447+
"version": 10,
34773448
"weekStart": ""
34783449
}

0 commit comments

Comments
 (0)