@swimlane/ngx-charts 22.0.0 → 23.0.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 (135) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/fesm2022/swimlane-ngx-charts.mjs +531 -370
  3. package/fesm2022/swimlane-ngx-charts.mjs.map +1 -1
  4. package/index.d.ts +3914 -3
  5. package/package.json +8 -8
  6. package/lib/area-chart/area-chart-normalized.component.d.ts +0 -93
  7. package/lib/area-chart/area-chart-stacked.component.d.ts +0 -96
  8. package/lib/area-chart/area-chart.component.d.ts +0 -100
  9. package/lib/area-chart/area-chart.module.d.ts +0 -11
  10. package/lib/area-chart/area-series.component.d.ts +0 -33
  11. package/lib/bar-chart/bar-chart.module.d.ts +0 -19
  12. package/lib/bar-chart/bar-horizontal-2d.component.d.ts +0 -87
  13. package/lib/bar-chart/bar-horizontal-normalized.component.d.ts +0 -76
  14. package/lib/bar-chart/bar-horizontal-stacked.component.d.ts +0 -82
  15. package/lib/bar-chart/bar-horizontal.component.d.ts +0 -76
  16. package/lib/bar-chart/bar-label.component.d.ts +0 -28
  17. package/lib/bar-chart/bar-vertical-2d.component.d.ts +0 -87
  18. package/lib/bar-chart/bar-vertical-normalized.component.d.ts +0 -76
  19. package/lib/bar-chart/bar-vertical-stacked.component.d.ts +0 -84
  20. package/lib/bar-chart/bar-vertical.component.d.ts +0 -83
  21. package/lib/bar-chart/bar.component.d.ts +0 -48
  22. package/lib/bar-chart/series-horizontal.component.d.ts +0 -58
  23. package/lib/bar-chart/series-vertical.component.d.ts +0 -59
  24. package/lib/bar-chart/types/bar-chart-type.enum.d.ts +0 -5
  25. package/lib/bar-chart/types/bar.model.d.ts +0 -17
  26. package/lib/bar-chart/types/d0-type.enum.d.ts +0 -4
  27. package/lib/box-chart/box-chart.component.d.ts +0 -78
  28. package/lib/box-chart/box-chart.module.d.ts +0 -10
  29. package/lib/box-chart/box-series.component.d.ts +0 -42
  30. package/lib/box-chart/box.component.d.ts +0 -78
  31. package/lib/bubble-chart/bubble-chart.component.d.ts +0 -92
  32. package/lib/bubble-chart/bubble-chart.module.d.ts +0 -9
  33. package/lib/bubble-chart/bubble-chart.utils.d.ts +0 -4
  34. package/lib/bubble-chart/bubble-series.component.d.ts +0 -45
  35. package/lib/common/area.component.d.ts +0 -34
  36. package/lib/common/axes/axes.module.d.ts +0 -12
  37. package/lib/common/axes/axis-label.component.d.ts +0 -23
  38. package/lib/common/axes/ticks.helper.d.ts +0 -2
  39. package/lib/common/axes/x-axis-ticks.component.d.ts +0 -53
  40. package/lib/common/axes/x-axis.component.d.ts +0 -40
  41. package/lib/common/axes/y-axis-ticks.component.d.ts +0 -61
  42. package/lib/common/axes/y-axis.component.d.ts +0 -42
  43. package/lib/common/base-chart.component.d.ts +0 -45
  44. package/lib/common/chart-common.module.d.ts +0 -26
  45. package/lib/common/charts/chart.component.d.ts +0 -28
  46. package/lib/common/circle-series.component.d.ts +0 -80
  47. package/lib/common/circle.component.d.ts +0 -22
  48. package/lib/common/color.helper.d.ts +0 -15
  49. package/lib/common/constants/font-widths.d.ts +0 -88
  50. package/lib/common/count/count.directive.d.ts +0 -38
  51. package/lib/common/count/count.helper.d.ts +0 -10
  52. package/lib/common/domain.helper.d.ts +0 -18
  53. package/lib/common/grid-layout.helper.d.ts +0 -19
  54. package/lib/common/grid-panel-series.component.d.ts +0 -30
  55. package/lib/common/grid-panel.component.d.ts +0 -9
  56. package/lib/common/label.helper.d.ts +0 -12
  57. package/lib/common/legend/advanced-legend.component.d.ts +0 -38
  58. package/lib/common/legend/legend-entry.component.d.ts +0 -21
  59. package/lib/common/legend/legend.component.d.ts +0 -40
  60. package/lib/common/legend/scale-legend.component.d.ts +0 -19
  61. package/lib/common/shape.helper.d.ts +0 -7
  62. package/lib/common/svg-linear-gradient.component.d.ts +0 -16
  63. package/lib/common/svg-radial-gradient.component.d.ts +0 -19
  64. package/lib/common/tick-format.helper.d.ts +0 -1
  65. package/lib/common/timeline/timeline.component.d.ts +0 -36
  66. package/lib/common/tooltip/injection-registery.service.d.ts +0 -22
  67. package/lib/common/tooltip/injection.service.d.ts +0 -74
  68. package/lib/common/tooltip/position/index.d.ts +0 -2
  69. package/lib/common/tooltip/position/placement-type.enum.d.ts +0 -7
  70. package/lib/common/tooltip/position/position.d.ts +0 -56
  71. package/lib/common/tooltip/show.type.d.ts +0 -5
  72. package/lib/common/tooltip/style.type.d.ts +0 -4
  73. package/lib/common/tooltip/tooltip.component.d.ts +0 -30
  74. package/lib/common/tooltip/tooltip.directive.d.ts +0 -50
  75. package/lib/common/tooltip/tooltip.module.d.ts +0 -9
  76. package/lib/common/tooltip/tooltip.service.d.ts +0 -10
  77. package/lib/common/tooltip-area.component.d.ts +0 -47
  78. package/lib/common/trim-label.helper.d.ts +0 -1
  79. package/lib/common/types/bar-orientation.enum.d.ts +0 -4
  80. package/lib/common/types/gradient.interface.d.ts +0 -6
  81. package/lib/common/types/legend.model.d.ts +0 -16
  82. package/lib/common/types/orientation.enum.d.ts +0 -6
  83. package/lib/common/types/scale-type.enum.d.ts +0 -6
  84. package/lib/common/types/text-anchor.enum.d.ts +0 -5
  85. package/lib/common/types/view-dimension.interface.d.ts +0 -6
  86. package/lib/common/view-dimensions.helper.d.ts +0 -18
  87. package/lib/events.d.ts +0 -5
  88. package/lib/gauge/gauge-arc.component.d.ts +0 -31
  89. package/lib/gauge/gauge-axis.component.d.ts +0 -37
  90. package/lib/gauge/gauge.component.d.ts +0 -70
  91. package/lib/gauge/gauge.module.d.ts +0 -14
  92. package/lib/gauge/linear-gauge.component.d.ts +0 -49
  93. package/lib/gauge/percent-gauge/percent-gauge.component.d.ts +0 -47
  94. package/lib/heat-map/heat-map-cell-series.component.d.ts +0 -48
  95. package/lib/heat-map/heat-map-cell.component.d.ts +0 -34
  96. package/lib/heat-map/heat-map.component.d.ts +0 -94
  97. package/lib/heat-map/heat-map.module.d.ts +0 -10
  98. package/lib/line-chart/line-chart.component.d.ts +0 -104
  99. package/lib/line-chart/line-chart.module.d.ts +0 -10
  100. package/lib/line-chart/line-series.component.d.ts +0 -40
  101. package/lib/line-chart/line.component.d.ts +0 -21
  102. package/lib/models/chart-data.model.d.ts +0 -93
  103. package/lib/models/coordinates.model.d.ts +0 -8
  104. package/lib/ngx-charts.module.d.ts +0 -20
  105. package/lib/number-card/card-series.component.d.ts +0 -36
  106. package/lib/number-card/card.component.d.ts +0 -52
  107. package/lib/number-card/number-card.component.d.ts +0 -29
  108. package/lib/number-card/number-card.module.d.ts +0 -10
  109. package/lib/pie-chart/advanced-pie-chart.component.d.ts +0 -36
  110. package/lib/pie-chart/pie-arc.component.d.ts +0 -44
  111. package/lib/pie-chart/pie-chart.component.d.ts +0 -48
  112. package/lib/pie-chart/pie-chart.module.d.ts +0 -14
  113. package/lib/pie-chart/pie-grid-series.component.d.ts +0 -35
  114. package/lib/pie-chart/pie-grid.component.d.ts +0 -42
  115. package/lib/pie-chart/pie-label.component.d.ts +0 -39
  116. package/lib/pie-chart/pie-series.component.d.ts +0 -50
  117. package/lib/polar-chart/polar-chart.component.d.ts +0 -105
  118. package/lib/polar-chart/polar-chart.module.d.ts +0 -11
  119. package/lib/polar-chart/polar-series.component.d.ts +0 -64
  120. package/lib/polyfills.d.ts +0 -1
  121. package/lib/sankey/sankey.component.d.ts +0 -59
  122. package/lib/sankey/sankey.module.d.ts +0 -8
  123. package/lib/tree-map/tree-map-cell-series.component.d.ts +0 -43
  124. package/lib/tree-map/tree-map-cell.component.d.ts +0 -39
  125. package/lib/tree-map/tree-map.component.d.ts +0 -29
  126. package/lib/tree-map/tree-map.module.d.ts +0 -10
  127. package/lib/utils/calculate-width.d.ts +0 -1
  128. package/lib/utils/color-sets.d.ts +0 -8
  129. package/lib/utils/color-utils.d.ts +0 -25
  130. package/lib/utils/id.d.ts +0 -11
  131. package/lib/utils/sort.d.ts +0 -3
  132. package/lib/utils/throttle.d.ts +0 -18
  133. package/lib/utils/types.d.ts +0 -2
  134. package/lib/utils/visibility-observer.d.ts +0 -18
  135. package/public-api.d.ts +0 -118
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swimlane/ngx-charts",
3
- "version": "22.0.0",
3
+ "version": "23.0.0",
4
4
  "description": "Declarative Charting Framework for Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "homepage": "https://github.com/swimlane/ngx-charts#readme",
