@visactor/vchart-theme-demo-component 0.0.1-alpha.5 → 1.11.2-alpha.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.
Files changed (107) hide show
  1. package/cjs/spec/area.d.ts +42 -0
  2. package/cjs/spec/area.js +151 -0
  3. package/cjs/spec/area.js.map +1 -0
  4. package/cjs/spec/bar.d.ts +30 -0
  5. package/cjs/spec/bar.js +80 -0
  6. package/cjs/spec/bar.js.map +1 -0
  7. package/cjs/spec/barGroup.d.ts +27 -0
  8. package/cjs/spec/barGroup.js +157 -0
  9. package/cjs/spec/barGroup.js.map +1 -0
  10. package/cjs/spec/barGroupHorizontal.d.ts +28 -0
  11. package/cjs/spec/barGroupHorizontal.js +94 -0
  12. package/cjs/spec/barGroupHorizontal.js.map +1 -0
  13. package/cjs/spec/barStacked.d.ts +30 -0
  14. package/cjs/spec/barStacked.js +160 -0
  15. package/cjs/spec/barStacked.js.map +1 -0
  16. package/cjs/spec/barStackedHorizontal.d.ts +31 -0
  17. package/cjs/spec/barStackedHorizontal.js +181 -0
  18. package/cjs/spec/barStackedHorizontal.js.map +1 -0
  19. package/cjs/spec/barStackedPercent.d.ts +32 -0
  20. package/cjs/spec/barStackedPercent.js +162 -0
  21. package/cjs/spec/barStackedPercent.js.map +1 -0
  22. package/cjs/spec/funnel.d.ts +19 -0
  23. package/cjs/spec/funnel.js +36 -0
  24. package/cjs/spec/funnel.js.map +1 -0
  25. package/cjs/spec/gauge.d.ts +58 -0
  26. package/cjs/spec/gauge.js +63 -0
  27. package/cjs/spec/gauge.js.map +1 -0
  28. package/cjs/spec/horizontalBar.d.ts +99 -0
  29. package/cjs/spec/horizontalBar.js +134 -0
  30. package/cjs/spec/horizontalBar.js.map +1 -0
  31. package/cjs/spec/indicatorSankey.d.ts +81 -0
  32. package/cjs/spec/indicatorSankey.js +103 -0
  33. package/cjs/spec/indicatorSankey.js.map +1 -0
  34. package/cjs/spec/line.d.ts +46 -0
  35. package/cjs/spec/line.js +154 -0
  36. package/cjs/spec/line.js.map +1 -0
  37. package/cjs/spec/pie.d.ts +44 -0
  38. package/cjs/spec/pie.js +53 -0
  39. package/cjs/spec/pie.js.map +1 -0
  40. package/cjs/spec/radar.d.ts +79 -0
  41. package/cjs/spec/radar.js +116 -0
  42. package/cjs/spec/radar.js.map +1 -0
  43. package/cjs/spec/ring.d.ts +54 -0
  44. package/cjs/spec/ring.js +63 -0
  45. package/cjs/spec/ring.js.map +1 -0
  46. package/cjs/spec/scatter.d.ts +57 -0
  47. package/cjs/spec/scatter.js +157 -0
  48. package/cjs/spec/scatter.js.map +1 -0
  49. package/cjs/vchart-chart-hub-theme/chart-list.js +14 -14
  50. package/cjs/vchart-chart-hub-theme/chart-list.js.map +1 -1
  51. package/esm/spec/area.d.ts +42 -0
  52. package/esm/spec/area.js +147 -0
  53. package/esm/spec/area.js.map +1 -0
  54. package/esm/spec/bar.d.ts +30 -0
  55. package/esm/spec/bar.js +76 -0
  56. package/esm/spec/bar.js.map +1 -0
  57. package/esm/spec/barGroup.d.ts +27 -0
  58. package/esm/spec/barGroup.js +153 -0
  59. package/esm/spec/barGroup.js.map +1 -0
  60. package/esm/spec/barGroupHorizontal.d.ts +28 -0
  61. package/esm/spec/barGroupHorizontal.js +90 -0
  62. package/esm/spec/barGroupHorizontal.js.map +1 -0
  63. package/esm/spec/barStacked.d.ts +30 -0
  64. package/esm/spec/barStacked.js +156 -0
  65. package/esm/spec/barStacked.js.map +1 -0
  66. package/esm/spec/barStackedHorizontal.d.ts +31 -0
  67. package/esm/spec/barStackedHorizontal.js +177 -0
  68. package/esm/spec/barStackedHorizontal.js.map +1 -0
  69. package/esm/spec/barStackedPercent.d.ts +32 -0
  70. package/esm/spec/barStackedPercent.js +158 -0
  71. package/esm/spec/barStackedPercent.js.map +1 -0
  72. package/esm/spec/funnel.d.ts +19 -0
  73. package/esm/spec/funnel.js +32 -0
  74. package/esm/spec/funnel.js.map +1 -0
  75. package/esm/spec/gauge.d.ts +58 -0
  76. package/esm/spec/gauge.js +59 -0
  77. package/esm/spec/gauge.js.map +1 -0
  78. package/esm/spec/horizontalBar.d.ts +99 -0
  79. package/esm/spec/horizontalBar.js +130 -0
  80. package/esm/spec/horizontalBar.js.map +1 -0
  81. package/esm/spec/indicatorSankey.d.ts +81 -0
  82. package/esm/spec/indicatorSankey.js +99 -0
  83. package/esm/spec/indicatorSankey.js.map +1 -0
  84. package/esm/spec/line.d.ts +46 -0
  85. package/esm/spec/line.js +150 -0
  86. package/esm/spec/line.js.map +1 -0
  87. package/esm/spec/pie.d.ts +44 -0
  88. package/esm/spec/pie.js +49 -0
  89. package/esm/spec/pie.js.map +1 -0
  90. package/esm/spec/radar.d.ts +79 -0
  91. package/esm/spec/radar.js +112 -0
  92. package/esm/spec/radar.js.map +1 -0
  93. package/esm/spec/ring.d.ts +54 -0
  94. package/esm/spec/ring.js +59 -0
  95. package/esm/spec/ring.js.map +1 -0
  96. package/esm/spec/scatter.d.ts +57 -0
  97. package/esm/spec/scatter.js +153 -0
  98. package/esm/spec/scatter.js.map +1 -0
  99. package/esm/vchart-chart-hub-theme/chart-list.js +25 -1
  100. package/esm/vchart-chart-hub-theme/chart-list.js.map +1 -1
  101. package/package.json +16 -14
  102. package/cjs/vchart-chart-hub-theme/chartSpec.d.ts +0 -757
  103. package/cjs/vchart-chart-hub-theme/chartSpec.js +0 -1776
  104. package/cjs/vchart-chart-hub-theme/chartSpec.js.map +0 -1
  105. package/esm/vchart-chart-hub-theme/chartSpec.d.ts +0 -757
  106. package/esm/vchart-chart-hub-theme/chartSpec.js +0 -1801
  107. package/esm/vchart-chart-hub-theme/chartSpec.js.map +0 -1
