igniteui-webcomponents-charts 4.3.0-beta.0 → 4.3.0-beta.2

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 (38) hide show
  1. package/bundles/igniteui-webcomponents-charts.umd.js +5504 -5418
  2. package/bundles/igniteui-webcomponents-charts.umd.min.js +1 -1
  3. package/esm2015/lib/CategoryChart.js +489 -478
  4. package/esm2015/lib/CategoryChartToolbarProvider.js +8 -8
  5. package/esm2015/lib/DataChartToolbarProvider.js +18 -8
  6. package/esm2015/lib/DomainChartToolbarProvider.js +57 -62
  7. package/esm2015/lib/DomainChart_combined.js +1816 -1794
  8. package/esm2015/lib/FinancialChart_combined.js +1332 -1332
  9. package/esm2015/lib/HorizontalAnchoredCategorySeriesProxy.js +6 -0
  10. package/esm2015/lib/XYChart.js +790 -790
  11. package/esm2015/lib/igc-category-chart-component.js +126 -126
  12. package/esm2015/lib/igc-data-chart-toolbar-module.js +14 -0
  13. package/esm2015/lib/igc-domain-chart-component.js +635 -625
  14. package/esm2015/lib/igc-financial-chart-component.js +171 -171
  15. package/esm2015/lib/igc-xy-chart-component.js +218 -218
  16. package/esm5/lib/CategoryChart.js +444 -433
  17. package/esm5/lib/CategoryChartToolbarProvider.js +8 -8
  18. package/esm5/lib/DataChartToolbarProvider.js +35 -8
  19. package/esm5/lib/DomainChartToolbarProvider.js +57 -62
  20. package/esm5/lib/DomainChart_combined.js +1695 -1669
  21. package/esm5/lib/FinancialChart_combined.js +1274 -1274
  22. package/esm5/lib/HorizontalAnchoredCategorySeriesProxy.js +6 -0
  23. package/esm5/lib/XYChart.js +705 -705
  24. package/esm5/lib/igc-category-chart-component.js +126 -126
  25. package/esm5/lib/igc-data-chart-toolbar-module.js +14 -0
  26. package/esm5/lib/igc-domain-chart-component.js +639 -625
  27. package/esm5/lib/igc-financial-chart-component.js +171 -171
  28. package/esm5/lib/igc-xy-chart-component.js +218 -218
  29. package/fesm2015/igniteui-webcomponents-charts.js +5666 -5605
  30. package/fesm5/igniteui-webcomponents-charts.js +5504 -5418
  31. package/lib/CategoryChart.d.ts +151 -150
  32. package/lib/DomainChart_combined.d.ts +571 -567
  33. package/lib/FinancialChart_combined.d.ts +323 -323
  34. package/lib/HorizontalAnchoredCategorySeriesProxy.d.ts +3 -0
  35. package/lib/IHorizontalAnchoredCategorySeriesProxy.d.ts +3 -0
  36. package/lib/XYChart.d.ts +233 -233
  37. package/lib/igc-domain-chart-component.d.ts +5 -0
  38. package/package.json +2 -2
