@gravity-ui/chartkit 4.0.0-beta.4 → 4.0.0-beta.5

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 (42) hide show
  1. package/build/plugins/d3/index.d.ts +1 -0
  2. package/build/plugins/d3/index.js +1 -0
  3. package/build/plugins/d3/renderer/D3Widget.d.ts +1 -1
  4. package/build/plugins/highcharts/index.d.ts +1 -0
  5. package/build/plugins/highcharts/index.js +1 -0
  6. package/build/plugins/highcharts/renderer/HighchartsWidget.d.ts +2 -2
  7. package/build/plugins/indicator/index.d.ts +1 -0
  8. package/build/plugins/indicator/index.js +1 -0
  9. package/build/plugins/indicator/renderer/IndicatorWidget.d.ts +1 -1
  10. package/build/plugins/yagr/index.d.ts +1 -0
  11. package/build/plugins/yagr/index.js +1 -0
  12. package/build/types/index.d.ts +1 -0
  13. package/build/types/index.js +1 -1
  14. package/package.json +30 -3
  15. package/build/plugins/highcharts/mocks/area-range.d.ts +0 -2
  16. package/build/plugins/highcharts/mocks/area-range.js +0 -61
  17. package/build/plugins/highcharts/mocks/area-stacked.d.ts +0 -2
  18. package/build/plugins/highcharts/mocks/area-stacked.js +0 -256
  19. package/build/plugins/highcharts/mocks/column-hor-stacked.d.ts +0 -2
  20. package/build/plugins/highcharts/mocks/column-hor-stacked.js +0 -199
  21. package/build/plugins/highcharts/mocks/column-ver-stacked.d.ts +0 -2
  22. package/build/plugins/highcharts/mocks/column-ver-stacked.js +0 -197
  23. package/build/plugins/highcharts/mocks/column-ver.d.ts +0 -2
  24. package/build/plugins/highcharts/mocks/column-ver.js +0 -73
  25. package/build/plugins/highcharts/mocks/combo-chart-with-same-legend-titles.d.ts +0 -2
  26. package/build/plugins/highcharts/mocks/combo-chart-with-same-legend-titles.js +0 -444
  27. package/build/plugins/highcharts/mocks/complex.d.ts +0 -2
  28. package/build/plugins/highcharts/mocks/complex.js +0 -323
  29. package/build/plugins/highcharts/mocks/custom-error-render.d.ts +0 -3
  30. package/build/plugins/highcharts/mocks/custom-error-render.js +0 -69
  31. package/build/plugins/highcharts/mocks/holidays.d.ts +0 -7070
  32. package/build/plugins/highcharts/mocks/holidays.js +0 -7065
  33. package/build/plugins/highcharts/mocks/line.d.ts +0 -2
  34. package/build/plugins/highcharts/mocks/line.js +0 -134
  35. package/build/plugins/highcharts/mocks/no-data.d.ts +0 -3
  36. package/build/plugins/highcharts/mocks/no-data.js +0 -69
  37. package/build/plugins/highcharts/mocks/pie-with-totals.d.ts +0 -2
  38. package/build/plugins/highcharts/mocks/pie-with-totals.js +0 -43
  39. package/build/plugins/highcharts/mocks/pie.d.ts +0 -2
  40. package/build/plugins/highcharts/mocks/pie.js +0 -37
  41. package/build/plugins/index.d.ts +0 -7
  42. package/build/plugins/index.js +0 -6
