@oliasoft-open-source/charts-library 4.7.0-beta-7 → 4.7.0-beta-9
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.js +58 -19
- package/dist/index.js.map +1 -1
- package/dist/src/components/bar-chart/bar-chart.stories.d.ts +89 -89
- package/dist/src/components/common/common.interface.d.ts +1 -0
- package/dist/src/components/common/helpers/chart-consts.d.ts +1 -0
- package/dist/src/components/common/helpers/chart-utils.d.ts +1 -1
- package/dist/src/components/common/helpers/get-chart-annotation.d.ts +1 -0
- package/dist/src/components/common/plugins/annotation-dragger-plugin/helpers.d.ts +1 -0
- package/dist/src/components/line-chart/line-chart.interface.d.ts +1 -0
- package/dist/src/components/line-chart/line-chart.stories.d.ts +118 -104
- package/dist/src/components/line-chart/line-chart.test-case.stories.d.ts +4 -4
- package/dist/src/components/pie-chart/pie-chart.stories.d.ts +24 -24
- package/dist/src/components/scatter-chart/scatter-chart.stories.d.ts +26 -26
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
export
|
|
2
|
+
export let title: string;
|
|
3
3
|
export { BarChart as component };
|
|
4
4
|
export namespace args {
|
|
5
5
|
export { singleChart as chart };
|
|
@@ -173,12 +173,12 @@ export namespace CustomLegend {
|
|
|
173
173
|
export namespace args_24 {
|
|
174
174
|
namespace chart {
|
|
175
175
|
namespace options {
|
|
176
|
-
|
|
176
|
+
let title_1: string;
|
|
177
177
|
export { title_1 as title };
|
|
178
178
|
export namespace legend {
|
|
179
179
|
namespace customLegend {
|
|
180
|
-
export
|
|
181
|
-
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>, _args: import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("
|
|
180
|
+
export let customLegendPlugin: {
|
|
181
|
+
afterUpdate(chart: import("chart.js").Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>, _args: import("chart.js").Plugin<keyof import("chart.js").ChartTypeRegistry, import("node_modules/chart.js/dist/types/basic").AnyObject>, _options: import("chart.js").ChartConfiguration<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint | null)[], unknown>): void;
|
|
182
182
|
};
|
|
183
183
|
export { customLegendContainerID };
|
|
184
184
|
}
|
|
@@ -186,7 +186,7 @@ export namespace CustomLegend {
|
|
|
186
186
|
}
|
|
187
187
|
namespace data {
|
|
188
188
|
export { labels1 as labels };
|
|
189
|
-
export
|
|
189
|
+
export let datasets: {
|
|
190
190
|
label: string;
|
|
191
191
|
data: number[];
|
|
192
192
|
}[];
|
|
@@ -229,7 +229,7 @@ declare namespace singleChart { }
|
|
|
229
229
|
declare namespace customColorsChart {
|
|
230
230
|
export namespace data_1 {
|
|
231
231
|
export { labels1 as labels };
|
|
232
|
-
|
|
232
|
+
let datasets_1: {
|
|
233
233
|
label: string;
|
|
234
234
|
backgroundColor: string;
|
|
235
235
|
data: number[];
|
|
@@ -241,7 +241,7 @@ declare namespace customColorsChart {
|
|
|
241
241
|
declare namespace customColorArrayChart {
|
|
242
242
|
export namespace data_2 {
|
|
243
243
|
export { labels1 as labels };
|
|
244
|
-
|
|
244
|
+
let datasets_2: {
|
|
245
245
|
backgroundColor: string[];
|
|
246
246
|
label: string;
|
|
247
247
|
data: number[];
|
|
@@ -253,7 +253,7 @@ declare namespace customColorArrayChart {
|
|
|
253
253
|
declare namespace multipleBarData {
|
|
254
254
|
export namespace data_3 {
|
|
255
255
|
export { labels1 as labels };
|
|
256
|
-
|
|
256
|
+
let datasets_3: {
|
|
257
257
|
label: string;
|
|
258
258
|
data: number[];
|
|
259
259
|
}[];
|
|
@@ -264,7 +264,7 @@ declare namespace multipleBarData {
|
|
|
264
264
|
declare namespace stakedBarData {
|
|
265
265
|
export namespace data_4 {
|
|
266
266
|
export { labels1 as labels };
|
|
267
|
-
|
|
267
|
+
let datasets_4: {
|
|
268
268
|
label: string;
|
|
269
269
|
data: number[];
|
|
270
270
|
}[];
|
|
@@ -272,10 +272,10 @@ declare namespace stakedBarData {
|
|
|
272
272
|
}
|
|
273
273
|
export { data_4 as data };
|
|
274
274
|
export namespace options_1 {
|
|
275
|
-
|
|
275
|
+
let title_2: string;
|
|
276
276
|
export { title_2 as title };
|
|
277
277
|
export namespace additionalAxesOptions {
|
|
278
|
-
|
|
278
|
+
let stacked: boolean;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
export { options_1 as options };
|
|
@@ -283,7 +283,7 @@ declare namespace stakedBarData {
|
|
|
283
283
|
declare namespace groupedStacked {
|
|
284
284
|
export namespace data_5 {
|
|
285
285
|
export { labels1 as labels };
|
|
286
|
-
|
|
286
|
+
let datasets_5: {
|
|
287
287
|
label: string;
|
|
288
288
|
data: number[];
|
|
289
289
|
stack: number;
|
|
@@ -292,10 +292,10 @@ declare namespace groupedStacked {
|
|
|
292
292
|
}
|
|
293
293
|
export { data_5 as data };
|
|
294
294
|
export namespace options_2 {
|
|
295
|
-
|
|
295
|
+
let title_3: string;
|
|
296
296
|
export { title_3 as title };
|
|
297
297
|
export namespace additionalAxesOptions_1 {
|
|
298
|
-
|
|
298
|
+
let stacked_1: boolean;
|
|
299
299
|
export { stacked_1 as stacked };
|
|
300
300
|
}
|
|
301
301
|
export { additionalAxesOptions_1 as additionalAxesOptions };
|
|
@@ -305,7 +305,7 @@ declare namespace groupedStacked {
|
|
|
305
305
|
declare namespace multipleAxisData {
|
|
306
306
|
export namespace data_6 {
|
|
307
307
|
export { labels1 as labels };
|
|
308
|
-
|
|
308
|
+
let datasets_6: {
|
|
309
309
|
label: string;
|
|
310
310
|
data: number[];
|
|
311
311
|
yAxisID: string;
|
|
@@ -314,10 +314,10 @@ declare namespace multipleAxisData {
|
|
|
314
314
|
}
|
|
315
315
|
export { data_6 as data };
|
|
316
316
|
export namespace options_3 {
|
|
317
|
-
|
|
317
|
+
let title_4: string;
|
|
318
318
|
export { title_4 as title };
|
|
319
319
|
export namespace axes {
|
|
320
|
-
|
|
320
|
+
let y: ({
|
|
321
321
|
gridLines?: undefined;
|
|
322
322
|
} | {
|
|
323
323
|
gridLines: {
|
|
@@ -331,7 +331,7 @@ declare namespace multipleAxisData {
|
|
|
331
331
|
declare namespace horizontal {
|
|
332
332
|
export namespace data_7 {
|
|
333
333
|
export { labels1 as labels };
|
|
334
|
-
|
|
334
|
+
let datasets_7: {
|
|
335
335
|
label: string;
|
|
336
336
|
data: number[];
|
|
337
337
|
}[];
|
|
@@ -339,16 +339,16 @@ declare namespace horizontal {
|
|
|
339
339
|
}
|
|
340
340
|
export { data_7 as data };
|
|
341
341
|
export namespace options_4 {
|
|
342
|
-
|
|
342
|
+
let title_5: string;
|
|
343
343
|
export { title_5 as title };
|
|
344
|
-
export
|
|
344
|
+
export let direction: string;
|
|
345
345
|
}
|
|
346
346
|
export { options_4 as options };
|
|
347
347
|
}
|
|
348
348
|
declare namespace reversed {
|
|
349
349
|
export namespace data_8 {
|
|
350
350
|
export { labels1 as labels };
|
|
351
|
-
|
|
351
|
+
let datasets_8: {
|
|
352
352
|
label: string;
|
|
353
353
|
data: number[];
|
|
354
354
|
}[];
|
|
@@ -356,10 +356,10 @@ declare namespace reversed {
|
|
|
356
356
|
}
|
|
357
357
|
export { data_8 as data };
|
|
358
358
|
export namespace options_5 {
|
|
359
|
-
|
|
359
|
+
let title_6: string;
|
|
360
360
|
export { title_6 as title };
|
|
361
361
|
export namespace additionalAxesOptions_2 {
|
|
362
|
-
|
|
362
|
+
let reverse: boolean;
|
|
363
363
|
}
|
|
364
364
|
export { additionalAxesOptions_2 as additionalAxesOptions };
|
|
365
365
|
}
|
|
@@ -368,7 +368,7 @@ declare namespace reversed {
|
|
|
368
368
|
declare namespace horizontalReversed {
|
|
369
369
|
export namespace data_9 {
|
|
370
370
|
export { labels1 as labels };
|
|
371
|
-
|
|
371
|
+
let datasets_9: {
|
|
372
372
|
label: string;
|
|
373
373
|
data: number[];
|
|
374
374
|
}[];
|
|
@@ -376,12 +376,12 @@ declare namespace horizontalReversed {
|
|
|
376
376
|
}
|
|
377
377
|
export { data_9 as data };
|
|
378
378
|
export namespace options_6 {
|
|
379
|
-
|
|
379
|
+
let title_7: string;
|
|
380
380
|
export { title_7 as title };
|
|
381
|
-
|
|
381
|
+
let direction_1: string;
|
|
382
382
|
export { direction_1 as direction };
|
|
383
383
|
export namespace additionalAxesOptions_3 {
|
|
384
|
-
|
|
384
|
+
let reverse_1: boolean;
|
|
385
385
|
export { reverse_1 as reverse };
|
|
386
386
|
}
|
|
387
387
|
export { additionalAxesOptions_3 as additionalAxesOptions };
|
|
@@ -391,7 +391,7 @@ declare namespace horizontalReversed {
|
|
|
391
391
|
declare namespace axesWithLabels {
|
|
392
392
|
export namespace data_10 {
|
|
393
393
|
export { labels1 as labels };
|
|
394
|
-
|
|
394
|
+
let datasets_10: {
|
|
395
395
|
label: string;
|
|
396
396
|
data: number[];
|
|
397
397
|
}[];
|
|
@@ -399,13 +399,13 @@ declare namespace axesWithLabels {
|
|
|
399
399
|
}
|
|
400
400
|
export { data_10 as data };
|
|
401
401
|
export namespace options_7 {
|
|
402
|
-
|
|
402
|
+
let title_8: string;
|
|
403
403
|
export { title_8 as title };
|
|
404
404
|
export namespace axes_1 {
|
|
405
|
-
export
|
|
405
|
+
export let x: {
|
|
406
406
|
label: string;
|
|
407
407
|
}[];
|
|
408
|
-
|
|
408
|
+
let y_1: {
|
|
409
409
|
label: string;
|
|
410
410
|
}[];
|
|
411
411
|
export { y_1 as y };
|
|
@@ -417,7 +417,7 @@ declare namespace axesWithLabels {
|
|
|
417
417
|
declare namespace axisPosition {
|
|
418
418
|
export namespace data_11 {
|
|
419
419
|
export { labels1 as labels };
|
|
420
|
-
|
|
420
|
+
let datasets_11: {
|
|
421
421
|
label: string;
|
|
422
422
|
data: number[];
|
|
423
423
|
}[];
|
|
@@ -425,14 +425,14 @@ declare namespace axisPosition {
|
|
|
425
425
|
}
|
|
426
426
|
export { data_11 as data };
|
|
427
427
|
export namespace options_8 {
|
|
428
|
-
|
|
428
|
+
let title_9: string[];
|
|
429
429
|
export { title_9 as title };
|
|
430
430
|
export namespace axes_2 {
|
|
431
|
-
|
|
431
|
+
let x_1: {
|
|
432
432
|
position: string;
|
|
433
433
|
}[];
|
|
434
434
|
export { x_1 as x };
|
|
435
|
-
|
|
435
|
+
let y_2: {
|
|
436
436
|
position: string;
|
|
437
437
|
}[];
|
|
438
438
|
export { y_2 as y };
|
|
@@ -444,7 +444,7 @@ declare namespace axisPosition {
|
|
|
444
444
|
declare namespace notBeginAtZero {
|
|
445
445
|
export namespace data_12 {
|
|
446
446
|
export { labels1 as labels };
|
|
447
|
-
|
|
447
|
+
let datasets_12: {
|
|
448
448
|
label: string;
|
|
449
449
|
data: number[];
|
|
450
450
|
}[];
|
|
@@ -452,10 +452,10 @@ declare namespace notBeginAtZero {
|
|
|
452
452
|
}
|
|
453
453
|
export { data_12 as data };
|
|
454
454
|
export namespace options_9 {
|
|
455
|
-
|
|
455
|
+
let title_10: string;
|
|
456
456
|
export { title_10 as title };
|
|
457
457
|
export namespace additionalAxesOptions_4 {
|
|
458
|
-
|
|
458
|
+
let beginAtZero: boolean;
|
|
459
459
|
}
|
|
460
460
|
export { additionalAxesOptions_4 as additionalAxesOptions };
|
|
461
461
|
}
|
|
@@ -464,7 +464,7 @@ declare namespace notBeginAtZero {
|
|
|
464
464
|
declare namespace suggestedRange {
|
|
465
465
|
export namespace data_13 {
|
|
466
466
|
export { labels1 as labels };
|
|
467
|
-
|
|
467
|
+
let datasets_13: {
|
|
468
468
|
label: string;
|
|
469
469
|
data: number[];
|
|
470
470
|
}[];
|
|
@@ -472,13 +472,13 @@ declare namespace suggestedRange {
|
|
|
472
472
|
}
|
|
473
473
|
export { data_13 as data };
|
|
474
474
|
export namespace options_10 {
|
|
475
|
-
|
|
475
|
+
let title_11: string;
|
|
476
476
|
export { title_11 as title };
|
|
477
477
|
export namespace additionalAxesOptions_5 {
|
|
478
|
-
|
|
478
|
+
let beginAtZero_1: boolean;
|
|
479
479
|
export { beginAtZero_1 as beginAtZero };
|
|
480
|
-
export
|
|
481
|
-
export
|
|
480
|
+
export let suggestedMin: number;
|
|
481
|
+
export let suggestedMax: number;
|
|
482
482
|
}
|
|
483
483
|
export { additionalAxesOptions_5 as additionalAxesOptions };
|
|
484
484
|
}
|
|
@@ -487,7 +487,7 @@ declare namespace suggestedRange {
|
|
|
487
487
|
declare namespace stepSizeChart {
|
|
488
488
|
export namespace data_14 {
|
|
489
489
|
export { labels1 as labels };
|
|
490
|
-
|
|
490
|
+
let datasets_14: {
|
|
491
491
|
label: string;
|
|
492
492
|
data: number[];
|
|
493
493
|
}[];
|
|
@@ -495,10 +495,10 @@ declare namespace stepSizeChart {
|
|
|
495
495
|
}
|
|
496
496
|
export { data_14 as data };
|
|
497
497
|
export namespace options_11 {
|
|
498
|
-
|
|
498
|
+
let title_12: string;
|
|
499
499
|
export { title_12 as title };
|
|
500
500
|
export namespace additionalAxesOptions_6 {
|
|
501
|
-
|
|
501
|
+
let stepSize: number;
|
|
502
502
|
}
|
|
503
503
|
export { additionalAxesOptions_6 as additionalAxesOptions };
|
|
504
504
|
}
|
|
@@ -507,7 +507,7 @@ declare namespace stepSizeChart {
|
|
|
507
507
|
declare namespace logartihmicChart {
|
|
508
508
|
export namespace data_15 {
|
|
509
509
|
export { labels1 as labels };
|
|
510
|
-
|
|
510
|
+
let datasets_15: {
|
|
511
511
|
label: string;
|
|
512
512
|
data: number[];
|
|
513
513
|
}[];
|
|
@@ -515,10 +515,10 @@ declare namespace logartihmicChart {
|
|
|
515
515
|
}
|
|
516
516
|
export { data_15 as data };
|
|
517
517
|
export namespace options_12 {
|
|
518
|
-
|
|
518
|
+
let title_13: string;
|
|
519
519
|
export { title_13 as title };
|
|
520
520
|
export namespace additionalAxesOptions_7 {
|
|
521
|
-
|
|
521
|
+
let chartScaleType: string;
|
|
522
522
|
}
|
|
523
523
|
export { additionalAxesOptions_7 as additionalAxesOptions };
|
|
524
524
|
}
|
|
@@ -527,7 +527,7 @@ declare namespace logartihmicChart {
|
|
|
527
527
|
declare namespace dataLabelsNumberChart {
|
|
528
528
|
export namespace data_16 {
|
|
529
529
|
export { labels1 as labels };
|
|
530
|
-
|
|
530
|
+
let datasets_16: {
|
|
531
531
|
label: string;
|
|
532
532
|
data: number[];
|
|
533
533
|
}[];
|
|
@@ -535,10 +535,10 @@ declare namespace dataLabelsNumberChart {
|
|
|
535
535
|
}
|
|
536
536
|
export { data_16 as data };
|
|
537
537
|
export namespace options_13 {
|
|
538
|
-
|
|
538
|
+
let title_14: string;
|
|
539
539
|
export { title_14 as title };
|
|
540
540
|
export namespace graph {
|
|
541
|
-
|
|
541
|
+
let showDataLabels: boolean;
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
export { options_13 as options };
|
|
@@ -546,7 +546,7 @@ declare namespace dataLabelsNumberChart {
|
|
|
546
546
|
declare namespace legendRight {
|
|
547
547
|
export namespace data_17 {
|
|
548
548
|
export { labels1 as labels };
|
|
549
|
-
|
|
549
|
+
let datasets_17: {
|
|
550
550
|
label: string;
|
|
551
551
|
data: number[];
|
|
552
552
|
}[];
|
|
@@ -554,10 +554,10 @@ declare namespace legendRight {
|
|
|
554
554
|
}
|
|
555
555
|
export { data_17 as data };
|
|
556
556
|
export namespace options_14 {
|
|
557
|
-
|
|
557
|
+
let title_15: string;
|
|
558
558
|
export { title_15 as title };
|
|
559
559
|
export namespace legend_1 {
|
|
560
|
-
|
|
560
|
+
let position: string;
|
|
561
561
|
}
|
|
562
562
|
export { legend_1 as legend };
|
|
563
563
|
}
|
|
@@ -566,7 +566,7 @@ declare namespace legendRight {
|
|
|
566
566
|
declare namespace borderedChart {
|
|
567
567
|
export namespace data_18 {
|
|
568
568
|
export { labels1 as labels };
|
|
569
|
-
|
|
569
|
+
let datasets_18: {
|
|
570
570
|
backgroundColor: string;
|
|
571
571
|
borderColor: string;
|
|
572
572
|
borderWidth: number;
|
|
@@ -580,7 +580,7 @@ declare namespace borderedChart {
|
|
|
580
580
|
declare namespace horizontalAnnotationChart {
|
|
581
581
|
export namespace data_19 {
|
|
582
582
|
export { labels1 as labels };
|
|
583
|
-
|
|
583
|
+
let datasets_19: {
|
|
584
584
|
label: string;
|
|
585
585
|
data: number[];
|
|
586
586
|
}[];
|
|
@@ -588,11 +588,11 @@ declare namespace horizontalAnnotationChart {
|
|
|
588
588
|
}
|
|
589
589
|
export { data_19 as data };
|
|
590
590
|
export namespace options_15 {
|
|
591
|
-
|
|
591
|
+
let title_16: string;
|
|
592
592
|
export { title_16 as title };
|
|
593
593
|
export namespace annotations {
|
|
594
|
-
|
|
595
|
-
|
|
594
|
+
let showAnnotations: boolean;
|
|
595
|
+
let annotationsData: {
|
|
596
596
|
annotationAxis: string;
|
|
597
597
|
label: string;
|
|
598
598
|
value: number;
|
|
@@ -605,7 +605,7 @@ declare namespace horizontalAnnotationChart {
|
|
|
605
605
|
declare namespace verticalAnnotationChart {
|
|
606
606
|
export namespace data_20 {
|
|
607
607
|
export { labels1 as labels };
|
|
608
|
-
|
|
608
|
+
let datasets_20: {
|
|
609
609
|
label: string;
|
|
610
610
|
data: number[];
|
|
611
611
|
}[];
|
|
@@ -613,12 +613,12 @@ declare namespace verticalAnnotationChart {
|
|
|
613
613
|
}
|
|
614
614
|
export { data_20 as data };
|
|
615
615
|
export namespace options_16 {
|
|
616
|
-
|
|
616
|
+
let title_17: string;
|
|
617
617
|
export { title_17 as title };
|
|
618
618
|
export namespace annotations_1 {
|
|
619
|
-
|
|
619
|
+
let showAnnotations_1: boolean;
|
|
620
620
|
export { showAnnotations_1 as showAnnotations };
|
|
621
|
-
|
|
621
|
+
let annotationsData_1: {
|
|
622
622
|
annotationAxis: string;
|
|
623
623
|
label: string;
|
|
624
624
|
value: number;
|
|
@@ -633,7 +633,7 @@ declare namespace verticalAnnotationChart {
|
|
|
633
633
|
declare namespace diagonalAnnotationChart {
|
|
634
634
|
export namespace data_21 {
|
|
635
635
|
export { labels1 as labels };
|
|
636
|
-
|
|
636
|
+
let datasets_21: {
|
|
637
637
|
label: string;
|
|
638
638
|
data: number[];
|
|
639
639
|
}[];
|
|
@@ -641,12 +641,12 @@ declare namespace diagonalAnnotationChart {
|
|
|
641
641
|
}
|
|
642
642
|
export { data_21 as data };
|
|
643
643
|
export namespace options_17 {
|
|
644
|
-
|
|
644
|
+
let title_18: string;
|
|
645
645
|
export { title_18 as title };
|
|
646
646
|
export namespace annotations_2 {
|
|
647
|
-
|
|
647
|
+
let showAnnotations_2: boolean;
|
|
648
648
|
export { showAnnotations_2 as showAnnotations };
|
|
649
|
-
|
|
649
|
+
let annotationsData_2: {
|
|
650
650
|
annotationAxis: string;
|
|
651
651
|
label: string;
|
|
652
652
|
value: number;
|
|
@@ -662,7 +662,7 @@ declare namespace diagonalAnnotationChart {
|
|
|
662
662
|
declare namespace controlAnnotationChart {
|
|
663
663
|
export namespace data_22 {
|
|
664
664
|
export { labels1 as labels };
|
|
665
|
-
|
|
665
|
+
let datasets_22: {
|
|
666
666
|
label: string;
|
|
667
667
|
data: number[];
|
|
668
668
|
}[];
|
|
@@ -670,13 +670,13 @@ declare namespace controlAnnotationChart {
|
|
|
670
670
|
}
|
|
671
671
|
export { data_22 as data };
|
|
672
672
|
export namespace options_18 {
|
|
673
|
-
|
|
673
|
+
let title_19: string;
|
|
674
674
|
export { title_19 as title };
|
|
675
675
|
export namespace annotations_3 {
|
|
676
|
-
|
|
676
|
+
let showAnnotations_3: boolean;
|
|
677
677
|
export { showAnnotations_3 as showAnnotations };
|
|
678
|
-
export
|
|
679
|
-
|
|
678
|
+
export let controlAnnotation: boolean;
|
|
679
|
+
let annotationsData_3: ({
|
|
680
680
|
annotationAxis: string;
|
|
681
681
|
label: string;
|
|
682
682
|
value: number;
|
|
@@ -698,7 +698,7 @@ declare namespace controlAnnotationChart {
|
|
|
698
698
|
declare namespace animatedChart {
|
|
699
699
|
export namespace data_23 {
|
|
700
700
|
export { labels1 as labels };
|
|
701
|
-
|
|
701
|
+
let datasets_23: {
|
|
702
702
|
label: string;
|
|
703
703
|
data: number[];
|
|
704
704
|
}[];
|
|
@@ -707,7 +707,7 @@ declare namespace animatedChart {
|
|
|
707
707
|
export { data_23 as data };
|
|
708
708
|
export namespace options_19 {
|
|
709
709
|
namespace chartStyling {
|
|
710
|
-
|
|
710
|
+
let performanceMode: boolean;
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
713
|
export { options_19 as options };
|
|
@@ -717,7 +717,7 @@ declare const labels1: string[];
|
|
|
717
717
|
declare namespace dragDataChart {
|
|
718
718
|
export namespace data_24 {
|
|
719
719
|
export { labels1 as labels };
|
|
720
|
-
|
|
720
|
+
let datasets_24: {
|
|
721
721
|
label: string;
|
|
722
722
|
data: number[];
|
|
723
723
|
}[];
|
|
@@ -726,9 +726,9 @@ declare namespace dragDataChart {
|
|
|
726
726
|
export { data_24 as data };
|
|
727
727
|
export namespace options_20 {
|
|
728
728
|
namespace dragData {
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
729
|
+
let enableDragData: boolean;
|
|
730
|
+
let showTooltip: boolean;
|
|
731
|
+
let roundPoints: boolean;
|
|
732
732
|
function onDragStart(evt: any, element: any): void;
|
|
733
733
|
function onDrag(evt: any, datasetIndex: any, index: any, value: any): void;
|
|
734
734
|
function onDragEnd(evt: any, datasetIndex: any, index: any, value: any): void;
|
|
@@ -739,7 +739,7 @@ declare namespace dragDataChart {
|
|
|
739
739
|
declare namespace hugeNumbersData {
|
|
740
740
|
export namespace data_25 {
|
|
741
741
|
export { labels1 as labels };
|
|
742
|
-
|
|
742
|
+
let datasets_25: {
|
|
743
743
|
label: string;
|
|
744
744
|
data: number[];
|
|
745
745
|
stack: number;
|
|
@@ -750,8 +750,8 @@ declare namespace hugeNumbersData {
|
|
|
750
750
|
}
|
|
751
751
|
declare namespace stackedData {
|
|
752
752
|
export namespace data_26 {
|
|
753
|
-
export
|
|
754
|
-
|
|
753
|
+
export let labels: string[];
|
|
754
|
+
let datasets_26: ({
|
|
755
755
|
label: string;
|
|
756
756
|
data: number[];
|
|
757
757
|
backgroundColor: string;
|
|
@@ -772,11 +772,11 @@ declare namespace stackedData {
|
|
|
772
772
|
}
|
|
773
773
|
export { data_26 as data };
|
|
774
774
|
export namespace options_21 {
|
|
775
|
-
|
|
775
|
+
let title_20: string;
|
|
776
776
|
export { title_20 as title };
|
|
777
777
|
export namespace additionalAxesOptions_8 {
|
|
778
|
-
|
|
779
|
-
|
|
778
|
+
let stackedX: boolean;
|
|
779
|
+
let stackedY: boolean;
|
|
780
780
|
}
|
|
781
781
|
export { additionalAxesOptions_8 as additionalAxesOptions };
|
|
782
782
|
}
|
|
@@ -784,9 +784,9 @@ declare namespace stackedData {
|
|
|
784
784
|
}
|
|
785
785
|
declare namespace waterfallChart {
|
|
786
786
|
export namespace data_27 {
|
|
787
|
-
|
|
787
|
+
let labels_1: string[];
|
|
788
788
|
export { labels_1 as labels };
|
|
789
|
-
|
|
789
|
+
let datasets_27: {
|
|
790
790
|
label: string;
|
|
791
791
|
data: (number | number[])[];
|
|
792
792
|
backgroundColor: string[];
|
|
@@ -795,10 +795,10 @@ declare namespace waterfallChart {
|
|
|
795
795
|
}
|
|
796
796
|
export { data_27 as data };
|
|
797
797
|
export namespace options_22 {
|
|
798
|
-
|
|
798
|
+
let title_21: string;
|
|
799
799
|
export { title_21 as title };
|
|
800
800
|
export namespace graph_1 {
|
|
801
|
-
|
|
801
|
+
let showDataLabels_1: boolean;
|
|
802
802
|
export { showDataLabels_1 as showDataLabels };
|
|
803
803
|
}
|
|
804
804
|
export { graph_1 as graph };
|
|
@@ -32,7 +32,7 @@ interface ILegend {
|
|
|
32
32
|
* @param { legend } legend
|
|
33
33
|
* @return {[]}
|
|
34
34
|
*/
|
|
35
|
-
export declare const getPlugins: <T extends keyof ChartTypeRegistry>(graph: IChartGraph, legend: ILegend) => any;
|
|
35
|
+
export declare const getPlugins: <T extends keyof ChartTypeRegistry>(graph: IChartGraph, legend: ILegend) => Plugin<T>[] | any;
|
|
36
36
|
/**
|
|
37
37
|
* @param {string[]} colors - color schema
|
|
38
38
|
* @return {string} - random color
|
|
@@ -64,6 +64,7 @@ declare const getAnnotation: ({ showAnnotations, annotationsData, }: IGetAnnotat
|
|
|
64
64
|
onDragEnd: () => (cord: ICoordinates, annotation: ICommonAnnotationsData) => void;
|
|
65
65
|
pointStyle: string;
|
|
66
66
|
resizable: boolean;
|
|
67
|
+
displayDragCoordinates: boolean;
|
|
67
68
|
hideLegend?: boolean | undefined;
|
|
68
69
|
annotationAxis: "x" | "y";
|
|
69
70
|
color: string;
|