@@ -0,0 +1,160 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.barStackedSpec = void 0, exports.barStackedSpec = {
6
+ type: "bar",
7
+ data: {
8
+ values: [ {
9
+ type: "Autocracies",
10
+ year: "1930",
11
+ value: 129
12
+ }, {
13
+ type: "Autocracies",
14
+ year: "1940",
15
+ value: 133
16
+ }, {
17
+ type: "Autocracies",
18
+ year: "1950",
19
+ value: 130
20
+ }, {
21
+ type: "Autocracies",
22
+ year: "1960",
23
+ value: 126
24
+ }, {
25
+ type: "Autocracies",
26
+ year: "1970",
27
+ value: 117
28
+ }, {
29
+ type: "Autocracies",
30
+ year: "1980",
31
+ value: 114
32
+ }, {
33
+ type: "Autocracies",
34
+ year: "1990",
35
+ value: 111
36
+ }, {
37
+ type: "Autocracies",
38
+ year: "2000",
39
+ value: 89
40
+ }, {
41
+ type: "Autocracies",
42
+ year: "2010",
43
+ value: 80
44
+ }, {
45
+ type: "Autocracies",
46
+ year: "2018",
47
+ value: 80
48
+ }, {
49
+ type: "Democracies",
50
+ year: "1930",
51
+ value: 22
52
+ }, {
53
+ type: "Democracies",
54
+ year: "1940",
55
+ value: 13
56
+ }, {
57
+ type: "Democracies",
58
+ year: "1950",
59
+ value: 25
60
+ }, {
61
+ type: "Democracies",
62
+ year: "1960",
63
+ value: 29
64
+ }, {
65
+ type: "Democracies",
66
+ year: "1970",
67
+ value: 38
68
+ }, {
69
+ type: "Democracies",
70
+ year: "1980",
71
+ value: 41
72
+ }, {
73
+ type: "Democracies",
74
+ year: "1990",
75
+ value: 57
76
+ }, {
77
+ type: "Democracies",
78
+ year: "2000",
79
+ value: 87
80
+ }, {
81
+ type: "Democracies",
82
+ year: "2010",
83
+ value: 98
84
+ }, {
85
+ type: "Democracies",
86
+ year: "2018",
87
+ value: 99
88
+ }, {
89
+ type: "Price",
90
+ year: "1930",
91
+ value: 56
92
+ }, {
93
+ type: "Price",
94
+ year: "1940",
95
+ value: 122
96
+ }, {
97
+ type: "Price",
98
+ year: "1950",
99
+ value: 72
100
+ }, {
101
+ type: "Price",
102
+ year: "1960",
103
+ value: 82
104
+ }, {
105
+ type: "Price",
106
+ year: "1970",
107
+ value: 67
108
+ }, {
109
+ type: "Price",
110
+ year: "1980",
111
+ value: 89
112
+ }, {
113
+ type: "Price",
114
+ year: "1990",
115
+ value: 60
116
+ }, {
117
+ type: "Price",
118
+ year: "2000",
119
+ value: 123
120
+ }, {
121
+ type: "Price",
122
+ year: "2010",
123
+ value: 111
124
+ }, {
125
+ type: "Price",
126
+ year: "2018",
127
+ value: 99
128
+ } ]
129
+ },
130
+ height: 500,
131
+ xField: "year",
132
+ yField: "value",
133
+ seriesField: "type",
134
+ axes: [ {
135
+ orient: "bottom",
136
+ visible: !0,
137
+ domainLine: {
138
+ visible: !0
139
+ },
140
+ tick: {
141
+ visible: !0
142
+ }
143
+ }, {
144
+ orient: "left",
145
+ visible: !0,
146
+ domainLine: {
147
+ visible: !1
148
+ },
149
+ tick: {
150
+ visible: !1
151
+ }
152
+ } ],
153
+ legends: {
154
+ visible: !0
155
+ },
156
+ indicator: {
157
+ visible: !0
158
+ }
159
+ };
160
+ //# sourceMappingURL=barStacked.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/spec/barStacked.ts"],"names":[],"mappings":";;;AAAa,QAAA,cAAc,GAAG;IAC5B,IAAI,EAAE,KAAK;IAEX,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YAC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;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;KACd;CACF,CAAC","file":"barStacked.js","sourcesContent":["export const barStackedSpec = {\n type: 'bar',\n //stack: true,\n data: {\n values: [\n { type: 'Autocracies', year: '1930', value: 129 },\n { type: 'Autocracies', year: '1940', value: 133 },\n { type: 'Autocracies', year: '1950', value: 130 },\n { type: 'Autocracies', year: '1960', value: 126 },\n { type: 'Autocracies', year: '1970', value: 117 },\n { type: 'Autocracies', year: '1980', value: 114 },\n { type: 'Autocracies', year: '1990', value: 111 },\n { type: 'Autocracies', year: '2000', value: 89 },\n { type: 'Autocracies', year: '2010', value: 80 },\n { type: 'Autocracies', year: '2018', value: 80 },\n { type: 'Democracies', year: '1930', value: 22 },\n { type: 'Democracies', year: '1940', value: 13 },\n { type: 'Democracies', year: '1950', value: 25 },\n { type: 'Democracies', year: '1960', value: 29 },\n { type: 'Democracies', year: '1970', value: 38 },\n { type: 'Democracies', year: '1980', value: 41 },\n { type: 'Democracies', year: '1990', value: 57 },\n { type: 'Democracies', year: '2000', value: 87 },\n { type: 'Democracies', year: '2010', value: 98 },\n { type: 'Democracies', year: '2018', value: 99 },\n { type: 'Price', year: '1930', value: 56 },\n { type: 'Price', year: '1940', value: 122 },\n { type: 'Price', year: '1950', value: 72 },\n { type: 'Price', year: '1960', value: 82 },\n { type: 'Price', year: '1970', value: 67 },\n { type: 'Price', year: '1980', value: 89 },\n { type: 'Price', year: '1990', value: 60 },\n { type: 'Price', year: '2000', value: 123 },\n { type: 'Price', year: '2010', value: 111 },\n { type: 'Price', year: '2018', value: 99 }\n ]\n },\n height: 500,\n xField: 'year',\n yField: 'value',\n seriesField: 'type',\n axes: [\n {\n orient: 'bottom',\n visible: true,\n domainLine: { visible: true },\n tick: { visible: true }\n },\n {\n orient: 'left',\n visible: true,\n domainLine: { visible: false },\n tick: { visible: false }\n }\n ],\n legends: {\n visible: true\n },\n indicator: {\n visible: true\n }\n};\n"]}
@@ -0,0 +1,31 @@
1
+ export declare const barStackedHorizontalSpec: {
2
+ type: string;
3
+ data: {
4
+ values: {
5
+ type: string;
6
+ year: string;
7
+ value: number;
8
+ }[];
9
+ };
10
+ height: number;
11
+ direction: string;
12
+ xField: string;
13
+ yField: string;
14
+ seriesField: string;
15
+ axes: {
16
+ orient: string;
17
+ visible: boolean;
18
+ domainLine: {
19
+ visible: boolean;
20
+ };
21
+ tick: {
22
+ visible: boolean;
23
+ };
24
+ }[];
25
+ legends: {
26
+ visible: boolean;
27
+ };
28
+ indicator: {
29
+ visible: boolean;
30
+ };
31
+ };
@@ -0,0 +1,181 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.barStackedHorizontalSpec = void 0, exports.barStackedHorizontalSpec = {
6
+ type: "bar",
7
+ data: {
8
+ values: [ {
9
+ type: "Autocracies",
10
+ year: "1930",
11
+ value: 129
12
+ }, {
13
+ type: "Autocracies",
14
+ year: "1940",
15
+ value: 133
16
+ }, {
17
+ type: "Autocracies",
18
+ year: "1950",
19
+ value: 130
20
+ }, {
21
+ type: "Autocracies",
22
+ year: "1960",
23
+ value: 126
24
+ }, {
25
+ type: "Autocracies",
26
+ year: "1970",
27
+ value: 117
28
+ }, {
29
+ type: "Autocracies",
30
+ year: "1980",
31
+ value: 114
32
+ }, {
33
+ type: "Autocracies",
34
+ year: "1990",
35
+ value: 111
36
+ }, {
37
+ type: "Democracies",
38
+ year: "1930",
39
+ value: 22
40
+ }, {
41
+ type: "Democracies",
42
+ year: "1940",
43
+ value: 13
44
+ }, {
45
+ type: "Democracies",
46
+ year: "1950",
47
+ value: 25
48
+ }, {
49
+ type: "Democracies",
50
+ year: "1960",
51
+ value: 29
52
+ }, {
53
+ type: "Democracies",
54
+ year: "1970",
55
+ value: 38
56
+ }, {
57
+ type: "Democracies",
58
+ year: "1980",
59
+ value: 41
60
+ }, {
61
+ type: "Democracies",
62
+ year: "1990",
63
+ value: 57
64
+ }, {
65
+ type: "Price",
66
+ year: "1930",
67
+ value: 56
68
+ }, {
69
+ type: "Price",
70
+ year: "1940",
71
+ value: 122
72
+ }, {
73
+ type: "Price",
74
+ year: "1950",
75
+ value: 72
76
+ }, {
77
+ type: "Price",
78
+ year: "1960",
79
+ value: 82
80
+ }, {
81
+ type: "Price",
82
+ year: "1970",
83
+ value: 67
84
+ }, {
85
+ type: "Price",
86
+ year: "1980",
87
+ value: 89
88
+ }, {
89
+ type: "Price",
90
+ year: "1990",
91
+ value: 60
92
+ }, {
93
+ type: "D",
94
+ year: "1930",
95
+ value: 56
96
+ }, {
97
+ type: "D",
98
+ year: "1940",
99
+ value: 122
100
+ }, {
101
+ type: "D",
102
+ year: "1950",
103
+ value: 72
104
+ }, {
105
+ type: "D",
106
+ year: "1960",
107
+ value: 82
108
+ }, {
109
+ type: "D",
110
+ year: "1970",
111
+ value: 67
112
+ }, {
113
+ type: "D",
114
+ year: "1980",
115
+ value: 89
116
+ }, {
117
+ type: "D",
118
+ year: "1990",
119
+ value: 60
120
+ }, {
121
+ type: "E",
122
+ year: "1930",
123
+ value: 56
124
+ }, {
125
+ type: "E",
126
+ year: "1940",
127
+ value: 122
128
+ }, {
129
+ type: "E",
130
+ year: "1950",
131
+ value: 72
132
+ }, {
133
+ type: "E",
134
+ year: "1960",
135
+ value: 82
136
+ }, {
137
+ type: "E",
138
+ year: "1970",
139
+ value: 67
140
+ }, {
141
+ type: "E",
142
+ year: "1980",
143
+ value: 89
144
+ }, {
145
+ type: "E",
146
+ year: "1990",
147
+ value: 60
148
+ } ]
149
+ },
150
+ height: 500,
151
+ direction: "horizontal",
152
+ xField: "value",
153
+ yField: "year",
154
+ seriesField: "type",
155
+ axes: [ {
156
+ orient: "left",
157
+ visible: !0,
158
+ domainLine: {
159
+ visible: !0
160
+ },
161
+ tick: {
162
+ visible: !0
163
+ }
164
+ }, {
165
+ orient: "bottom",
166
+ visible: !0,
167
+ domainLine: {
168
+ visible: !1
169
+ },
170
+ tick: {
171
+ visible: !1
172
+ }
173
+ } ],
174
+ legends: {
175
+ visible: !0
176
+ },
177
+ indicator: {
178
+ visible: !0
179
+ }
180
+ };
181
+ //# sourceMappingURL=barStackedHorizontal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/spec/barStackedHorizontal.ts"],"names":[],"mappings":";;;AAAa,QAAA,wBAAwB,GAAG;IACtC,IAAI,EAAE,KAAK;IAEX,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE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O,EAAE,KAAK,EAAE;SACzB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,SAAS,EAAE;QACT,OAAO,EAAE,IAAI;KACd;CACF,CAAC","file":"barStackedHorizontal.js","sourcesContent":["export const barStackedHorizontalSpec = {\n type: 'bar',\n //stack: true,\n data: {\n values: [\n { type: 'Autocracies', year: '1930', value: 129 },\n { type: 'Autocracies', year: '1940', value: 133 },\n { type: 'Autocracies', year: '1950', value: 130 },\n { type: 'Autocracies', year: '1960', value: 126 },\n { type: 'Autocracies', year: '1970', value: 117 },\n { type: 'Autocracies', year: '1980', value: 114 },\n { type: 'Autocracies', year: '1990', value: 111 },\n { type: 'Democracies', year: '1930', value: 22 },\n { type: 'Democracies', year: '1940', value: 13 },\n { type: 'Democracies', year: '1950', value: 25 },\n { type: 'Democracies', year: '1960', value: 29 },\n { type: 'Democracies', year: '1970', value: 38 },\n { type: 'Democracies', year: '1980', value: 41 },\n { type: 'Democracies', year: '1990', value: 57 },\n { type: 'Price', year: '1930', value: 56 },\n { type: 'Price', year: '1940', value: 122 },\n { type: 'Price', year: '1950', value: 72 },\n { type: 'Price', year: '1960', value: 82 },\n { type: 'Price', year: '1970', value: 67 },\n { type: 'Price', year: '1980', value: 89 },\n { type: 'Price', year: '1990', value: 60 },\n { type: 'D', year: '1930', value: 56 },\n { type: 'D', year: '1940', value: 122 },\n { type: 'D', year: '1950', value: 72 },\n { type: 'D', year: '1960', value: 82 },\n { type: 'D', year: '1970', value: 67 },\n { type: 'D', year: '1980', value: 89 },\n { type: 'D', year: '1990', value: 60 },\n { type: 'E', year: '1930', value: 56 },\n { type: 'E', year: '1940', value: 122 },\n { type: 'E', year: '1950', value: 72 },\n { type: 'E', year: '1960', value: 82 },\n { type: 'E', year: '1970', value: 67 },\n { type: 'E', year: '1980', value: 89 },\n { type: 'E', year: '1990', value: 60 }\n ]\n },\n height: 500,\n direction: 'horizontal',\n xField: 'value',\n yField: 'year',\n seriesField: 'type',\n axes: [\n {\n orient: 'left',\n visible: true,\n domainLine: { visible: true },\n tick: { visible: true }\n },\n {\n orient: 'bottom',\n visible: true,\n domainLine: { visible: false },\n tick: { visible: false }\n }\n ],\n legends: {\n visible: true\n },\n indicator: {\n visible: true\n }\n};\n"]}
@@ -0,0 +1,32 @@
1
+ export declare const barStackedPercentSpec: {
2
+ type: string;
3
+ stack: boolean;
4
+ percent: boolean;
5
+ data: {
6
+ values: {
7
+ type: string;
8
+ year: string;
9
+ value: number;
10
+ }[];
11
+ };
12
+ height: number;
13
+ xField: string;
14
+ yField: string;
15
+ seriesField: string;
16
+ axes: {
17
+ orient: string;
18
+ visible: boolean;
19
+ domainLine: {
20
+ visible: boolean;
21
+ };
22
+ tick: {
23
+ visible: boolean;
24
+ };
25
+ }[];
26
+ legends: {
27
+ visible: boolean;
28
+ };
29
+ label: {
30
+ visible: boolean;
31
+ };
32
+ };
@@ -0,0 +1,162 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.barStackedPercentSpec = void 0, exports.barStackedPercentSpec = {
6
+ type: "bar",
7
+ stack: !0,
8
+ percent: !0,
9
+ data: {
10
+ values: [ {
11
+ type: "Autocracies",
12
+ year: "1930",
13
+ value: 129
14
+ }, {
15
+ type: "Autocracies",
16
+ year: "1940",
17
+ value: 133
18
+ }, {
19
+ type: "Autocracies",
20
+ year: "1950",
21
+ value: 130
22
+ }, {
23
+ type: "Autocracies",
24
+ year: "1960",
25
+ value: 126
26
+ }, {
27
+ type: "Autocracies",
28
+ year: "1970",
29
+ value: 117
30
+ }, {
31
+ type: "Autocracies",
32
+ year: "1980",
33
+ value: 114
34
+ }, {
35
+ type: "Autocracies",
36
+ year: "1990",
37
+ value: 111
38
+ }, {
39
+ type: "Autocracies",
40
+ year: "2000",
41
+ value: 89
42
+ }, {
43
+ type: "Autocracies",
44
+ year: "2010",
45
+ value: 80
46
+ }, {
47
+ type: "Autocracies",
48
+ year: "2018",
49
+ value: 80
50
+ }, {
51
+ type: "Democracies",
52
+ year: "1930",
53
+ value: 22
54
+ }, {
55
+ type: "Democracies",
56
+ year: "1940",
57
+ value: 13
58
+ }, {
59
+ type: "Democracies",
60
+ year: "1950",
61
+ value: 25
62
+ }, {
63
+ type: "Democracies",
64
+ year: "1960",
65
+ value: 29
66
+ }, {
67
+ type: "Democracies",
68
+ year: "1970",
69
+ value: 38
70
+ }, {
71
+ type: "Democracies",
72
+ year: "1980",
73
+ value: 41
74
+ }, {
75
+ type: "Democracies",
76
+ year: "1990",
77
+ value: 57
78
+ }, {
79
+ type: "Democracies",
80
+ year: "2000",
81
+ value: 87
82
+ }, {
83
+ type: "Democracies",
84
+ year: "2010",
85
+ value: 98
86
+ }, {
87
+ type: "Democracies",
88
+ year: "2018",
89
+ value: 99
90
+ }, {
91
+ type: "Price",
92
+ year: "1930",
93
+ value: 56
94
+ }, {
95
+ type: "Price",
96
+ year: "1940",
97
+ value: 122
98
+ }, {
99
+ type: "Price",
100
+ year: "1950",
101
+ value: 72
102
+ }, {
103
+ type: "Price",
104
+ year: "1960",
105
+ value: 82
106
+ }, {
107
+ type: "Price",
108
+ year: "1970",
109
+ value: 67
110
+ }, {
111
+ type: "Price",
112
+ year: "1980",
113
+ value: 89
114
+ }, {
115
+ type: "Price",
116
+ year: "1990",
117
+ value: 60
118
+ }, {
119
+ type: "Price",
120
+ year: "2000",
121
+ value: 123
122
+ }, {
123
+ type: "Price",
124
+ year: "2010",
125
+ value: 111
126
+ }, {
127
+ type: "Price",
128
+ year: "2018",
129
+ value: 99
130
+ } ]
131
+ },
132
+ height: 500,
133
+ xField: "year",
134
+ yField: "value",
135
+ seriesField: "type",
136
+ axes: [ {
137
+ orient: "bottom",
138
+ visible: !0,
139
+ domainLine: {
140
+ visible: !0
141
+ },
142
+ tick: {
143
+ visible: !0
144
+ }
145
+ }, {
146
+ orient: "left",
147
+ visible: !0,
148
+ domainLine: {
149
+ visible: !1
150
+ },
151
+ tick: {
152
+ visible: !1
153
+ }
154
+ } ],
155
+ legends: {
156
+ visible: !0
157
+ },
158
+ label: {
159
+ visible: !1
160
+ }
161
+ };
162
+ //# sourceMappingURL=barStackedPercent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/spec/barStackedPercent.ts"],"names":[],"mappings":";;;AAAa,QAAA,qBAAqB,GAAG;IACnC,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,IAAI;IACb,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YACjD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAChD,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EA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AAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAC1C,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;YAC1C,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YAC3C,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE;YAC3C,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;SAC3C;KACF;IACD,MAAM,EAAE,GAAG;IACX,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,OAAO;IACf,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE;QACJ;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;YAC7B,IAAI,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;SACxB;QACD;YACE,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,IAAI;YACb,UAAU,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;YAC9B,IAAI,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE;SACzB;KACF;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;KACd;IACD,KAAK,EAAE;QACL,OAAO,EAAE,KAAK;KACf;CACF,CAAC","file":"barStackedPercent.js","sourcesContent":["export const barStackedPercentSpec = {\n type: 'bar',\n stack: true,\n percent: true,\n data: {\n values: [\n { type: 'Autocracies', year: '1930', value: 129 },\n { type: 'Autocracies', year: '1940', value: 133 },\n { type: 'Autocracies', year: '1950', value: 130 },\n { type: 'Autocracies', year: '1960', value: 126 },\n { type: 'Autocracies', year: '1970', value: 117 },\n { type: 'Autocracies', year: '1980', value: 114 },\n { type: 'Autocracies', year: '1990', value: 111 },\n { type: 'Autocracies', year: '2000', value: 89 },\n { type: 'Autocracies', year: '2010', value: 80 },\n { type: 'Autocracies', year: '2018', value: 80 },\n { type: 'Democracies', year: '1930', value: 22 },\n { type: 'Democracies', year: '1940', value: 13 },\n { type: 'Democracies', year: '1950', value: 25 },\n { type: 'Democracies', year: '1960', value: 29 },\n { type: 'Democracies', year: '1970', value: 38 },\n { type: 'Democracies', year: '1980', value: 41 },\n { type: 'Democracies', year: '1990', value: 57 },\n { type: 'Democracies', year: '2000', value: 87 },\n { type: 'Democracies', year: '2010', value: 98 },\n { type: 'Democracies', year: '2018', value: 99 },\n { type: 'Price', year: '1930', value: 56 },\n { type: 'Price', year: '1940', value: 122 },\n { type: 'Price', year: '1950', value: 72 },\n { type: 'Price', year: '1960', value: 82 },\n { type: 'Price', year: '1970', value: 67 },\n { type: 'Price', year: '1980', value: 89 },\n { type: 'Price', year: '1990', value: 60 },\n { type: 'Price', year: '2000', value: 123 },\n { type: 'Price', year: '2010', value: 111 },\n { type: 'Price', year: '2018', value: 99 }\n ]\n },\n height: 500,\n xField: 'year',\n yField: 'value',\n seriesField: 'type',\n axes: [\n {\n orient: 'bottom',\n visible: true,\n domainLine: { visible: true },\n tick: { visible: true }\n },\n {\n orient: 'left',\n visible: true,\n domainLine: { visible: false },\n tick: { visible: false }\n }\n ],\n legends: {\n visible: true\n },\n label: {\n visible: false\n }\n};\n"]}
@@ -0,0 +1,19 @@
1
+ export declare const funnelSpec: {
2
+ type: string;
3
+ categoryField: string;
4
+ valueField: string;
5
+ data: {
6
+ id: string;
7
+ values: {
8
+ value: number;
9
+ name: string;
10
+ }[];
11
+ }[];
12
+ label: {
13
+ visible: boolean;
14
+ };
15
+ legends: {
16
+ visible: boolean;
17
+ orient: string;
18
+ };
19
+ };
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.funnelSpec = void 0, exports.funnelSpec = {
6
+ type: "funnel",
7
+ categoryField: "name",
8
+ valueField: "value",
9
+ data: [ {
10
+ id: "funnel",
11
+ values: [ {
12
+ value: 100,
13
+ name: "Step1"
14
+ }, {
15
+ value: 80,
16
+ name: "Step2"
17
+ }, {
18
+ value: 60,
19
+ name: "Step3"
20
+ }, {
21
+ value: 40,
22
+ name: "Step4"
23
+ }, {
24
+ value: 20,
25
+ name: "Step5"
26
+ } ]
27
+ } ],
28
+ label: {
29
+ visible: !0
30
+ },
31
+ legends: {
32
+ visible: !0,
33
+ orient: "bottom"
34
+ }
35
+ };
36
+ //# sourceMappingURL=funnel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/spec/funnel.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ;IACd,aAAa,EAAE,MAAM;IACrB,UAAU,EAAE,OAAO;IACnB,IAAI,EAAE;QACJ;YACE,EAAE,EAAE,QAAQ;YACZ,MAAM,EAAE;gBACN;oBACE,KAAK,EAAE,GAAG;oBACV,IAAI,EAAE,OAAO;iBACd;gBACD;oBACE,KAAK,EAAE,EAAE;oBACT,IAAI,EAAE,OAAO;iBACd;gBACD;oBACE,KAAK,EAAE,EAAE;oBACT,IAAI,EAAE,OAAO;iBACd;gBACD;oBACE,KAAK,EAAE,EAAE;oBACT,IAAI,EAAE,OAAO;iBACd;gBACD;oBACE,KAAK,EAAE,EAAE;oBACT,IAAI,EAAE,OAAO;iBACd;aACF;SACF;KACF;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI;KACd;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI;QACb,MAAM,EAAE,QAAQ;KACjB;CACF,CAAC","file":"funnel.js","sourcesContent":["export const funnelSpec = {\n type: 'funnel',\n categoryField: 'name',\n valueField: 'value',\n data: [\n {\n id: 'funnel',\n values: [\n {\n value: 100,\n name: 'Step1'\n },\n {\n value: 80,\n name: 'Step2'\n },\n {\n value: 60,\n name: 'Step3'\n },\n {\n value: 40,\n name: 'Step4'\n },\n {\n value: 20,\n name: 'Step5'\n }\n ]\n }\n ],\n label: {\n visible: true\n },\n legends: {\n visible: true,\n orient: 'bottom'\n }\n};\n"]}