@@ -1,444 +0,0 @@
1
- export const data = {
2
- data: {
3
- graphs: [
4
- {
5
- id: 'uniq-1',
6
- title: 'Office Supplies',
7
- tooltip: {
8
- chartKitFormatting: true,
9
- chartKitPrecision: 2,
10
- },
11
- data: [
12
- {
13
- y: 506.3000054359436,
14
- dataLabels: {
15
- enabled: false,
16
- },
17
- x: 1483228800000,
18
- },
19
- {
20
- y: 453.8000063896179,
21
- dataLabels: {
22
- enabled: false,
23
- },
24
- x: 1483315200000,
25
- },
26
- {
27
- y: 2070.3000507354736,
28
- dataLabels: {
29
- enabled: false,
30
- },
31
- x: 1483401600000,
32
- },
33
- {
34
- y: 33.70000076293945,
35
- dataLabels: {
36
- enabled: false,
37
- },
38
- x: 1483660800000,
39
- },
40
- {
41
- y: 335.6000015735626,
42
- dataLabels: {
43
- enabled: false,
44
- },
45
- x: 1483747200000,
46
- },
47
- {
48
- y: 274.5,
49
- dataLabels: {
50
- enabled: false,
51
- },
52
- x: 1483920000000,
53
- },
54
- {
55
- y: 810.899998664856,
56
- dataLabels: {
57
- enabled: false,
58
- },
59
- x: 1484179200000,
60
- },
61
- {
62
- y: 4406.299995422363,
63
- dataLabels: {
64
- enabled: false,
65
- },
66
- x: 1484265600000,
67
- },
68
- {
69
- y: 508.30000019073486,
70
- dataLabels: {
71
- enabled: false,
72
- },
73
- x: 1484352000000,
74
- },
75
- {
76
- y: 2029.7999515533447,
77
- dataLabels: {
78
- enabled: false,
79
- },
80
- x: 1484438400000,
81
- },
82
- ],
83
- legendTitle: 'Office Supplies',
84
- drillDownFilterValue: 'Office Supplies',
85
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
86
- yAxis: 0,
87
- colorValue: 'Office Supplies',
88
- shapeValue: 'Sales',
89
- color: '#4DA2F1',
90
- dashStyle: 'Solid',
91
- type: 'line',
92
- },
93
- {
94
- id: 'uniq-2',
95
- title: 'Technology',
96
- tooltip: {
97
- chartKitFormatting: true,
98
- chartKitPrecision: 2,
99
- },
100
- data: [
101
- {
102
- y: 712.300012588501,
103
- dataLabels: {
104
- enabled: false,
105
- },
106
- x: 1483315200000,
107
- },
108
- {
109
- y: 3060,
110
- dataLabels: {
111
- enabled: false,
112
- },
113
- x: 1483747200000,
114
- },
115
- {
116
- y: 528.7000126838684,
117
- dataLabels: {
118
- enabled: false,
119
- },
120
- x: 1484352000000,
121
- },
122
- {
123
- y: 110.5999984741211,
124
- dataLabels: {
125
- enabled: false,
126
- },
127
- x: 1484438400000,
128
- },
129
- ],
130
- legendTitle: 'Technology',
131
- drillDownFilterValue: 'Technology',
132
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
133
- yAxis: 0,
134
- colorValue: 'Technology',
135
- shapeValue: 'Sales',
136
- color: '#FF3D64',
137
- dashStyle: 'Solid',
138
- type: 'line',
139
- },
140
- {
141
- id: 'uniq-3',
142
- title: 'Furniture',
143
- tooltip: {
144
- chartKitFormatting: true,
145
- chartKitPrecision: 2,
146
- },
147
- data: [
148
- {
149
- y: 975.4000015258789,
150
- dataLabels: {
151
- enabled: false,
152
- },
153
- x: 1483228800000,
154
- },
155
- {
156
- y: 913.4000244140625,
157
- dataLabels: {
158
- enabled: false,
159
- },
160
- x: 1483315200000,
161
- },
162
- {
163
- y: 893,
164
- dataLabels: {
165
- enabled: false,
166
- },
167
- x: 1483833600000,
168
- },
169
- {
170
- y: 37.70000076293945,
171
- dataLabels: {
172
- enabled: false,
173
- },
174
- x: 1484179200000,
175
- },
176
- {
177
- y: 212.89999389648438,
178
- dataLabels: {
179
- enabled: false,
180
- },
181
- x: 1484265600000,
182
- },
183
- {
184
- y: 19,
185
- dataLabels: {
186
- enabled: false,
187
- },
188
- x: 1484352000000,
189
- },
190
- ],
191
- legendTitle: 'Furniture',
192
- drillDownFilterValue: 'Furniture',
193
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
194
- yAxis: 0,
195
- colorValue: 'Furniture',
196
- shapeValue: 'Sales',
197
- color: '#8AD554',
198
- dashStyle: 'Solid',
199
- type: 'line',
200
- },
201
- {
202
- id: 'uniq-4',
203
- title: 'Furniture',
204
- tooltip: {
205
- chartKitFormatting: true,
206
- chartKitPrecision: 0,
207
- },
208
- data: [
209
- {
210
- y: -8,
211
- dataLabels: {
212
- enabled: false,
213
- },
214
- x: 1483228800000,
215
- },
216
- {
217
- y: -170,
218
- dataLabels: {
219
- enabled: false,
220
- },
221
- x: 1483315200000,
222
- },
223
- {
224
- y: 80,
225
- dataLabels: {
226
- enabled: false,
227
- },
228
- x: 1483833600000,
229
- },
230
- {
231
- y: 15,
232
- dataLabels: {
233
- enabled: false,
234
- },
235
- x: 1484179200000,
236
- },
237
- {
238
- y: 53,
239
- dataLabels: {
240
- enabled: false,
241
- },
242
- x: 1484265600000,
243
- },
244
- {
245
- y: 8,
246
- dataLabels: {
247
- enabled: false,
248
- },
249
- x: 1484352000000,
250
- },
251
- ],
252
- legendTitle: 'Furniture',
253
- drillDownFilterValue: 'Furniture',
254
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
255
- yAxis: 0,
256
- colorValue: 'Furniture',
257
- shapeValue: 'Profit',
258
- color: '#4DA2F1',
259
- type: 'column',
260
- stack: 'c44bfc70-a7a5-11ed-96a0-9bb7dddec993__',
261
- },
262
- {
263
- id: 'uniq-5',
264
- title: 'Office Supplies',
265
- tooltip: {
266
- chartKitFormatting: true,
267
- chartKitPrecision: 0,
268
- },
269
- data: [
270
- {
271
- y: -177,
272
- dataLabels: {
273
- enabled: false,
274
- },
275
- x: 1483228800000,
276
- },
277
- {
278
- y: -18,
279
- dataLabels: {
280
- enabled: false,
281
- },
282
- x: 1483315200000,
283
- },
284
- {
285
- y: 703,
286
- dataLabels: {
287
- enabled: false,
288
- },
289
- x: 1483401600000,
290
- },
291
- {
292
- y: 15,
293
- dataLabels: {
294
- enabled: false,
295
- },
296
- x: 1483660800000,
297
- },
298
- {
299
- y: 76,
300
- dataLabels: {
301
- enabled: false,
302
- },
303
- x: 1483747200000,
304
- },
305
- {
306
- y: -229,
307
- dataLabels: {
308
- enabled: false,
309
- },
310
- x: 1483920000000,
311
- },
312
- {
313
- y: -1119,
314
- dataLabels: {
315
- enabled: false,
316
- },
317
- x: 1484179200000,
318
- },
319
- {
320
- y: 152,
321
- dataLabels: {
322
- enabled: false,
323
- },
324
- x: 1484265600000,
325
- },
326
- {
327
- y: 128,
328
- dataLabels: {
329
- enabled: false,
330
- },
331
- x: 1484352000000,
332
- },
333
- {
334
- y: 266,
335
- dataLabels: {
336
- enabled: false,
337
- },
338
- x: 1484438400000,
339
- },
340
- ],
341
- legendTitle: 'Office Supplies',
342
- drillDownFilterValue: 'Office Supplies',
343
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
344
- yAxis: 0,
345
- colorValue: 'Office Supplies',
346
- shapeValue: 'Profit',
347
- color: '#FF3D64',
348
- type: 'column',
349
- stack: 'c44bfc70-a7a5-11ed-96a0-9bb7dddec993__',
350
- },
351
- {
352
- id: 'uniq-6',
353
- title: 'Technology',
354
- tooltip: {
355
- chartKitFormatting: true,
356
- chartKitPrecision: 0,
357
- },
358
- data: [
359
- {
360
- y: -23,
361
- dataLabels: {
362
- enabled: false,
363
- },
364
- x: 1483315200000,
365
- },
366
- {
367
- y: 680,
368
- dataLabels: {
369
- enabled: false,
370
- },
371
- x: 1483747200000,
372
- },
373
- {
374
- y: 65,
375
- dataLabels: {
376
- enabled: false,
377
- },
378
- x: 1484352000000,
379
- },
380
- {
381
- y: 27,
382
- dataLabels: {
383
- enabled: false,
384
- },
385
- x: 1484438400000,
386
- },
387
- ],
388
- legendTitle: 'Technology',
389
- drillDownFilterValue: 'Technology',
390
- colorGuid: 'ac8dd226-3372-4212-bde7-17afc792a728',
391
- yAxis: 0,
392
- colorValue: 'Technology',
393
- shapeValue: 'Profit',
394
- color: '#8AD554',
395
- type: 'column',
396
- stack: 'c44bfc70-a7a5-11ed-96a0-9bb7dddec993__',
397
- },
398
- ],
399
- },
400
- config: {
401
- withoutLineLimit: true,
402
- hideHolidaysBands: true,
403
- enableSum: true,
404
- precision: 2,
405
- hideHolidays: false,
406
- normalizeDiv: false,
407
- normalizeSub: false,
408
- },
409
- libraryConfig: {
410
- chart: {
411
- type: '',
412
- zoomType: 'xy',
413
- },
414
- legend: {
415
- symbolWidth: 38,
416
- },
417
- xAxis: {
418
- endOnTick: false,
419
- },
420
- yAxis: {
421
- opposite: false,
422
- labels: {
423
- y: 3,
424
- },
425
- type: 'linear',
426
- },
427
- tooltip: {},
428
- plotOptions: {
429
- series: {
430
- dataGrouping: {
431
- enabled: false,
432
- },
433
- dataLabels: {
434
- allowOverlap: false,
435
- },
436
- },
437
- },
438
- axesFormatting: {
439
- xAxis: [],
440
- yAxis: [],
441
- },
442
- enableSum: true,
443
- },
444
- };
@@ -1,2 +0,0 @@
1
- import type { HighchartsWidgetData } from '../types';
2
- export declare const data: HighchartsWidgetData;