@@ -21,7 +21,7 @@ export let CategoryChartToolbarProvider = /*@__PURE__*/ (() => {
21
21
  case "ShowGridlines":
22
22
  {
23
23
  let d = b;
24
- d.isChecked = c.ab9 != null;
24
+ d.isChecked = c.acd != null;
25
25
  }
26
26
  break;
27
27
  }
@@ -30,26 +30,26 @@ export let CategoryChartToolbarProvider = /*@__PURE__*/ (() => {
30
30
  let e = a;
31
31
  switch (b) {
32
32
  case "XAxisMajorStroke":
33
- this.e("ShowGridlines", 2, a.ab9 != null);
33
+ this.e("ShowGridlines", 2, a.acd != null);
34
34
  break;
35
35
  }
36
36
  }
37
37
  i(a, b) {
38
38
  let c = a;
39
39
  if (this.b(b, "ShowGridlines")) {
40
- if (c.ab9 == null) {
40
+ if (c.acd == null) {
41
41
  if (this.v != null) {
42
- c.ab9 = this.v;
42
+ c.acd = this.v;
43
43
  }
44
44
  else {
45
- c.ab9 = c.dataChart.xv;
45
+ c.acd = c.dataChart.xv;
46
46
  }
47
47
  }
48
48
  }
49
49
  else {
50
- if (c.ab9 != null) {
51
- this.v = c.ab9;
52
- c.ab9 = null;
50
+ if (c.acd != null) {
51
+ this.v = c.acd;
52
+ c.acd = null;
53
53
  }
54
54
  }
55
55
  }
@@ -453,7 +453,7 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
453
453
  }
454
454
  }
455
455
  y(a, b) {
456
- let c = this.p(b, "Logarithmic");
456
+ let c = this.p(b, "NoTrends");
457
457
  if (c) {
458
458
  for (let d of fromEnum(a.series)) {
459
459
  if (d.dj) {
@@ -534,13 +534,23 @@ export let DataChartToolbarProvider = /*@__PURE__*/ (() => {
534
534
  }
535
535
  ab(a, b) {
536
536
  this.af(a, b, "ShowValueLabels", 5, () => {
537
- let c = this.g.createCalloutLayer();
538
- this.g.setIsAutoCalloutBehaviorEnabled(c, true);
539
- let d = new AutomaticSeriesRequest();
540
- d.a = 5;
541
- d.e = true;
542
- d.d = c;
543
- return d;
537
+ for (let c of fromEnum(a.series)) {
538
+ if (c.dj) {
539
+ if (this.o && this.k.matchesType(c)) {
540
+ let d = this.k.getMarkerType(c);
541
+ if (d == 1) {
542
+ this.k.setMarkerType(c, 13);
543
+ }
544
+ }
545
+ }
546
+ }
547
+ let e = this.g.createCalloutLayer();
548
+ this.g.setIsAutoCalloutBehaviorEnabled(e, true);
549
+ let f = new AutomaticSeriesRequest();
550
+ f.a = 5;
551
+ f.e = true;
552
+ f.d = e;
553
+ return f;
544
554
  });
545
555
  }
546
556
  aa(a, b) {
@@ -55,27 +55,27 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
55
55
  case "ShowGridlines":
56
56
  {
57
57
  let e = b;
58
- e.isChecked = a.fi;
58
+ e.isChecked = a.fj;
59
59
  }
60
60
  break;
61
61
  case "ShowValueLabels":
62
62
  {
63
63
  let f = b;
64
- f.isChecked = a.fi;
64
+ f.isChecked = a.fj;
65
65
  }
66
66
  break;
67
67
  case "ShowLastValueLabel":
68
68
  {
69
69
  let g = b;
70
- g.isChecked = a.fq;
70
+ g.isChecked = a.ft;
71
71
  }
72
72
  break;
73
73
  case "MinValue":
74
74
  {
75
- if (a.dt != null) {
75
+ if (a.du != null) {
76
76
  let h = b;
77
- for (let i = 0; i < a.dt.count; i++) {
78
- if (a.dt._inner[i] == 4) {
77
+ for (let i = 0; i < a.du.count; i++) {
78
+ if (a.du._inner[i] == 4) {
79
79
  h.isChecked = true;
80
80
  break;
81
81
  }
@@ -85,10 +85,10 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
85
85
  break;
86
86
  case "MaxValue":
87
87
  {
88
- if (a.dt != null) {
88
+ if (a.du != null) {
89
89
  let j = b;
90
- for (let k = 0; k < a.dt.count; k++) {
91
- if (a.dt._inner[k] == 5) {
90
+ for (let k = 0; k < a.du.count; k++) {
91
+ if (a.du._inner[k] == 5) {
92
92
  j.isChecked = true;
93
93
  break;
94
94
  }
@@ -98,10 +98,10 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
98
98
  break;
99
99
  case "Average":
100
100
  {
101
- if (a.dt != null) {
101
+ if (a.du != null) {
102
102
  let l = b;
103
- for (let m = 0; m < a.dt.count; m++) {
104
- if (a.dt._inner[m] == 6) {
103
+ for (let m = 0; m < a.du.count; m++) {
104
+ if (a.du._inner[m] == 6) {
105
105
  l.isChecked = true;
106
106
  break;
107
107
  }
@@ -111,10 +111,10 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
111
111
  break;
112
112
  case "SeriesAvg":
113
113
  {
114
- if (a.dt != null) {
114
+ if (a.du != null) {
115
115
  let n = b;
116
- for (let o = 0; o < a.dt.count; o++) {
117
- if (a.dt._inner[o] == 3) {
116
+ for (let o = 0; o < a.du.count; o++) {
117
+ if (a.du._inner[o] == 3) {
118
118
  n.isChecked = true;
119
119
  break;
120
120
  }
@@ -194,11 +194,11 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
194
194
  this.e("ShowCrosshairs", 2, true);
195
195
  }
196
196
  break;
197
- case "CalloutsVisible":
198
- this.e("ShowValueLabels", 2, a.fi);
197
+ case "AutoCalloutsVisible":
198
+ this.e("ShowValueLabels", 2, a.fj);
199
199
  break;
200
200
  case "FinalValueAnnotationsVisible":
201
- this.e("ShowLastValueLabel", 2, a.fq);
201
+ this.e("ShowLastValueLabel", 2, a.ft);
202
202
  break;
203
203
  }
204
204
  this.r(a, b, c, d);
@@ -229,7 +229,7 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
229
229
  g(a, b) {
230
230
  if (this.b(b, "ShowCrosshairs")) {
231
231
  a.a9 = 0;
232
- a.fj = true;
232
+ a.fm = true;
233
233
  }
234
234
  else {
235
235
  a.a9 = 1;
@@ -239,48 +239,48 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
239
239
  }
240
240
  h(a, b) {
241
241
  if (this.b(b, "Exponential")) {
242
- a.dp = 7;
242
+ a.dq = 7;
243
243
  }
244
244
  else {
245
- a.dp = 0;
245
+ a.dq = 0;
246
246
  }
247
247
  }
248
248
  j(a, b) {
249
249
  if (this.b(b, "Linear")) {
250
- a.dp = 1;
250
+ a.dq = 1;
251
251
  }
252
252
  else {
253
- a.dp = 0;
253
+ a.dq = 0;
254
254
  }
255
255
  }
256
256
  k(a, b) {
257
257
  if (this.b(b, "Logarithmic")) {
258
- a.dp = 6;
258
+ a.dq = 6;
259
259
  }
260
260
  else {
261
- a.dp = 0;
261
+ a.dq = 0;
262
262
  }
263
263
  }
264
264
  n(a, b) {
265
265
  if (this.b(b, "NoTrends")) {
266
- a.dp = 0;
266
+ a.dq = 0;
267
267
  }
268
268
  }
269
269
  l(a, b) {
270
270
  if (this.b(b, "MaxValue")) {
271
- if (a.dt == null) {
272
- a.dt = new ValueModeCollection();
271
+ if (a.du == null) {
272
+ a.du = new ValueModeCollection();
273
273
  }
274
274
  if (a.ai == null) {
275
275
  a.ai = new BrushCollection();
276
276
  }
277
- a.dt.add(5);
277
+ a.du.add(5);
278
278
  a.ai.add(BrushUtil.g(255, 99, 208, 0));
279
279
  }
280
280
  else {
281
- for (let c = 0; c < a.dt.count; c++) {
282
- if (a.dt._inner[c] == 5) {
283
- a.dt.removeAt(c);
281
+ for (let c = 0; c < a.du.count; c++) {
282
+ if (a.du._inner[c] == 5) {
283
+ a.du.removeAt(c);
284
284
  a.ai.removeAt(c);
285
285
  c--;
286
286
  }
@@ -289,19 +289,19 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
289
289
  }
290
290
  m(a, b) {
291
291
  if (this.b(b, "MinValue")) {
292
- if (a.dt == null) {
293
- a.dt = new ValueModeCollection();
292
+ if (a.du == null) {
293
+ a.du = new ValueModeCollection();
294
294
  }
295
295
  if (a.ai == null) {
296
296
  a.ai = new BrushCollection();
297
297
  }
298
- a.dt.add(4);
298
+ a.du.add(4);
299
299
  a.ai.add(BrushUtil.g(255, 246, 93, 80));
300
300
  }
301
301
  else {
302
- for (let c = 0; c < a.dt.count; c++) {
303
- if (a.dt._inner[c] == 4) {
304
- a.dt.removeAt(c);
302
+ for (let c = 0; c < a.du.count; c++) {
303
+ if (a.du._inner[c] == 4) {
304
+ a.du.removeAt(c);
305
305
  a.ai.removeAt(c);
306
306
  c--;
307
307
  }
@@ -310,19 +310,19 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
310
310
  }
311
311
  f(a, b) {
312
312
  if (this.b(b, "Average")) {
313
- if (a.dt == null) {
314
- a.dt = new ValueModeCollection();
313
+ if (a.du == null) {
314
+ a.du = new ValueModeCollection();
315
315
  }
316
316
  if (a.ai == null) {
317
317
  a.ai = new BrushCollection();
318
318
  }
319
- a.dt.add(6);
319
+ a.du.add(6);
320
320
  a.ai.add(BrushUtil.g(255, 248, 173, 118));
321
321
  }
322
322
  else {
323
- for (let c = 0; c < a.dt.count; c++) {
324
- if (a.dt._inner[c] == 6) {
325
- a.dt.removeAt(c);
323
+ for (let c = 0; c < a.du.count; c++) {
324
+ if (a.du._inner[c] == 6) {
325
+ a.du.removeAt(c);
326
326
  a.ai.removeAt(c);
327
327
  c--;
328
328
  }
@@ -331,20 +331,15 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
331
331
  }
332
332
  o(a, b) {
333
333
  if (this.b(b, "SeriesAvg")) {
334
- if (a.dt == null) {
335
- a.dt = new ValueModeCollection();
336
- }
337
- if (a.ai == null) {
338
- a.ai = new BrushCollection();
334
+ if (a.du == null) {
335
+ a.du = new ValueModeCollection();
339
336
  }
340
- a.dt.add(3);
341
- a.ai.add(null);
337
+ a.du.add(3);
342
338
  }
343
339
  else {
344
- for (let c = 0; c < a.dt.count; c++) {
345
- if (a.dt._inner[c] == 3) {
346
- a.dt.removeAt(c);
347
- a.ai.removeAt(c);
340
+ for (let c = 0; c < a.du.count; c++) {
341
+ if (a.du._inner[c] == 3) {
342
+ a.du.removeAt(c);
348
343
  c--;
349
344
  }
350
345
  }
@@ -352,28 +347,28 @@ export let DomainChartToolbarProvider = /*@__PURE__*/ (() => {
352
347
  }
353
348
  q(a, b) {
354
349
  if (this.b(b, "ShowValueLabels")) {
355
- a.fi = true;
350
+ a.fj = true;
356
351
  }
357
352
  else {
358
- a.fi = false;
353
+ a.fj = false;
359
354
  }
360
355
  }
361
356
  p(a, b) {
362
357
  if (this.b(b, "ShowLastValueLabel")) {
363
- a.fq = true;
358
+ a.ft = true;
364
359
  }
365
360
  else {
366
- a.fq = false;
361
+ a.ft = false;
367
362
  }
368
363
  }
369
364
  s(a, b) {
370
- a.tm(0.05);
365
+ a.tq(0.05);
371
366
  }
372
367
  t(a, b) {
373
- a.tn(0.05);
368
+ a.tr(0.05);
374
369
  }
375
370
  u(a, b) {
376
- a.ti();
371
+ a.tm();
377
372
  }
378
373
  }
379
374
  DomainChartToolbarProvider.$t = /*@__PURE__*/ markType(DomainChartToolbarProvider, 'DomainChartToolbarProvider', Base.$, [IDomainChartToolbarProvider_$type]);