32
32
  "peerDependencies": {
33
- "@angular/animations": "17.x || 18.x || 19.x",
34
- "@angular/cdk": "17.x || 18.x || 19.x",
35
- "@angular/core": "17.x || 18.x || 19.x",
36
- "@angular/common": "17.x || 18.x || 19.x",
37
- "@angular/forms": "17.x || 18.x || 19.x",
38
- "@angular/platform-browser": "17.x || 18.x || 19.x",
39
- "@angular/platform-browser-dynamic": "17.x || 18.x || 19.x",
33
+ "@angular/animations": "18.x || 19.x || 20.x",
34
+ "@angular/cdk": "18.x || 19.x || 20.x",
35
+ "@angular/core": "18.x || 19.x || 20.x",
36
+ "@angular/common": "18.x || 19.x || 20.x",
37
+ "@angular/forms": "18.x || 19.x || 20.x",
38
+ "@angular/platform-browser": "18.x || 19.x || 20.x",
39
+ "@angular/platform-browser-dynamic": "18.x || 19.x || 20.x",
40
40
  "rxjs": "7.x"
41
41
  },
42
42
  "dependencies": {
@@ -1,93 +0,0 @@
1
- import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2
- import { ColorHelper } from '../common/color.helper';
3
- import { BaseChartComponent } from '../common/base-chart.component';
4
- import { Series } from '../models/chart-data.model';
5
- import { SeriesType } from '../common/circle-series.component';
6
- import { LegendOptions, LegendPosition } from '../common/types/legend.model';
7
- import { ScaleType } from '../common/types/scale-type.enum';
8
- import { ViewDimensions } from '../common/types/view-dimension.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class AreaChartNormalizedComponent extends BaseChartComponent {
11
- legend: boolean;
12
- legendTitle: string;
13
- legendPosition: LegendPosition;
14
- xAxis: boolean;
15
- yAxis: boolean;
16
- showXAxisLabel: boolean;
17
- showYAxisLabel: boolean;
18
- xAxisLabel: string;
19
- yAxisLabel: string;
20
- timeline: any;
21
- gradient: any;
22
- showGridLines: boolean;
23
- curve: any;
24
- activeEntries: any[];
25
- schemeType: ScaleType;
26
- trimXAxisTicks: boolean;
27
- trimYAxisTicks: boolean;
28
- rotateXAxisTicks: boolean;
29
- maxXAxisTickLength: number;
30
- maxYAxisTickLength: number;
31
- xAxisTickFormatting: any;
32
- yAxisTickFormatting: any;
33
- xAxisTicks: any[];
34
- yAxisTicks: any[];
35
- roundDomains: boolean;
36
- tooltipDisabled: boolean;
37
- wrapTicks: boolean;
38
- activate: EventEmitter<any>;
39
- deactivate: EventEmitter<any>;
40
- tooltipTemplate: TemplateRef<any>;
41
- seriesTooltipTemplate: TemplateRef<any>;
42
- dims: ViewDimensions;
43
- scaleType: ScaleType;
44
- xDomain: any[];
45
- xSet: any[];
46
- yDomain: [number, number];
47
- seriesDomain: any;
48
- xScale: any;
49
- yScale: any;
50
- transform: string;
51
- clipPathId: string;
52
- clipPath: string;
53
- colors: ColorHelper;
54
- margin: number[];
55
- tooltipAreas: any[];
56
- hoveredVertical: any;
57
- xAxisHeight: number;
58
- yAxisWidth: number;
59
- filteredDomain: any;
60
- legendOptions: LegendOptions;
61
- seriesType: typeof SeriesType;
62
- timelineWidth: any;
63
- timelineHeight: number;
64
- timelineXScale: any;
65
- timelineYScale: any;
66
- timelineXDomain: any;
67
- timelineTransform: any;
68
- timelinePadding: number;
69
- update(): void;
70
- updateTimeline(): void;
71
- getXDomain(): any[];
72
- getSeriesDomain(): string[];
73
- getXScale(domain: any, width: number): any;
74
- getYScale(domain: any, height: number): any;
75
- updateDomain(domain: any): void;
76
- updateHoveredVertical(item: any): void;
77
- hideCircles(): void;
78
- onClick(data: any, series?: any): void;
79
- trackBy: TrackByFunction<Series>;
80
- setColors(): void;
81
- getLegendOptions(): LegendOptions;
82
- updateYAxisWidth({ width }: {
83
- width: number;
84
- }): void;
85
- updateXAxisHeight({ height }: {
86
- height: number;
87
- }): void;
88
- onActivate(item: any): void;
89
- onDeactivate(item: any): void;
90
- deactivateAll(): void;
91
- static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartNormalizedComponent, never>;
92
- static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartNormalizedComponent, "ngx-charts-area-chart-normalized", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
93
- }
@@ -1,96 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { ColorHelper } from '../common/color.helper';
3
- import { BaseChartComponent } from '../common/base-chart.component';
4
- import { SeriesType } from '../common/circle-series.component';
5
- import { LegendOptions, LegendPosition } from '../common/types/legend.model';
6
- import { ViewDimensions } from '../common/types/view-dimension.interface';
7
- import { ScaleType } from '../common/types/scale-type.enum';
8
- import * as i0 from "@angular/core";
9
- export declare class AreaChartStackedComponent extends BaseChartComponent {
10
- legend: boolean;
11
- legendTitle: string;
12
- legendPosition: LegendPosition;
13
- xAxis: boolean;
14
- yAxis: boolean;
15
- showXAxisLabel: boolean;
16
- showYAxisLabel: boolean;
17
- xAxisLabel: string;
18
- yAxisLabel: string;
19
- timeline: boolean;
20
- gradient: boolean;
21
- showGridLines: boolean;
22
- curve: any;
23
- activeEntries: any[];
24
- schemeType: ScaleType;
25
- trimXAxisTicks: boolean;
26
- trimYAxisTicks: boolean;
27
- rotateXAxisTicks: boolean;
28
- maxXAxisTickLength: number;
29
- maxYAxisTickLength: number;
30
- xAxisTickFormatting: any;
31
- yAxisTickFormatting: any;
32
- xAxisTicks: any[];
33
- yAxisTicks: any[];
34
- roundDomains: boolean;
35
- tooltipDisabled: boolean;
36
- xScaleMin: any;
37
- xScaleMax: any;
38
- yScaleMin: number;
39
- yScaleMax: number;
40
- wrapTicks: boolean;
41
- activate: EventEmitter<any>;
42
- deactivate: EventEmitter<any>;
43
- tooltipTemplate: TemplateRef<any>;
44
- seriesTooltipTemplate: TemplateRef<any>;
45
- dims: ViewDimensions;
46
- scaleType: ScaleType;
47
- xDomain: any[];
48
- xSet: any[];
49
- yDomain: [number, number];
50
- seriesDomain: any;
51
- xScale: any;
52
- yScale: any;
53
- transform: string;
54
- clipPathId: string;
55
- clipPath: string;
56
- colors: ColorHelper;
57
- margin: number[];
58
- hoveredVertical: any;
59
- xAxisHeight: number;
60
- yAxisWidth: number;
61
- filteredDomain: any;
62
- legendOptions: any;
63
- timelineWidth: number;
64
- timelineHeight: number;
65
- timelineXScale: any;
66
- timelineYScale: any;
67
- timelineXDomain: any;
68
- timelineTransform: any;
69
- timelinePadding: number;
70
- seriesType: typeof SeriesType;
71
- update(): void;
72
- updateTimeline(): void;
73
- getXDomain(): any[];
74
- getYDomain(): [number, number];
75
- getSeriesDomain(): string[];
76
- getXScale(domain: any, width: number): any;
77
- getYScale(domain: any, height: number): any;
78
- updateDomain(domain: any): void;
79
- updateHoveredVertical(item: any): void;
80
- hideCircles(): void;
81
- onClick(data: any, series?: any): void;
82
- trackBy(index: any, item: any): string;
83
- setColors(): void;
84
- getLegendOptions(): LegendOptions;
85
- updateYAxisWidth({ width }: {
86
- width: number;
87
- }): void;
88
- updateXAxisHeight({ height }: {
89
- height: number;
90
- }): void;
91
- onActivate(item: any): void;
92
- onDeactivate(item: any): void;
93
- deactivateAll(): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartStackedComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartStackedComponent, "ngx-charts-area-chart-stacked", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "xScaleMin": { "alias": "xScaleMin"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "yScaleMin": { "alias": "yScaleMin"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
96
- }
@@ -1,100 +0,0 @@
1
- import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2
- import { CurveFactory } from 'd3-shape';
3
- import { ColorHelper } from '../common/color.helper';
4
- import { BaseChartComponent } from '../common/base-chart.component';
5
- import { Series } from '../models/chart-data.model';
6
- import { LegendOptions, LegendPosition } from '../common/types/legend.model';
7
- import { ViewDimensions } from '../common/types/view-dimension.interface';
8
- import { ScaleType } from '../common/types/scale-type.enum';
9
- import * as i0 from "@angular/core";
10
- export declare class AreaChartComponent extends BaseChartComponent {
11
- legend: boolean;
12
- legendTitle: string;
13
- legendPosition: LegendPosition;
14
- xAxis: boolean;
15
- yAxis: boolean;
16
- baseValue: any;
17
- autoScale: boolean;
18
- showXAxisLabel: boolean;
19
- showYAxisLabel: boolean;
20
- xAxisLabel: string;
21
- yAxisLabel: string;
22
- timeline: boolean;
23
- gradient: boolean;
24
- showGridLines: boolean;
25
- curve: CurveFactory;
26
- activeEntries: any[];
27
- schemeType: ScaleType;
28
- trimXAxisTicks: boolean;
29
- trimYAxisTicks: boolean;
30
- rotateXAxisTicks: boolean;
31
- maxXAxisTickLength: number;
32
- maxYAxisTickLength: number;
33
- xAxisTickFormatting: any;
34
- yAxisTickFormatting: any;
35
- xAxisTicks: any[];
36
- yAxisTicks: any[];
37
- roundDomains: boolean;
38
- tooltipDisabled: boolean;
39
- xScaleMin: any;
40
- xScaleMax: any;
41
- yScaleMin: number;
42
- yScaleMax: number;
43
- wrapTicks: boolean;
44
- activate: EventEmitter<any>;
45
- deactivate: EventEmitter<any>;
46
- tooltipTemplate: TemplateRef<any>;
47
- seriesTooltipTemplate: TemplateRef<any>;
48
- dims: ViewDimensions;
49
- xSet: any;
50
- xDomain: any[];
51
- yDomain: [number, number];
52
- seriesDomain: string[];
53
- xScale: any;
54
- yScale: any;
55
- transform: string;
56
- colors: ColorHelper;
57
- clipPathId: string;
58
- clipPath: string;
59
- scaleType: ScaleType;
60
- series: Series;
61
- margin: number[];
62
- hoveredVertical: any;
63
- xAxisHeight: number;
64
- yAxisWidth: number;
65
- filteredDomain: any;
66
- legendOptions: LegendOptions;
67
- timelineWidth: number;
68
- timelineHeight: number;
69
- timelineXScale: any;
70
- timelineYScale: any;
71
- timelineXDomain: any[];
72
- timelineTransform: any;
73
- timelinePadding: number;
74
- update(): void;
75
- updateTimeline(): void;
76
- getXDomain(): any[];
77
- getYDomain(): [number, number];
78
- getSeriesDomain(): string[];
79
- getXScale(domain: any, width: number): number;
80
- getYScale(domain: [number, number], height: number): any;
81
- getScaleType(values: any): ScaleType;
82
- updateDomain(domain: any): void;
83
- updateHoveredVertical(item: any): void;
84
- hideCircles(): void;
85
- onClick(data: any, series?: Series): void;
86
- trackBy: TrackByFunction<Series>;
87
- setColors(): void;
88
- getLegendOptions(): LegendOptions;
89
- updateYAxisWidth({ width }: {
90
- width: number;
91
- }): void;
92
- updateXAxisHeight({ height }: {
93
- height: number;
94
- }): void;
95
- onActivate(item: any): void;
96
- onDeactivate(item: any): void;
97
- deactivateAll(): void;
98
- static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
99
- static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "ngx-charts-area-chart", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "baseValue": { "alias": "baseValue"; "required": false; }; "autoScale": { "alias": "autoScale"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "timeline": { "alias": "timeline"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "xScaleMin": { "alias": "xScaleMin"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "yScaleMin": { "alias": "yScaleMin"; "required": false; }; "yScaleMax": { "alias": "yScaleMax"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate", "seriesTooltipTemplate"], never, false, never>;
100
- }
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./area-chart.component";
3
- import * as i2 from "./area-chart-normalized.component";
4
- import * as i3 from "./area-chart-stacked.component";
5
- import * as i4 from "./area-series.component";
6
- import * as i5 from "../common/chart-common.module";
7
- export declare class AreaChartModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AreaChartModule, [typeof i1.AreaChartComponent, typeof i2.AreaChartNormalizedComponent, typeof i3.AreaChartStackedComponent, typeof i4.AreaSeriesComponent], [typeof i5.ChartCommonModule], [typeof i1.AreaChartComponent, typeof i2.AreaChartNormalizedComponent, typeof i3.AreaChartStackedComponent, typeof i4.AreaSeriesComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<AreaChartModule>;
11
- }
@@ -1,33 +0,0 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ColorHelper } from '../common/color.helper';
3
- import { Gradient } from '../common/types/gradient.interface';
4
- import { ScaleType } from '../common/types/scale-type.enum';
5
- import { AreaChartSeries } from '../models/chart-data.model';
6
- import * as i0 from "@angular/core";
7
- export declare class AreaSeriesComponent implements OnChanges {
8
- data: AreaChartSeries;
9
- xScale: any;
10
- yScale: any;
11
- baseValue: any;
12
- colors: ColorHelper;
13
- scaleType: ScaleType;
14
- stacked: boolean;
15
- normalized: boolean;
16
- gradient: boolean;
17
- curve: any;
18
- activeEntries: any[];
19
- animations: boolean;
20
- select: EventEmitter<any>;
21
- opacity: number;
22
- path: string;
23
- startingPath: string;
24
- hasGradient: boolean;
25
- gradientStops: Gradient[];
26
- ngOnChanges(changes: SimpleChanges): void;
27
- update(): void;
28
- updateGradient(): void;
29
- isActive(entry: any): boolean;
30
- isInactive(entry: any): boolean;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AreaSeriesComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<AreaSeriesComponent, "g[ngx-charts-area-series]", never, { "data": { "alias": "data"; "required": false; }; "xScale": { "alias": "xScale"; "required": false; }; "yScale": { "alias": "yScale"; "required": false; }; "baseValue": { "alias": "baseValue"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "scaleType": { "alias": "scaleType"; "required": false; }; "stacked": { "alias": "stacked"; "required": false; }; "normalized": { "alias": "normalized"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "curve": { "alias": "curve"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "animations": { "alias": "animations"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
33
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./bar.component";
3
- import * as i2 from "./bar-horizontal.component";
4
- import * as i3 from "./bar-horizontal-2d.component";
5
- import * as i4 from "./bar-horizontal-normalized.component";
6
- import * as i5 from "./bar-horizontal-stacked.component";
7
- import * as i6 from "./bar-vertical.component";
8
- import * as i7 from "./bar-vertical-2d.component";
9
- import * as i8 from "./bar-vertical-normalized.component";
10
- import * as i9 from "./bar-vertical-stacked.component";
11
- import * as i10 from "./bar-label.component";
12
- import * as i11 from "./series-horizontal.component";
13
- import * as i12 from "./series-vertical.component";
14
- import * as i13 from "../common/chart-common.module";
15
- export declare class BarChartModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<BarChartModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<BarChartModule, [typeof i1.BarComponent, typeof i2.BarHorizontalComponent, typeof i3.BarHorizontal2DComponent, typeof i4.BarHorizontalNormalizedComponent, typeof i5.BarHorizontalStackedComponent, typeof i6.BarVerticalComponent, typeof i7.BarVertical2DComponent, typeof i8.BarVerticalNormalizedComponent, typeof i9.BarVerticalStackedComponent, typeof i10.BarLabelComponent, typeof i11.SeriesHorizontal, typeof i12.SeriesVerticalComponent], [typeof i13.ChartCommonModule], [typeof i1.BarComponent, typeof i2.BarHorizontalComponent, typeof i3.BarHorizontal2DComponent, typeof i4.BarHorizontalNormalizedComponent, typeof i5.BarHorizontalStackedComponent, typeof i6.BarVerticalComponent, typeof i7.BarVertical2DComponent, typeof i8.BarVerticalNormalizedComponent, typeof i9.BarVerticalStackedComponent, typeof i10.BarLabelComponent, typeof i11.SeriesHorizontal, typeof i12.SeriesVerticalComponent]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<BarChartModule>;
19
- }
@@ -1,87 +0,0 @@
1
- import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2
- import { ColorHelper } from '../common/color.helper';
3
- import { DataItem } from '../models/chart-data.model';
4
- import { BaseChartComponent } from '../common/base-chart.component';
5
- import { ScaleType } from '../common/types/scale-type.enum';
6
- import { LegendOptions, LegendPosition } from '../common/types/legend.model';
7
- import { ViewDimensions } from '../common/types/view-dimension.interface';
8
- import { BarOrientation } from '../common/types/bar-orientation.enum';
9
- import * as i0 from "@angular/core";
10
- export declare class BarHorizontal2DComponent extends BaseChartComponent {
11
- legend: boolean;
12
- legendTitle: string;
13
- legendPosition: LegendPosition;
14
- xAxis: any;
15
- yAxis: any;
16
- showXAxisLabel: boolean;
17
- showYAxisLabel: boolean;
18
- xAxisLabel: string;
19
- yAxisLabel: string;
20
- tooltipDisabled: boolean;
21
- gradient: boolean;
22
- showGridLines: boolean;
23
- activeEntries: any[];
24
- schemeType: ScaleType;
25
- trimXAxisTicks: boolean;
26
- trimYAxisTicks: boolean;
27
- rotateXAxisTicks: boolean;
28
- maxXAxisTickLength: number;
29
- maxYAxisTickLength: number;
30
- xAxisTickFormatting: any;
31
- yAxisTickFormatting: any;
32
- xAxisTicks: any[];
33
- yAxisTicks: any[];
34
- groupPadding: number;
35
- barPadding: number;
36
- roundDomains: boolean;
37
- roundEdges: boolean;
38
- xScaleMax: number;
39
- showDataLabel: boolean;
40
- dataLabelFormatting: any;
41
- noBarWhenZero: boolean;
42
- wrapTicks: boolean;
43
- activate: EventEmitter<any>;
44
- deactivate: EventEmitter<any>;
45
- tooltipTemplate: TemplateRef<any>;
46
- dims: ViewDimensions;
47
- groupDomain: string[];
48
- innerDomain: string[];
49
- valueDomain: [number, number];
50
- groupScale: any;
51
- innerScale: any;
52
- valueScale: any;
53
- transform: string;
54
- colors: ColorHelper;
55
- margin: number[];
56
- xAxisHeight: number;
57
- yAxisWidth: number;
58
- legendOptions: LegendOptions;
59
- dataLabelMaxWidth: any;
60
- isSSR: boolean;
61
- barOrientation: typeof BarOrientation;
62
- ngOnInit(): void;
63
- ngOnChanges(): void;
64
- update(): void;
65
- getGroupScale(): any;
66
- getInnerScale(): any;
67
- getValueScale(): any;
68
- getGroupDomain(): string[];
69
- getInnerDomain(): string[];
70
- getValueDomain(): [number, number];
71
- groupTransform(group: DataItem): string;
72
- onClick(data: any, group?: DataItem): void;
73
- trackBy: TrackByFunction<DataItem>;
74
- setColors(): void;
75
- getLegendOptions(): LegendOptions;
76
- updateYAxisWidth({ width }: {
77
- width: number;
78
- }): void;
79
- updateXAxisHeight({ height }: {
80
- height: number;
81
- }): void;
82
- onDataLabelMaxWidthChanged(event: any, groupIndex: number): void;
83
- onActivate(event: any, group: DataItem, fromLegend?: boolean): void;
84
- onDeactivate(event: any, group: DataItem, fromLegend?: boolean): void;
85
- static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontal2DComponent, never>;
86
- static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontal2DComponent, "ngx-charts-bar-horizontal-2d", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "groupPadding": { "alias": "groupPadding"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "roundEdges": { "alias": "roundEdges"; "required": false; }; "xScaleMax": { "alias": "xScaleMax"; "required": false; }; "showDataLabel": { "alias": "showDataLabel"; "required": false; }; "dataLabelFormatting": { "alias": "dataLabelFormatting"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
87
- }
@@ -1,76 +0,0 @@
1
- import { EventEmitter, TemplateRef, TrackByFunction } from '@angular/core';
2
- import { ColorHelper } from '../common/color.helper';
3
- import { Series } from '../models/chart-data.model';
4
- import { BaseChartComponent } from '../common/base-chart.component';
5
- import { BarChartType } from './types/bar-chart-type.enum';
6
- import { ScaleType } from '../common/types/scale-type.enum';
7
- import { LegendOptions, LegendPosition } from '../common/types/legend.model';
8
- import { ViewDimensions } from '../common/types/view-dimension.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class BarHorizontalNormalizedComponent extends BaseChartComponent {
11
- legend: boolean;
12
- legendTitle: string;
13
- legendPosition: LegendPosition;
14
- xAxis: any;
15
- yAxis: any;
16
- showXAxisLabel: boolean;
17
- showYAxisLabel: boolean;
18
- xAxisLabel: string;
19
- yAxisLabel: string;
20
- tooltipDisabled: boolean;
21
- gradient: boolean;
22
- showGridLines: boolean;
23
- activeEntries: any[];
24
- schemeType: ScaleType;
25
- trimXAxisTicks: boolean;
26
- trimYAxisTicks: boolean;
27
- rotateXAxisTicks: boolean;
28
- maxXAxisTickLength: number;
29
- maxYAxisTickLength: number;
30
- xAxisTickFormatting: any;
31
- yAxisTickFormatting: any;
32
- xAxisTicks: any[];
33
- yAxisTicks: any[];
34
- barPadding: number;
35
- roundDomains: boolean;
36
- noBarWhenZero: boolean;
37
- wrapTicks: boolean;
38
- activate: EventEmitter<any>;
39
- deactivate: EventEmitter<any>;
40
- tooltipTemplate: TemplateRef<any>;
41
- dims: ViewDimensions;
42
- groupDomain: string[];
43
- innerDomain: string[];
44
- valueDomain: [number, number];
45
- xScale: any;
46
- yScale: any;
47
- transform: string;
48
- colors: ColorHelper;
49
- margin: number[];
50
- xAxisHeight: number;
51
- yAxisWidth: number;
52
- legendOptions: LegendOptions;
53
- barChartType: typeof BarChartType;
54
- isSSR: boolean;
55
- ngOnInit(): void;
56
- update(): void;
57
- getGroupDomain(): string[];
58
- getInnerDomain(): string[];
59
- getYScale(): any;
60
- getXScale(): any;
61
- groupTransform(group: Series): string;
62
- onClick(data: any, group?: Series): void;
63
- trackBy: TrackByFunction<Series>;
64
- setColors(): void;
65
- getLegendOptions(): LegendOptions;
66
- updateYAxisWidth({ width }: {
67
- width: number;
68
- }): void;
69
- updateXAxisHeight({ height }: {
70
- height: number;
71
- }): void;
72
- onActivate(event: any, group: Series, fromLegend?: boolean): void;
73
- onDeactivate(event: any, group: Series, fromLegend?: boolean): void;
74
- static ɵfac: i0.ɵɵFactoryDeclaration<BarHorizontalNormalizedComponent, never>;
75
- static ɵcmp: i0.ɵɵComponentDeclaration<BarHorizontalNormalizedComponent, "ngx-charts-bar-horizontal-normalized", never, { "legend": { "alias": "legend"; "required": false; }; "legendTitle": { "alias": "legendTitle"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "showXAxisLabel": { "alias": "showXAxisLabel"; "required": false; }; "showYAxisLabel": { "alias": "showYAxisLabel"; "required": false; }; "xAxisLabel": { "alias": "xAxisLabel"; "required": false; }; "yAxisLabel": { "alias": "yAxisLabel"; "required": false; }; "tooltipDisabled": { "alias": "tooltipDisabled"; "required": false; }; "gradient": { "alias": "gradient"; "required": false; }; "showGridLines": { "alias": "showGridLines"; "required": false; }; "activeEntries": { "alias": "activeEntries"; "required": false; }; "schemeType": { "alias": "schemeType"; "required": false; }; "trimXAxisTicks": { "alias": "trimXAxisTicks"; "required": false; }; "trimYAxisTicks": { "alias": "trimYAxisTicks"; "required": false; }; "rotateXAxisTicks": { "alias": "rotateXAxisTicks"; "required": false; }; "maxXAxisTickLength": { "alias": "maxXAxisTickLength"; "required": false; }; "maxYAxisTickLength": { "alias": "maxYAxisTickLength"; "required": false; }; "xAxisTickFormatting": { "alias": "xAxisTickFormatting"; "required": false; }; "yAxisTickFormatting": { "alias": "yAxisTickFormatting"; "required": false; }; "xAxisTicks": { "alias": "xAxisTicks"; "required": false; }; "yAxisTicks": { "alias": "yAxisTicks"; "required": false; }; "barPadding": { "alias": "barPadding"; "required": false; }; "roundDomains": { "alias": "roundDomains"; "required": false; }; "noBarWhenZero": { "alias": "noBarWhenZero"; "required": false; }; "wrapTicks": { "alias": "wrapTicks"; "required": false; }; }, { "activate": "activate"; "deactivate": "deactivate"; }, ["tooltipTemplate"], never, false, never>;
76
- }