@opendata-ai/openchart-engine 7.2.4 → 7.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +88 -39
- package/dist/index.js +4134 -2930
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/__snapshots__/compile-snapshot.test.ts.snap +143 -78
- package/src/__tests__/axes.test.ts +129 -1
- package/src/__tests__/compile-chart.test.ts +6 -0
- package/src/__tests__/compile-layer.test.ts +49 -0
- package/src/__tests__/dimensions.test.ts +70 -2
- package/src/__tests__/helpers/invariants.ts +265 -0
- package/src/__tests__/known-bugs.test.ts +113 -0
- package/src/__tests__/layout-fuzz.test.ts +358 -0
- package/src/__tests__/layout-invariants.test.ts +535 -0
- package/src/__tests__/legend.test.ts +37 -0
- package/src/annotations/__tests__/compute.test.ts +8 -15
- package/src/annotations/__tests__/placement-fuzz.test.ts +256 -0
- package/src/annotations/__tests__/placement-invariants.test.ts +345 -0
- package/src/annotations/__tests__/placement.test.ts +316 -0
- package/src/annotations/collisions.ts +19 -7
- package/src/annotations/compute.ts +257 -16
- package/src/annotations/geometry.ts +73 -15
- package/src/annotations/placement.ts +588 -0
- package/src/annotations/resolve-text.ts +58 -10
- package/src/charts/__tests__/post-process.test.ts +3 -3
- package/src/charts/bar/__tests__/compute.test.ts +131 -45
- package/src/charts/bar/compute.ts +44 -4
- package/src/charts/bar/index.ts +9 -2
- package/src/charts/bar/labels.ts +77 -26
- package/src/charts/column/labels.ts +29 -16
- package/src/charts/post-process.ts +21 -7
- package/src/charts/registry.ts +4 -2
- package/src/compile/layer.ts +31 -9
- package/src/compile.ts +88 -149
- package/src/index.ts +9 -0
- package/src/layout/axes/rotation.ts +36 -0
- package/src/layout/axes.ts +130 -8
- package/src/layout/dimensions.ts +80 -98
- package/src/layout/plan.ts +550 -0
- package/src/layout/scales.ts +22 -0
- package/src/layout/shared.ts +44 -0
- package/src/legend/compute.ts +315 -78
- package/src/legend/wrap.ts +11 -7
- package/src/sankey/__tests__/node-label-wrap.test.ts +2 -2
- package/src/tables/__tests__/heatmap.test.ts +24 -20
- package/src/tables/heatmap.ts +25 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opendata-ai/openchart-engine",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "Headless compiler for openchart: spec validation, data compilation, scales, and layout",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Riley Hilliard",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"typecheck": "tsc --noEmit"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@opendata-ai/openchart-core": "7.
|
|
51
|
+
"@opendata-ai/openchart-core": "7.4.0",
|
|
52
52
|
"d3-array": "^3.2.0",
|
|
53
53
|
"d3-format": "^3.1.2",
|
|
54
54
|
"d3-interpolate": "^3.0.0",
|
|
@@ -37,8 +37,8 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
37
37
|
"annotations": [],
|
|
38
38
|
"area": {
|
|
39
39
|
"height": 296.1,
|
|
40
|
-
"width":
|
|
41
|
-
"x":
|
|
40
|
+
"width": 540.058,
|
|
41
|
+
"x": 36.942,
|
|
42
42
|
"y": 60.9,
|
|
43
43
|
},
|
|
44
44
|
"axes": {
|
|
@@ -48,6 +48,7 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
48
48
|
"x": 577,
|
|
49
49
|
"y": 357,
|
|
50
50
|
},
|
|
51
|
+
"extent": 26,
|
|
51
52
|
"gridlines": [],
|
|
52
53
|
"label": undefined,
|
|
53
54
|
"labelFlush": undefined,
|
|
@@ -63,7 +64,7 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
63
64
|
"offset": undefined,
|
|
64
65
|
"orient": undefined,
|
|
65
66
|
"start": {
|
|
66
|
-
"x":
|
|
67
|
+
"x": 36.942,
|
|
67
68
|
"y": 357,
|
|
68
69
|
},
|
|
69
70
|
"tickAngle": undefined,
|
|
@@ -80,17 +81,17 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
80
81
|
"ticks": [
|
|
81
82
|
{
|
|
82
83
|
"label": "0",
|
|
83
|
-
"position":
|
|
84
|
+
"position": 36.942,
|
|
84
85
|
"value": 0,
|
|
85
86
|
},
|
|
86
87
|
{
|
|
87
88
|
"label": "20",
|
|
88
|
-
"position":
|
|
89
|
+
"position": 252.9652,
|
|
89
90
|
"value": 20,
|
|
90
91
|
},
|
|
91
92
|
{
|
|
92
93
|
"label": "40",
|
|
93
|
-
"position": 468.
|
|
94
|
+
"position": 468.9884,
|
|
94
95
|
"value": 40,
|
|
95
96
|
},
|
|
96
97
|
],
|
|
@@ -99,7 +100,7 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
99
100
|
"y": {
|
|
100
101
|
"domainLine": undefined,
|
|
101
102
|
"end": {
|
|
102
|
-
"x":
|
|
103
|
+
"x": 36.942,
|
|
103
104
|
"y": 357,
|
|
104
105
|
},
|
|
105
106
|
"gridlines": [
|
|
@@ -130,7 +131,7 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
130
131
|
"offset": undefined,
|
|
131
132
|
"orient": undefined,
|
|
132
133
|
"start": {
|
|
133
|
-
"x":
|
|
134
|
+
"x": 36.942,
|
|
134
135
|
"y": 60.9,
|
|
135
136
|
},
|
|
136
137
|
"tickAngle": undefined,
|
|
@@ -165,11 +166,11 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
165
166
|
},
|
|
166
167
|
},
|
|
167
168
|
"chrome": {
|
|
169
|
+
"bottomAnchorY": 383,
|
|
168
170
|
"bottomHeight": 0,
|
|
169
171
|
"title": {
|
|
170
172
|
"maxWidth": 561,
|
|
171
173
|
"style": {
|
|
172
|
-
"dominantBaseline": "hanging",
|
|
173
174
|
"fill": "#09090b",
|
|
174
175
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
175
176
|
"fontSize": 26,
|
|
@@ -236,13 +237,13 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
236
237
|
},
|
|
237
238
|
"text": "10",
|
|
238
239
|
"visible": true,
|
|
239
|
-
"x":
|
|
240
|
+
"x": 138.9536,
|
|
240
241
|
"y": 297.33805970149257,
|
|
241
242
|
},
|
|
242
243
|
"orient": "horizontal",
|
|
243
244
|
"type": "rect",
|
|
244
|
-
"width": 108.
|
|
245
|
-
"x":
|
|
245
|
+
"width": 108.01159999999999,
|
|
246
|
+
"x": 36.942,
|
|
246
247
|
"y": 268.6119402985075,
|
|
247
248
|
},
|
|
248
249
|
{
|
|
@@ -269,13 +270,13 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
269
270
|
},
|
|
270
271
|
"text": "25",
|
|
271
272
|
"visible": true,
|
|
272
|
-
"x": 300.
|
|
273
|
+
"x": 300.971,
|
|
273
274
|
"y": 208.95000000000002,
|
|
274
275
|
},
|
|
275
276
|
"orient": "horizontal",
|
|
276
277
|
"type": "rect",
|
|
277
|
-
"width": 270.
|
|
278
|
-
"x":
|
|
278
|
+
"width": 270.029,
|
|
279
|
+
"x": 36.942,
|
|
279
280
|
"y": 180.22388059701493,
|
|
280
281
|
},
|
|
281
282
|
{
|
|
@@ -302,13 +303,13 @@ exports[`compileChart snapshot (Step 7 oracle) > clipped-domain bar chart (data
|
|
|
302
303
|
},
|
|
303
304
|
"text": "40",
|
|
304
305
|
"visible": true,
|
|
305
|
-
"x": 462.
|
|
306
|
+
"x": 462.9884,
|
|
306
307
|
"y": 120.56194029850745,
|
|
307
308
|
},
|
|
308
309
|
"orient": "horizontal",
|
|
309
310
|
"type": "rect",
|
|
310
|
-
"width":
|
|
311
|
-
"x":
|
|
311
|
+
"width": 432.0464,
|
|
312
|
+
"x": 36.942,
|
|
312
313
|
"y": 91.83582089552237,
|
|
313
314
|
},
|
|
314
315
|
],
|
|
@@ -582,7 +583,7 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
582
583
|
"annotations": [],
|
|
583
584
|
"area": {
|
|
584
585
|
"height": 305.4,
|
|
585
|
-
"width":
|
|
586
|
+
"width": 625.76115,
|
|
586
587
|
"x": 26,
|
|
587
588
|
"y": 105.2,
|
|
588
589
|
},
|
|
@@ -711,11 +712,11 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
711
712
|
},
|
|
712
713
|
},
|
|
713
714
|
"chrome": {
|
|
715
|
+
"bottomAnchorY": 436.59999999999997,
|
|
714
716
|
"bottomHeight": 43.4,
|
|
715
717
|
"source": {
|
|
716
718
|
"maxWidth": 755,
|
|
717
719
|
"style": {
|
|
718
|
-
"dominantBaseline": "hanging",
|
|
719
720
|
"fill": "#71717a",
|
|
720
721
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
721
722
|
"fontSize": 11,
|
|
@@ -730,7 +731,6 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
730
731
|
"subtitle": {
|
|
731
732
|
"maxWidth": 755,
|
|
732
733
|
"style": {
|
|
733
|
-
"dominantBaseline": "hanging",
|
|
734
734
|
"fill": "#71717a",
|
|
735
735
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
736
736
|
"fontSize": 14,
|
|
@@ -745,7 +745,6 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
745
745
|
"title": {
|
|
746
746
|
"maxWidth": 755,
|
|
747
747
|
"style": {
|
|
748
|
-
"dominantBaseline": "hanging",
|
|
749
748
|
"fill": "#09090b",
|
|
750
749
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
751
750
|
"fontSize": 26,
|
|
@@ -768,8 +767,8 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
768
767
|
"endpointLabels": {
|
|
769
768
|
"bounds": {
|
|
770
769
|
"height": 305.4,
|
|
771
|
-
"width":
|
|
772
|
-
"x":
|
|
770
|
+
"width": 48.95985,
|
|
771
|
+
"x": 669.76115,
|
|
773
772
|
"y": 105.2,
|
|
774
773
|
},
|
|
775
774
|
"entries": [
|
|
@@ -781,12 +780,12 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
781
780
|
],
|
|
782
781
|
"labelY": 105.2,
|
|
783
782
|
"marker": {
|
|
784
|
-
"dataX":
|
|
783
|
+
"dataX": 651.76115,
|
|
785
784
|
"fill": "transparent",
|
|
786
785
|
"radius": 4,
|
|
787
786
|
"stroke": "#06b6d4",
|
|
788
787
|
"strokeWidth": 2,
|
|
789
|
-
"x":
|
|
788
|
+
"x": 655.76115,
|
|
790
789
|
"y": 105.2,
|
|
791
790
|
},
|
|
792
791
|
"seriesKey": "US",
|
|
@@ -801,12 +800,12 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
801
800
|
],
|
|
802
801
|
"labelY": 139.95,
|
|
803
802
|
"marker": {
|
|
804
|
-
"dataX":
|
|
803
|
+
"dataX": 651.76115,
|
|
805
804
|
"fill": "transparent",
|
|
806
805
|
"radius": 4,
|
|
807
806
|
"stroke": "#ee4a73",
|
|
808
807
|
"strokeWidth": 2,
|
|
809
|
-
"x":
|
|
808
|
+
"x": 655.76115,
|
|
810
809
|
"y": 143.375,
|
|
811
810
|
},
|
|
812
811
|
"seriesKey": "UK",
|
|
@@ -821,12 +820,12 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
821
820
|
],
|
|
822
821
|
"labelY": 236.12999999999997,
|
|
823
822
|
"marker": {
|
|
824
|
-
"dataX":
|
|
823
|
+
"dataX": 651.76115,
|
|
825
824
|
"fill": "transparent",
|
|
826
825
|
"radius": 4,
|
|
827
826
|
"stroke": "#00b054",
|
|
828
827
|
"strokeWidth": 2,
|
|
829
|
-
"x":
|
|
828
|
+
"x": 655.76115,
|
|
830
829
|
"y": 242.62999999999997,
|
|
831
830
|
},
|
|
832
831
|
"seriesKey": "FR",
|
|
@@ -841,12 +840,12 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
841
840
|
],
|
|
842
841
|
"labelY": 190.32,
|
|
843
842
|
"marker": {
|
|
844
|
-
"dataX":
|
|
843
|
+
"dataX": 651.76115,
|
|
845
844
|
"fill": "transparent",
|
|
846
845
|
"radius": 4,
|
|
847
846
|
"stroke": "#a46bf5",
|
|
848
847
|
"strokeWidth": 2,
|
|
849
|
-
"x":
|
|
848
|
+
"x": 655.76115,
|
|
850
849
|
"y": 196.82,
|
|
851
850
|
},
|
|
852
851
|
"seriesKey": "DE",
|
|
@@ -876,8 +875,8 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
876
875
|
"legend": {
|
|
877
876
|
"bounds": {
|
|
878
877
|
"height": 85.2,
|
|
879
|
-
"width":
|
|
880
|
-
"x":
|
|
878
|
+
"width": 49.278999999999996,
|
|
879
|
+
"x": 659.76115,
|
|
881
880
|
"y": 105.2,
|
|
882
881
|
},
|
|
883
882
|
"entries": [
|
|
@@ -907,6 +906,40 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
907
906
|
},
|
|
908
907
|
],
|
|
909
908
|
"entryGap": 4,
|
|
909
|
+
"entryPositions": [
|
|
910
|
+
{
|
|
911
|
+
"labelX": 677.76115,
|
|
912
|
+
"labelY": 111.2,
|
|
913
|
+
"row": 0,
|
|
914
|
+
"width": 37.278999999999996,
|
|
915
|
+
"x": 659.76115,
|
|
916
|
+
"y": 105.2,
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"labelX": 677.76115,
|
|
920
|
+
"labelY": 129.5,
|
|
921
|
+
"row": 1,
|
|
922
|
+
"width": 37.278999999999996,
|
|
923
|
+
"x": 659.76115,
|
|
924
|
+
"y": 123.5,
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"labelX": 677.76115,
|
|
928
|
+
"labelY": 147.8,
|
|
929
|
+
"row": 2,
|
|
930
|
+
"width": 36.663,
|
|
931
|
+
"x": 659.76115,
|
|
932
|
+
"y": 141.8,
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
"labelX": 677.76115,
|
|
936
|
+
"labelY": 166.10000000000002,
|
|
937
|
+
"row": 3,
|
|
938
|
+
"width": 37.278999999999996,
|
|
939
|
+
"x": 659.76115,
|
|
940
|
+
"y": 160.10000000000002,
|
|
941
|
+
},
|
|
942
|
+
],
|
|
910
943
|
"labelStyle": {
|
|
911
944
|
"fill": "#09090b",
|
|
912
945
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
@@ -915,6 +948,7 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
915
948
|
"lineHeight": 1.3,
|
|
916
949
|
},
|
|
917
950
|
"position": "right",
|
|
951
|
+
"rowHeight": 18.3,
|
|
918
952
|
"swatchChipFill": "rgba(0,0,0,0.04)",
|
|
919
953
|
"swatchGap": 6,
|
|
920
954
|
"swatchSize": 12,
|
|
@@ -991,19 +1025,19 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
991
1025
|
],
|
|
992
1026
|
"title": "2021",
|
|
993
1027
|
},
|
|
994
|
-
"x":
|
|
1028
|
+
"x": 651.76115,
|
|
995
1029
|
"y": 105.2,
|
|
996
1030
|
},
|
|
997
1031
|
],
|
|
998
1032
|
"opacity": undefined,
|
|
999
|
-
"path": "M47,334.
|
|
1033
|
+
"path": "M47,334.25L651.761,105.2",
|
|
1000
1034
|
"points": [
|
|
1001
1035
|
{
|
|
1002
1036
|
"x": 47,
|
|
1003
1037
|
"y": 334.25,
|
|
1004
1038
|
},
|
|
1005
1039
|
{
|
|
1006
|
-
"x":
|
|
1040
|
+
"x": 651.76115,
|
|
1007
1041
|
"y": 105.2,
|
|
1008
1042
|
},
|
|
1009
1043
|
],
|
|
@@ -1083,19 +1117,19 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
1083
1117
|
],
|
|
1084
1118
|
"title": "2021",
|
|
1085
1119
|
},
|
|
1086
|
-
"x":
|
|
1120
|
+
"x": 651.76115,
|
|
1087
1121
|
"y": 143.375,
|
|
1088
1122
|
},
|
|
1089
1123
|
],
|
|
1090
1124
|
"opacity": undefined,
|
|
1091
|
-
"path": "M47,296.
|
|
1125
|
+
"path": "M47,296.075L651.761,143.375",
|
|
1092
1126
|
"points": [
|
|
1093
1127
|
{
|
|
1094
1128
|
"x": 47,
|
|
1095
1129
|
"y": 296.075,
|
|
1096
1130
|
},
|
|
1097
1131
|
{
|
|
1098
|
-
"x":
|
|
1132
|
+
"x": 651.76115,
|
|
1099
1133
|
"y": 143.375,
|
|
1100
1134
|
},
|
|
1101
1135
|
],
|
|
@@ -1175,19 +1209,19 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
1175
1209
|
],
|
|
1176
1210
|
"title": "2021",
|
|
1177
1211
|
},
|
|
1178
|
-
"x":
|
|
1212
|
+
"x": 651.76115,
|
|
1179
1213
|
"y": 242.62999999999997,
|
|
1180
1214
|
},
|
|
1181
1215
|
],
|
|
1182
1216
|
"opacity": undefined,
|
|
1183
|
-
"path": "M47,349.
|
|
1217
|
+
"path": "M47,349.52L651.761,242.63",
|
|
1184
1218
|
"points": [
|
|
1185
1219
|
{
|
|
1186
1220
|
"x": 47,
|
|
1187
1221
|
"y": 349.52000000000004,
|
|
1188
1222
|
},
|
|
1189
1223
|
{
|
|
1190
|
-
"x":
|
|
1224
|
+
"x": 651.76115,
|
|
1191
1225
|
"y": 242.62999999999997,
|
|
1192
1226
|
},
|
|
1193
1227
|
],
|
|
@@ -1267,19 +1301,19 @@ exports[`compileChart snapshot (Step 7 oracle) > legend-heavy multi-series line
|
|
|
1267
1301
|
],
|
|
1268
1302
|
"title": "2021",
|
|
1269
1303
|
},
|
|
1270
|
-
"x":
|
|
1304
|
+
"x": 651.76115,
|
|
1271
1305
|
"y": 196.82,
|
|
1272
1306
|
},
|
|
1273
1307
|
],
|
|
1274
1308
|
"opacity": undefined,
|
|
1275
|
-
"path": "M47,318.
|
|
1309
|
+
"path": "M47,318.98L651.761,196.82",
|
|
1276
1310
|
"points": [
|
|
1277
1311
|
{
|
|
1278
1312
|
"x": 47,
|
|
1279
1313
|
"y": 318.97999999999996,
|
|
1280
1314
|
},
|
|
1281
1315
|
{
|
|
1282
|
-
"x":
|
|
1316
|
+
"x": 651.76115,
|
|
1283
1317
|
"y": 196.82,
|
|
1284
1318
|
},
|
|
1285
1319
|
],
|
|
@@ -1483,8 +1517,8 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1483
1517
|
"annotations": [],
|
|
1484
1518
|
"area": {
|
|
1485
1519
|
"height": 236.3,
|
|
1486
|
-
"width":
|
|
1487
|
-
"x":
|
|
1520
|
+
"width": 537.768,
|
|
1521
|
+
"x": 39.232,
|
|
1488
1522
|
"y": 60.9,
|
|
1489
1523
|
},
|
|
1490
1524
|
"axes": {
|
|
@@ -1494,6 +1528,7 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1494
1528
|
"x": 577,
|
|
1495
1529
|
"y": 297.2,
|
|
1496
1530
|
},
|
|
1531
|
+
"extent": 26,
|
|
1497
1532
|
"gridlines": [],
|
|
1498
1533
|
"label": undefined,
|
|
1499
1534
|
"labelFlush": undefined,
|
|
@@ -1509,7 +1544,7 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1509
1544
|
"offset": undefined,
|
|
1510
1545
|
"orient": undefined,
|
|
1511
1546
|
"start": {
|
|
1512
|
-
"x":
|
|
1547
|
+
"x": 39.232,
|
|
1513
1548
|
"y": 297.2,
|
|
1514
1549
|
},
|
|
1515
1550
|
"tickAngle": undefined,
|
|
@@ -1526,22 +1561,22 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1526
1561
|
"ticks": [
|
|
1527
1562
|
{
|
|
1528
1563
|
"label": "A",
|
|
1529
|
-
"position":
|
|
1564
|
+
"position": 122.67875862068962,
|
|
1530
1565
|
"value": "A",
|
|
1531
1566
|
},
|
|
1532
1567
|
{
|
|
1533
1568
|
"label": "B",
|
|
1534
|
-
"position":
|
|
1569
|
+
"position": 246.30358620689654,
|
|
1535
1570
|
"value": "B",
|
|
1536
1571
|
},
|
|
1537
1572
|
{
|
|
1538
1573
|
"label": "C",
|
|
1539
|
-
"position":
|
|
1574
|
+
"position": 369.92841379310346,
|
|
1540
1575
|
"value": "C",
|
|
1541
1576
|
},
|
|
1542
1577
|
{
|
|
1543
1578
|
"label": "D",
|
|
1544
|
-
"position": 493.
|
|
1579
|
+
"position": 493.55324137931035,
|
|
1545
1580
|
"value": "D",
|
|
1546
1581
|
},
|
|
1547
1582
|
],
|
|
@@ -1550,7 +1585,7 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1550
1585
|
"y": {
|
|
1551
1586
|
"domainLine": undefined,
|
|
1552
1587
|
"end": {
|
|
1553
|
-
"x":
|
|
1588
|
+
"x": 39.232,
|
|
1554
1589
|
"y": 297.2,
|
|
1555
1590
|
},
|
|
1556
1591
|
"gridlines": [
|
|
@@ -1558,18 +1593,34 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1558
1593
|
"major": true,
|
|
1559
1594
|
"position": 297.2,
|
|
1560
1595
|
},
|
|
1596
|
+
{
|
|
1597
|
+
"major": true,
|
|
1598
|
+
"position": 263.4428571428572,
|
|
1599
|
+
},
|
|
1561
1600
|
{
|
|
1562
1601
|
"major": true,
|
|
1563
1602
|
"position": 229.68571428571428,
|
|
1564
1603
|
},
|
|
1604
|
+
{
|
|
1605
|
+
"major": true,
|
|
1606
|
+
"position": 195.92857142857142,
|
|
1607
|
+
},
|
|
1565
1608
|
{
|
|
1566
1609
|
"major": true,
|
|
1567
1610
|
"position": 162.17142857142858,
|
|
1568
1611
|
},
|
|
1612
|
+
{
|
|
1613
|
+
"major": true,
|
|
1614
|
+
"position": 128.4142857142857,
|
|
1615
|
+
},
|
|
1569
1616
|
{
|
|
1570
1617
|
"major": true,
|
|
1571
1618
|
"position": 94.65714285714287,
|
|
1572
1619
|
},
|
|
1620
|
+
{
|
|
1621
|
+
"major": true,
|
|
1622
|
+
"position": 60.9,
|
|
1623
|
+
},
|
|
1573
1624
|
],
|
|
1574
1625
|
"label": undefined,
|
|
1575
1626
|
"labelFlush": undefined,
|
|
@@ -1585,7 +1636,7 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1585
1636
|
"offset": undefined,
|
|
1586
1637
|
"orient": undefined,
|
|
1587
1638
|
"start": {
|
|
1588
|
-
"x":
|
|
1639
|
+
"x": 39.232,
|
|
1589
1640
|
"y": 60.9,
|
|
1590
1641
|
},
|
|
1591
1642
|
"tickAngle": undefined,
|
|
@@ -1605,31 +1656,51 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1605
1656
|
"position": 297.2,
|
|
1606
1657
|
"value": 0,
|
|
1607
1658
|
},
|
|
1659
|
+
{
|
|
1660
|
+
"label": "10",
|
|
1661
|
+
"position": 263.4428571428572,
|
|
1662
|
+
"value": 10,
|
|
1663
|
+
},
|
|
1608
1664
|
{
|
|
1609
1665
|
"label": "20",
|
|
1610
1666
|
"position": 229.68571428571428,
|
|
1611
1667
|
"value": 20,
|
|
1612
1668
|
},
|
|
1669
|
+
{
|
|
1670
|
+
"label": "30",
|
|
1671
|
+
"position": 195.92857142857142,
|
|
1672
|
+
"value": 30,
|
|
1673
|
+
},
|
|
1613
1674
|
{
|
|
1614
1675
|
"label": "40",
|
|
1615
1676
|
"position": 162.17142857142858,
|
|
1616
1677
|
"value": 40,
|
|
1617
1678
|
},
|
|
1679
|
+
{
|
|
1680
|
+
"label": "50",
|
|
1681
|
+
"position": 128.4142857142857,
|
|
1682
|
+
"value": 50,
|
|
1683
|
+
},
|
|
1618
1684
|
{
|
|
1619
1685
|
"label": "60",
|
|
1620
1686
|
"position": 94.65714285714287,
|
|
1621
1687
|
"value": 60,
|
|
1622
1688
|
},
|
|
1689
|
+
{
|
|
1690
|
+
"label": "70",
|
|
1691
|
+
"position": 60.9,
|
|
1692
|
+
"value": 70,
|
|
1693
|
+
},
|
|
1623
1694
|
],
|
|
1624
1695
|
"titlePadding": undefined,
|
|
1625
1696
|
},
|
|
1626
1697
|
},
|
|
1627
1698
|
"chrome": {
|
|
1699
|
+
"bottomAnchorY": 323.2,
|
|
1628
1700
|
"bottomHeight": 59.8,
|
|
1629
1701
|
"byline": {
|
|
1630
1702
|
"maxWidth": 431,
|
|
1631
1703
|
"style": {
|
|
1632
|
-
"dominantBaseline": "hanging",
|
|
1633
1704
|
"fill": "#71717a",
|
|
1634
1705
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
1635
1706
|
"fontSize": 11,
|
|
@@ -1644,7 +1715,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1644
1715
|
"source": {
|
|
1645
1716
|
"maxWidth": 431,
|
|
1646
1717
|
"style": {
|
|
1647
|
-
"dominantBaseline": "hanging",
|
|
1648
1718
|
"fill": "#71717a",
|
|
1649
1719
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
1650
1720
|
"fontSize": 11,
|
|
@@ -1659,7 +1729,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1659
1729
|
"title": {
|
|
1660
1730
|
"maxWidth": 561,
|
|
1661
1731
|
"style": {
|
|
1662
|
-
"dominantBaseline": "hanging",
|
|
1663
1732
|
"fill": "#09090b",
|
|
1664
1733
|
"fontFamily": ""Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif",
|
|
1665
1734
|
"fontSize": 26,
|
|
@@ -1728,7 +1797,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1728
1797
|
"label": {
|
|
1729
1798
|
"connector": undefined,
|
|
1730
1799
|
"style": {
|
|
1731
|
-
"dominantBaseline": "hanging",
|
|
1732
1800
|
"fill": "#0000ff",
|
|
1733
1801
|
"fontFamily": "system-ui, -apple-system, sans-serif",
|
|
1734
1802
|
"fontSize": 10,
|
|
@@ -1738,13 +1806,13 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1738
1806
|
},
|
|
1739
1807
|
"text": "30",
|
|
1740
1808
|
"visible": true,
|
|
1741
|
-
"x":
|
|
1742
|
-
"y":
|
|
1809
|
+
"x": 122.67875862068962,
|
|
1810
|
+
"y": 183.92857142857142,
|
|
1743
1811
|
},
|
|
1744
1812
|
"orient": "vertical",
|
|
1745
1813
|
"type": "rect",
|
|
1746
|
-
"width": 80.
|
|
1747
|
-
"x":
|
|
1814
|
+
"width": 80.3561379310345,
|
|
1815
|
+
"x": 82.50068965517238,
|
|
1748
1816
|
"y": 195.92857142857142,
|
|
1749
1817
|
},
|
|
1750
1818
|
{
|
|
@@ -1773,7 +1841,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1773
1841
|
"label": {
|
|
1774
1842
|
"connector": undefined,
|
|
1775
1843
|
"style": {
|
|
1776
|
-
"dominantBaseline": "hanging",
|
|
1777
1844
|
"fill": "#0000ff",
|
|
1778
1845
|
"fontFamily": "system-ui, -apple-system, sans-serif",
|
|
1779
1846
|
"fontSize": 10,
|
|
@@ -1783,13 +1850,13 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1783
1850
|
},
|
|
1784
1851
|
"text": "55",
|
|
1785
1852
|
"visible": true,
|
|
1786
|
-
"x":
|
|
1787
|
-
"y":
|
|
1853
|
+
"x": 246.30358620689654,
|
|
1854
|
+
"y": 99.53571428571429,
|
|
1788
1855
|
},
|
|
1789
1856
|
"orient": "vertical",
|
|
1790
1857
|
"type": "rect",
|
|
1791
|
-
"width": 80.
|
|
1792
|
-
"x":
|
|
1858
|
+
"width": 80.3561379310345,
|
|
1859
|
+
"x": 206.1255172413793,
|
|
1793
1860
|
"y": 111.53571428571429,
|
|
1794
1861
|
},
|
|
1795
1862
|
{
|
|
@@ -1818,7 +1885,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1818
1885
|
"label": {
|
|
1819
1886
|
"connector": undefined,
|
|
1820
1887
|
"style": {
|
|
1821
|
-
"dominantBaseline": "hanging",
|
|
1822
1888
|
"fill": "#0000ff",
|
|
1823
1889
|
"fontFamily": "system-ui, -apple-system, sans-serif",
|
|
1824
1890
|
"fontSize": 10,
|
|
@@ -1828,13 +1894,13 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1828
1894
|
},
|
|
1829
1895
|
"text": "70",
|
|
1830
1896
|
"visible": true,
|
|
1831
|
-
"x":
|
|
1832
|
-
"y":
|
|
1897
|
+
"x": 369.92841379310346,
|
|
1898
|
+
"y": 48.9,
|
|
1833
1899
|
},
|
|
1834
1900
|
"orient": "vertical",
|
|
1835
1901
|
"type": "rect",
|
|
1836
|
-
"width": 80.
|
|
1837
|
-
"x":
|
|
1902
|
+
"width": 80.3561379310345,
|
|
1903
|
+
"x": 329.7503448275862,
|
|
1838
1904
|
"y": 60.9,
|
|
1839
1905
|
},
|
|
1840
1906
|
{
|
|
@@ -1863,7 +1929,6 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1863
1929
|
"label": {
|
|
1864
1930
|
"connector": undefined,
|
|
1865
1931
|
"style": {
|
|
1866
|
-
"dominantBaseline": "hanging",
|
|
1867
1932
|
"fill": "#0000ff",
|
|
1868
1933
|
"fontFamily": "system-ui, -apple-system, sans-serif",
|
|
1869
1934
|
"fontSize": 10,
|
|
@@ -1873,13 +1938,13 @@ exports[`compileChart snapshot (Step 7 oracle) > watermarked column chart with g
|
|
|
1873
1938
|
},
|
|
1874
1939
|
"text": "45",
|
|
1875
1940
|
"visible": true,
|
|
1876
|
-
"x": 493.
|
|
1877
|
-
"y":
|
|
1941
|
+
"x": 493.55324137931035,
|
|
1942
|
+
"y": 133.29285714285712,
|
|
1878
1943
|
},
|
|
1879
1944
|
"orient": "vertical",
|
|
1880
1945
|
"type": "rect",
|
|
1881
|
-
"width": 80.
|
|
1882
|
-
"x": 453.
|
|
1946
|
+
"width": 80.3561379310345,
|
|
1947
|
+
"x": 453.3751724137931,
|
|
1883
1948
|
"y": 145.29285714285712,
|
|
1884
1949
|
},
|
|
1885
1950
|
],
|