@tectra-ng/charts 0.0.1 → 0.2.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 (127) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +44 -1
  3. package/bar-list/README.md +30 -0
  4. package/boxplot/README.md +62 -0
  5. package/bullet/README.md +53 -0
  6. package/candlestick/README.md +57 -0
  7. package/column/README.md +73 -0
  8. package/combo/README.md +83 -0
  9. package/core/README.md +62 -0
  10. package/fesm2022/tectra-ng-charts-bar-list.mjs +299 -0
  11. package/fesm2022/tectra-ng-charts-bar-list.mjs.map +1 -0
  12. package/fesm2022/tectra-ng-charts-boxplot.mjs +887 -0
  13. package/fesm2022/tectra-ng-charts-boxplot.mjs.map +1 -0
  14. package/fesm2022/tectra-ng-charts-bullet.mjs +666 -0
  15. package/fesm2022/tectra-ng-charts-bullet.mjs.map +1 -0
  16. package/fesm2022/tectra-ng-charts-candlestick.mjs +778 -0
  17. package/fesm2022/tectra-ng-charts-candlestick.mjs.map +1 -0
  18. package/fesm2022/tectra-ng-charts-column.mjs +1166 -0
  19. package/fesm2022/tectra-ng-charts-column.mjs.map +1 -0
  20. package/fesm2022/tectra-ng-charts-combo.mjs +1218 -0
  21. package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -0
  22. package/fesm2022/tectra-ng-charts-core.mjs +3679 -0
  23. package/fesm2022/tectra-ng-charts-core.mjs.map +1 -0
  24. package/fesm2022/tectra-ng-charts-funnel.mjs +694 -0
  25. package/fesm2022/tectra-ng-charts-funnel.mjs.map +1 -0
  26. package/fesm2022/tectra-ng-charts-gantt.mjs +947 -0
  27. package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -0
  28. package/fesm2022/tectra-ng-charts-gauge.mjs +693 -0
  29. package/fesm2022/tectra-ng-charts-gauge.mjs.map +1 -0
  30. package/fesm2022/tectra-ng-charts-heatmap.mjs +935 -0
  31. package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -0
  32. package/fesm2022/tectra-ng-charts-line.mjs +1541 -0
  33. package/fesm2022/tectra-ng-charts-line.mjs.map +1 -0
  34. package/fesm2022/tectra-ng-charts-org-chart.mjs +2341 -0
  35. package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -0
  36. package/fesm2022/tectra-ng-charts-pie.mjs +1059 -0
  37. package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -0
  38. package/fesm2022/tectra-ng-charts-radar.mjs +924 -0
  39. package/fesm2022/tectra-ng-charts-radar.mjs.map +1 -0
  40. package/fesm2022/tectra-ng-charts-radial-bar.mjs +802 -0
  41. package/fesm2022/tectra-ng-charts-radial-bar.mjs.map +1 -0
  42. package/fesm2022/tectra-ng-charts-range-area.mjs +933 -0
  43. package/fesm2022/tectra-ng-charts-range-area.mjs.map +1 -0
  44. package/fesm2022/tectra-ng-charts-rank-line.mjs +660 -0
  45. package/fesm2022/tectra-ng-charts-rank-line.mjs.map +1 -0
  46. package/fesm2022/tectra-ng-charts-sankey.mjs +837 -0
  47. package/fesm2022/tectra-ng-charts-sankey.mjs.map +1 -0
  48. package/fesm2022/tectra-ng-charts-scatter.mjs +1174 -0
  49. package/fesm2022/tectra-ng-charts-scatter.mjs.map +1 -0
  50. package/fesm2022/tectra-ng-charts-segmented-bar.mjs +328 -0
  51. package/fesm2022/tectra-ng-charts-segmented-bar.mjs.map +1 -0
  52. package/fesm2022/tectra-ng-charts-sunburst.mjs +733 -0
  53. package/fesm2022/tectra-ng-charts-sunburst.mjs.map +1 -0
  54. package/fesm2022/tectra-ng-charts-treemap.mjs +674 -0
  55. package/fesm2022/tectra-ng-charts-treemap.mjs.map +1 -0
  56. package/fesm2022/tectra-ng-charts-waterfall.mjs +809 -0
  57. package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -0
  58. package/fesm2022/tectra-ng-charts.mjs +4 -0
  59. package/fesm2022/tectra-ng-charts.mjs.map +1 -0
  60. package/funnel/README.md +53 -0
  61. package/gantt/README.md +53 -0
  62. package/gauge/README.md +41 -0
  63. package/heatmap/README.md +47 -0
  64. package/line/README.md +86 -0
  65. package/org-chart/README.md +57 -0
  66. package/package.json +173 -4
  67. package/pie/README.md +66 -0
  68. package/radar/README.md +64 -0
  69. package/radial-bar/README.md +62 -0
  70. package/range-area/README.md +66 -0
  71. package/rank-line/README.md +51 -0
  72. package/sankey/README.md +52 -0
  73. package/scatter/README.md +71 -0
  74. package/segmented-bar/README.md +35 -0
  75. package/sunburst/README.md +55 -0
  76. package/treemap/README.md +47 -0
  77. package/types/tectra-ng-charts-bar-list.d.ts +724 -0
  78. package/types/tectra-ng-charts-bar-list.d.ts.map +1 -0
  79. package/types/tectra-ng-charts-boxplot.d.ts +882 -0
  80. package/types/tectra-ng-charts-boxplot.d.ts.map +1 -0
  81. package/types/tectra-ng-charts-bullet.d.ts +833 -0
  82. package/types/tectra-ng-charts-bullet.d.ts.map +1 -0
  83. package/types/tectra-ng-charts-candlestick.d.ts +854 -0
  84. package/types/tectra-ng-charts-candlestick.d.ts.map +1 -0
  85. package/types/tectra-ng-charts-column.d.ts +951 -0
  86. package/types/tectra-ng-charts-column.d.ts.map +1 -0
  87. package/types/tectra-ng-charts-combo.d.ts +987 -0
  88. package/types/tectra-ng-charts-combo.d.ts.map +1 -0
  89. package/types/tectra-ng-charts-core.d.ts +859 -0
  90. package/types/tectra-ng-charts-core.d.ts.map +1 -0
  91. package/types/tectra-ng-charts-funnel.d.ts +857 -0
  92. package/types/tectra-ng-charts-funnel.d.ts.map +1 -0
  93. package/types/tectra-ng-charts-gantt.d.ts +884 -0
  94. package/types/tectra-ng-charts-gantt.d.ts.map +1 -0
  95. package/types/tectra-ng-charts-gauge.d.ts +859 -0
  96. package/types/tectra-ng-charts-gauge.d.ts.map +1 -0
  97. package/types/tectra-ng-charts-heatmap.d.ts +914 -0
  98. package/types/tectra-ng-charts-heatmap.d.ts.map +1 -0
  99. package/types/tectra-ng-charts-line.d.ts +1023 -0
  100. package/types/tectra-ng-charts-line.d.ts.map +1 -0
  101. package/types/tectra-ng-charts-org-chart.d.ts +1017 -0
  102. package/types/tectra-ng-charts-org-chart.d.ts.map +1 -0
  103. package/types/tectra-ng-charts-pie.d.ts +983 -0
  104. package/types/tectra-ng-charts-pie.d.ts.map +1 -0
  105. package/types/tectra-ng-charts-radar.d.ts +903 -0
  106. package/types/tectra-ng-charts-radar.d.ts.map +1 -0
  107. package/types/tectra-ng-charts-radial-bar.d.ts +886 -0
  108. package/types/tectra-ng-charts-radial-bar.d.ts.map +1 -0
  109. package/types/tectra-ng-charts-range-area.d.ts +897 -0
  110. package/types/tectra-ng-charts-range-area.d.ts.map +1 -0
  111. package/types/tectra-ng-charts-rank-line.d.ts +839 -0
  112. package/types/tectra-ng-charts-rank-line.d.ts.map +1 -0
  113. package/types/tectra-ng-charts-sankey.d.ts +866 -0
  114. package/types/tectra-ng-charts-sankey.d.ts.map +1 -0
  115. package/types/tectra-ng-charts-scatter.d.ts +987 -0
  116. package/types/tectra-ng-charts-scatter.d.ts.map +1 -0
  117. package/types/tectra-ng-charts-segmented-bar.d.ts +751 -0
  118. package/types/tectra-ng-charts-segmented-bar.d.ts.map +1 -0
  119. package/types/tectra-ng-charts-sunburst.d.ts +864 -0
  120. package/types/tectra-ng-charts-sunburst.d.ts.map +1 -0
  121. package/types/tectra-ng-charts-treemap.d.ts +847 -0
  122. package/types/tectra-ng-charts-treemap.d.ts.map +1 -0
  123. package/types/tectra-ng-charts-waterfall.d.ts +869 -0
  124. package/types/tectra-ng-charts-waterfall.d.ts.map +1 -0
  125. package/types/tectra-ng-charts.d.ts +2 -0
  126. package/types/tectra-ng-charts.d.ts.map +1 -0
  127. package/waterfall/README.md +60 -0
@@ -0,0 +1,983 @@
1
+ import { TxChartHeight, TxChartLegendAlign, TxChartLegendItem, TxChartLegendPosition, TxChartLegendTemplate, TxChartLegendVariant, TxChartPart, TxChartPointerEvent, TxChartTooltipData, TxChartTooltipFormatter, TxChartTooltipTemplate, TxChartValueFormat, arcBounds, arcPath, maxCornerRadius, polar, toRadians } from "@tectra-ng/charts/core";
2
+ import * as i0 from "@angular/core";
3
+ import { PipeTransform, TemplateRef } from "@angular/core";
4
+ import { TxPassThroughOptions } from "@tectra-ng/core/config";
5
+ import { TectraDeepPartial } from "@tectra-ng/themes";
6
+ export interface TxPieData {
7
+ series: readonly number[];
8
+ labels: readonly string[];
9
+ title?: string;
10
+ colors?: readonly (string | undefined)[];
11
+ }
12
+ export interface TxPieLegendItem {
13
+ label: string;
14
+ value: number;
15
+ percent: number;
16
+ color: string;
17
+ }
18
+ export type TxPieChartPart = TxChartPart | 'segment' | 'dataLabel' | 'center';
19
+ export type TxPieTotalFormatter = (value: number) => string;
20
+ export interface TxPieFit {
21
+ cx: number;
22
+ cy: number;
23
+ radius: number;
24
+ }
25
+ export interface TxPieArc {
26
+ index: number;
27
+ value: number;
28
+ percent: number;
29
+ start: number;
30
+ end: number;
31
+ path: string;
32
+ labelX: number;
33
+ labelY: number;
34
+ middle: number;
35
+ }
36
+ export interface TxPieCenterContext {
37
+ $implicit: TxPieCenterData;
38
+ }
39
+ export interface TxPieCenterData {
40
+ label: string;
41
+ value: string;
42
+ raw: number;
43
+ total: number;
44
+ hovered: boolean;
45
+ index: number;
46
+ color: string | null;
47
+ }
48
+ export interface TxPieSegmentEvent {
49
+ index: number;
50
+ label: string;
51
+ value: number;
52
+ percent: number;
53
+ }
54
+ export interface TxPieSegmentToggle {
55
+ index: number;
56
+ label: string;
57
+ hidden: boolean;
58
+ }
59
+ export declare function pieAngles(values: readonly number[], startAngle?: number, endAngle?: number): {
60
+ start: number;
61
+ end: number;
62
+ value: number;
63
+ index: number;
64
+ }[];
65
+ export declare function fitPie(width: number, height: number, startAngle?: number, endAngle?: number, padding?: number): TxPieFit;
66
+ export declare function pieArcs(values: readonly number[], options: {
67
+ width: number;
68
+ height: number;
69
+ startAngle?: number;
70
+ endAngle?: number;
71
+ donutSize?: number;
72
+ padding?: number;
73
+ cornerRadius?: number;
74
+ }): {
75
+ fit: TxPieFit;
76
+ inner: number;
77
+ arcs: TxPieArc[];
78
+ };
79
+ export declare function arcAt(arcs: readonly TxPieArc[], fit: TxPieFit, inner: number, x: number, y: number): number;
80
+ export declare function pieLegend(data: TxPieData | null | undefined): TxPieLegendItem[];
81
+ export declare class TxPieLegendPipe implements PipeTransform {
82
+ transform(data: TxPieData | null | undefined): TxPieLegendItem[];
83
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxPieLegendPipe, never>;
84
+ static ɵpipe: i0.ɵɵPipeDeclaration<TxPieLegendPipe, "txPieLegend", true>;
85
+ }
86
+ export declare class TxPieCenter {
87
+ readonly template: TemplateRef<TxPieCenterContext>;
88
+ static ngTemplateContextGuard(_directive: TxPieCenter, context: unknown): context is TxPieCenterContext;
89
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxPieCenter, never>;
90
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TxPieCenter, "ng-template[txPieCenter]", never, {}, {}, never, never, true, never>;
91
+ }
92
+ export declare class TxPieChart {
93
+ private locale;
94
+ private host;
95
+ readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
96
+ readonly pieData: import("@angular/core").InputSignal<TxPieData | null | undefined>;
97
+ readonly chartWidth: import("@angular/core").InputSignal<string | number>;
98
+ readonly chartHeight: import("@angular/core").InputSignal<TxChartHeight>;
99
+ readonly showLegend: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
100
+ readonly legendPosition: import("@angular/core").InputSignal<TxChartLegendPosition>;
101
+ readonly legendAlign: import("@angular/core").InputSignal<TxChartLegendAlign>;
102
+ readonly legendValues: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
103
+ readonly legendVariant: import("@angular/core").InputSignal<TxChartLegendVariant>;
104
+ readonly showDataLabels: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
105
+ readonly totalLabel: import("@angular/core").InputSignal<string>;
106
+ readonly totalFormatter: import("@angular/core").InputSignal<TxPieTotalFormatter | null>;
107
+ readonly tooltipFormatter: import("@angular/core").InputSignal<TxChartTooltipFormatter | null>;
108
+ readonly showTooltip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
109
+ readonly valueFormat: import("@angular/core").InputSignal<TxChartValueFormat>;
110
+ readonly donutSize: import("@angular/core").InputSignal<string | number>;
111
+ readonly segmentGap: import("@angular/core").InputSignal<number>;
112
+ readonly segmentRadius: import("@angular/core").InputSignal<number | undefined>;
113
+ readonly startAngle: import("@angular/core").InputSignal<number>;
114
+ readonly endAngle: import("@angular/core").InputSignal<number>;
115
+ readonly toolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
116
+ readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
117
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
118
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
119
+ root: {
120
+ fontFamily: string;
121
+ color: string;
122
+ background: string;
123
+ };
124
+ series: {
125
+ color1: string;
126
+ color2: string;
127
+ color3: string;
128
+ color4: string;
129
+ color5: string;
130
+ color6: string;
131
+ color7: string;
132
+ };
133
+ toolbar: {
134
+ rowHeight: string;
135
+ reserve: string;
136
+ disabledOpacity: string;
137
+ };
138
+ grid: {
139
+ color: string;
140
+ width: string;
141
+ dash: string;
142
+ };
143
+ zeroLine: {
144
+ color: string;
145
+ width: string;
146
+ };
147
+ axis: {
148
+ labelColor: string;
149
+ labelFontSize: string;
150
+ labelFontWeight: string;
151
+ titleColor: string;
152
+ titleFontSize: string;
153
+ titleFontWeight: string;
154
+ lineColor: string;
155
+ };
156
+ legend: {
157
+ gap: string;
158
+ itemGap: string;
159
+ color: string;
160
+ mutedColor: string;
161
+ fontSize: string;
162
+ fontWeight: string;
163
+ markerSize: string;
164
+ markerRadius: string;
165
+ markerGap: string;
166
+ lineWidth: string;
167
+ lineHeight: string;
168
+ hiddenOpacity: string;
169
+ borderRadius: string;
170
+ hoverBackground: string;
171
+ paddingX: string;
172
+ paddingY: string;
173
+ sideWidth: string;
174
+ valueColor: string;
175
+ valueGap: string;
176
+ percentGap: string;
177
+ listGap: string;
178
+ pillBorderColor: string;
179
+ pillRadius: string;
180
+ pillPaddingX: string;
181
+ pillPaddingY: string;
182
+ pillTint: string;
183
+ statLabelFontSize: string;
184
+ statValueFontSize: string;
185
+ statValueFontWeight: string;
186
+ statPaddingX: string;
187
+ statPaddingY: string;
188
+ statRadius: string;
189
+ statMinWidth: string;
190
+ };
191
+ tooltip: {
192
+ background: string;
193
+ borderColor: string;
194
+ borderWidth: string;
195
+ borderRadius: string;
196
+ shadow: string;
197
+ color: string;
198
+ mutedColor: string;
199
+ fontSize: string;
200
+ titleFontSize: string;
201
+ titleFontWeight: string;
202
+ valueFontWeight: string;
203
+ padding: string;
204
+ rowGap: string;
205
+ markerSize: string;
206
+ markerGap: string;
207
+ valueGap: string;
208
+ minWidth: string;
209
+ arrowSize: string;
210
+ offset: string;
211
+ totalBorderColor: string;
212
+ noteColor: string;
213
+ };
214
+ hoverBand: {
215
+ color: string;
216
+ radius: string;
217
+ };
218
+ annotation: {
219
+ neutralColor: string;
220
+ primaryColor: string;
221
+ successColor: string;
222
+ infoColor: string;
223
+ warnColor: string;
224
+ dangerColor: string;
225
+ lineWidth: string;
226
+ lineDash: string;
227
+ bandStrength: string;
228
+ pointRadius: string;
229
+ labelFontSize: string;
230
+ labelFontWeight: string;
231
+ labelColor: string;
232
+ labelStrength: string;
233
+ labelBase: string;
234
+ labelBorderWidth: string;
235
+ labelRadius: string;
236
+ };
237
+ brush: {
238
+ trackBackground: string;
239
+ maskColor: string;
240
+ areaOpacity: string;
241
+ lineWidth: string;
242
+ windowBorderColor: string;
243
+ windowBorderWidth: string;
244
+ handleColor: string;
245
+ handleBorderColor: string;
246
+ handleRadius: string;
247
+ radius: string;
248
+ };
249
+ crosshair: {
250
+ color: string;
251
+ width: string;
252
+ dash: string;
253
+ };
254
+ marker: {
255
+ radius: string;
256
+ strokeColor: string;
257
+ strokeWidth: string;
258
+ haloRadius: string;
259
+ haloOpacity: string;
260
+ };
261
+ line: {
262
+ strokeWidth: string;
263
+ areaOpacityFrom: string;
264
+ areaOpacityTo: string;
265
+ stackedAreaOpacity: string;
266
+ pointRadius: string;
267
+ dimmedOpacity: string;
268
+ };
269
+ bar: {
270
+ radius: string;
271
+ width: string;
272
+ horizontalWidth: string;
273
+ groupGap: string;
274
+ segmentGap: string;
275
+ segmentGapColor: string;
276
+ dimmedStrength: string;
277
+ dimmedBase: string;
278
+ labelColor: string;
279
+ labelFontSize: string;
280
+ labelFontWeight: string;
281
+ outsideLabelColor: string;
282
+ };
283
+ scatter: {
284
+ pointRadius: string;
285
+ bubbleMinRadius: string;
286
+ bubbleMaxRadius: string;
287
+ fillOpacity: string;
288
+ bubbleFillOpacity: string;
289
+ strokeColor: string;
290
+ strokeWidth: string;
291
+ activeStrokeWidth: string;
292
+ dimmedOpacity: string;
293
+ trendWidth: string;
294
+ trendDash: string;
295
+ };
296
+ radar: {
297
+ strokeWidth: string;
298
+ fillOpacity: string;
299
+ activeFillOpacity: string;
300
+ pointRadius: string;
301
+ labelGap: string;
302
+ labelColor: string;
303
+ labelFontSize: string;
304
+ labelFontWeight: string;
305
+ activeLabelColor: string;
306
+ tickColor: string;
307
+ tickFontSize: string;
308
+ dimmedOpacity: string;
309
+ };
310
+ radialBar: {
311
+ trackColor: string;
312
+ thickness: string;
313
+ dimmedOpacity: string;
314
+ valueColor: string;
315
+ valueFontWeight: string;
316
+ labelColor: string;
317
+ labelFontWeight: string;
318
+ };
319
+ gauge: {
320
+ thickness: string;
321
+ trackColor: string;
322
+ bandGap: string;
323
+ progressColor: string;
324
+ needleColor: string;
325
+ needleWidth: string;
326
+ hubRadius: string;
327
+ hubColor: string;
328
+ hubStrokeWidth: string;
329
+ tickColor: string;
330
+ tickLength: string;
331
+ tickLabelColor: string;
332
+ tickLabelFontSize: string;
333
+ valueColor: string;
334
+ valueFontWeight: string;
335
+ labelColor: string;
336
+ labelFontWeight: string;
337
+ primaryColor: string;
338
+ successColor: string;
339
+ infoColor: string;
340
+ warnColor: string;
341
+ dangerColor: string;
342
+ neutralColor: string;
343
+ };
344
+ waterfall: {
345
+ upColor: string;
346
+ downColor: string;
347
+ totalColor: string;
348
+ connectorColor: string;
349
+ connectorWidth: string;
350
+ connectorDash: string;
351
+ dimmedOpacity: string;
352
+ };
353
+ funnel: {
354
+ rowGap: string;
355
+ radius: string;
356
+ labelColor: string;
357
+ labelFontSize: string;
358
+ labelFontWeight: string;
359
+ valueColor: string;
360
+ valueFontSize: string;
361
+ valueFontWeight: string;
362
+ outsideValueColor: string;
363
+ connectorOpacity: string;
364
+ conversionColor: string;
365
+ conversionFontSize: string;
366
+ labelWidth: string;
367
+ dimmedOpacity: string;
368
+ };
369
+ bullet: {
370
+ rowHeight: string;
371
+ trackHeight: string;
372
+ barHeight: string;
373
+ rangeColor1: string;
374
+ rangeColor2: string;
375
+ rangeColor3: string;
376
+ barColor: string;
377
+ barRadius: string;
378
+ targetColor: string;
379
+ targetWidth: string;
380
+ targetHeight: string;
381
+ dimmedOpacity: string;
382
+ };
383
+ candlestick: {
384
+ upColor: string;
385
+ downColor: string;
386
+ bodyWidth: string;
387
+ bodyRadius: string;
388
+ wickWidth: string;
389
+ volumeHeight: string;
390
+ volumeOpacity: string;
391
+ dimmedOpacity: string;
392
+ };
393
+ boxplot: {
394
+ boxWidth: string;
395
+ groupGap: string;
396
+ fillOpacity: string;
397
+ strokeWidth: string;
398
+ medianWidth: string;
399
+ whiskerWidth: string;
400
+ outlierRadius: string;
401
+ radius: string;
402
+ dimmedOpacity: string;
403
+ };
404
+ rangeArea: {
405
+ fillOpacity: string;
406
+ edgeWidth: string;
407
+ edgeOpacity: string;
408
+ lineWidth: string;
409
+ dimmedOpacity: string;
410
+ };
411
+ gantt: {
412
+ rowHeight: string;
413
+ headerRowHeight: string;
414
+ labelWidth: string;
415
+ labelPaddingX: string;
416
+ barHeight: string;
417
+ barRadius: string;
418
+ trackStrength: string;
419
+ barBorderStrength: string;
420
+ trackBase: string;
421
+ barLabelGap: string;
422
+ barLabelColor: string;
423
+ insideLabelColor: string;
424
+ insideStrength: string;
425
+ insideAccentWidth: string;
426
+ fontSize: string;
427
+ labelColor: string;
428
+ groupColor: string;
429
+ groupFontWeight: string;
430
+ groupBackground: string;
431
+ summaryHeight: string;
432
+ summaryColor: string;
433
+ headerColor: string;
434
+ headerFontSize: string;
435
+ headerTopColor: string;
436
+ headerTopFontWeight: string;
437
+ headerBackground: string;
438
+ background: string;
439
+ borderColor: string;
440
+ weekendBackground: string;
441
+ rowHoverBackground: string;
442
+ foldDuration: string;
443
+ foldEasing: string;
444
+ todayColor: string;
445
+ todayWidth: string;
446
+ milestoneSize: string;
447
+ milestoneColor: string;
448
+ milestoneRadius: string;
449
+ toolbarGap: string;
450
+ maxHeight: string;
451
+ radius: string;
452
+ };
453
+ sankey: {
454
+ nodeWidth: string;
455
+ nodePadding: string;
456
+ nodeRadius: string;
457
+ linkStrength: string;
458
+ linkActiveStrength: string;
459
+ linkDimmedStrength: string;
460
+ linkBase: string;
461
+ linkEdgeColor: string;
462
+ linkEdgeWidth: string;
463
+ nodeDimmedOpacity: string;
464
+ labelGap: string;
465
+ labelColor: string;
466
+ labelFontSize: string;
467
+ labelFontWeight: string;
468
+ valueColor: string;
469
+ };
470
+ sunburst: {
471
+ hole: string;
472
+ gap: string;
473
+ gapColor: string;
474
+ cornerRadius: string;
475
+ levelFade: string;
476
+ fadeBase: string;
477
+ dimmedOpacity: string;
478
+ labelColor: string;
479
+ labelFontSize: string;
480
+ labelFontWeight: string;
481
+ labelShadow: string;
482
+ centerValueColor: string;
483
+ centerValueFontWeight: string;
484
+ centerLabelColor: string;
485
+ centerHoverBackground: string;
486
+ };
487
+ pie: {
488
+ segmentGap: string;
489
+ segmentRadius: string;
490
+ hoverOffset: string;
491
+ dimmedStrength: string;
492
+ dimmedBase: string;
493
+ labelColor: string;
494
+ labelFontSize: string;
495
+ labelFontWeight: string;
496
+ labelShadow: string;
497
+ nameColor: string;
498
+ nameFontSize: string;
499
+ nameFontWeight: string;
500
+ valueColor: string;
501
+ valueFontSize: string;
502
+ valueFontWeight: string;
503
+ totalLabelColor: string;
504
+ };
505
+ treemap: {
506
+ radius: string;
507
+ gap: string;
508
+ gapColor: string;
509
+ labelColor: string;
510
+ labelFontSize: string;
511
+ labelFontWeight: string;
512
+ valueFontSize: string;
513
+ valueFontWeight: string;
514
+ labelShadow: string;
515
+ labelPadding: string;
516
+ labelGap: string;
517
+ groupBackground: string;
518
+ groupLabelColor: string;
519
+ groupLabelFontSize: string;
520
+ groupLabelFontWeight: string;
521
+ dimmedStrength: string;
522
+ dimmedBase: string;
523
+ };
524
+ barList: {
525
+ gap: string;
526
+ columnGap: string;
527
+ fontSize: string;
528
+ rowHeight: string;
529
+ rowPaddingX: string;
530
+ rowRadius: string;
531
+ rowHoverBackground: string;
532
+ barBackground: string;
533
+ barRadius: string;
534
+ labelPaddingX: string;
535
+ labelColor: string;
536
+ valueColor: string;
537
+ valueFontWeight: string;
538
+ percentWidth: string;
539
+ percentColor: string;
540
+ emptyPaddingY: string;
541
+ emptyColor: string;
542
+ duration: string;
543
+ };
544
+ rankLine: {
545
+ strokeWidth: string;
546
+ markerRadius: string;
547
+ markerHoverRadius: string;
548
+ color1: string;
549
+ color2: string;
550
+ color3: string;
551
+ color4: string;
552
+ color5: string;
553
+ color6: string;
554
+ color7: string;
555
+ color8: string;
556
+ color9: string;
557
+ color10: string;
558
+ color11: string;
559
+ color12: string;
560
+ };
561
+ orgChart: {
562
+ gap: string;
563
+ canvasMinHeight: string;
564
+ canvasRadius: string;
565
+ canvasBackground: string;
566
+ canvasBorderColor: string;
567
+ canvasDotColor: string;
568
+ canvasDotGap: string;
569
+ busyOpacity: string;
570
+ stagePadding: string;
571
+ stageDuration: string;
572
+ forestGap: string;
573
+ nodePaddingX: string;
574
+ connectorHeight: string;
575
+ connectorColor: string;
576
+ connectorRadius: string;
577
+ pathColor: string;
578
+ pathWidth: string;
579
+ cardWidth: string;
580
+ cardPaddingX: string;
581
+ cardPaddingY: string;
582
+ cardGap: string;
583
+ cardRadius: string;
584
+ cardBackground: string;
585
+ cardBorderColor: string;
586
+ cardOpenBorderColor: string;
587
+ cardMatchBorderColor: string;
588
+ cardMatchBackground: string;
589
+ cardPathGlow: string;
590
+ iconSize: string;
591
+ iconFontSize: string;
592
+ iconRadius: string;
593
+ iconColor: string;
594
+ iconBackground: string;
595
+ avatarSize: string;
596
+ headingGap: string;
597
+ titleFontSize: string;
598
+ titleFontWeight: string;
599
+ titleColor: string;
600
+ subtitleFontSize: string;
601
+ subtitleColor: string;
602
+ pillsGap: string;
603
+ emptyPadding: string;
604
+ emptyFontSize: string;
605
+ emptyColor: string;
606
+ emptyBackground: string;
607
+ toolbarGap: string;
608
+ toolbarGroupGap: string;
609
+ searchWidth: string;
610
+ hintFontSize: string;
611
+ hintColor: string;
612
+ fullscreenInset: string;
613
+ fullscreenRadius: string;
614
+ fullscreenShadow: string;
615
+ fullscreenLayer: string;
616
+ backdrop: string;
617
+ backdropBlur: string;
618
+ floatingPadding: string;
619
+ floatingBackground: string;
620
+ floatingTitleFontSize: string;
621
+ floatingTitleFontWeight: string;
622
+ minimapInset: string;
623
+ minimapPadding: string;
624
+ minimapRadius: string;
625
+ minimapMapRadius: string;
626
+ minimapBackground: string;
627
+ minimapMapBackground: string;
628
+ minimapShadow: string;
629
+ minimapItemColor: string;
630
+ minimapItemRadius: string;
631
+ minimapPrimaryColor: string;
632
+ minimapAccentColor: string;
633
+ minimapMutedColor: string;
634
+ minimapViewportColor: string;
635
+ minimapViewportBackground: string;
636
+ };
637
+ segmentedBar: {
638
+ gap: string;
639
+ largeGap: string;
640
+ trackHeight: string;
641
+ largeTrackHeight: string;
642
+ trackGap: string;
643
+ trackBackground: string;
644
+ trackRadius: string;
645
+ largeTrackRadius: string;
646
+ segmentMinWidth: string;
647
+ largeSegmentMinWidth: string;
648
+ largeSegmentFontSize: string;
649
+ largeSegmentFontWeight: string;
650
+ legendGapX: string;
651
+ largeLegendGapX: string;
652
+ legendGapY: string;
653
+ legendFontSize: string;
654
+ largeLegendFontSize: string;
655
+ legendItemGap: string;
656
+ dotSize: string;
657
+ largeDotSize: string;
658
+ labelColor: string;
659
+ largeLabelColor: string;
660
+ monoFontFamily: string;
661
+ valueColor: string;
662
+ valueFontWeight: string;
663
+ percentColor: string;
664
+ asideColor: string;
665
+ duration: string;
666
+ primaryColor: string;
667
+ primaryText: string;
668
+ secondaryColor: string;
669
+ secondaryText: string;
670
+ successColor: string;
671
+ successText: string;
672
+ infoColor: string;
673
+ infoText: string;
674
+ warnColor: string;
675
+ warnText: string;
676
+ dangerColor: string;
677
+ dangerText: string;
678
+ neutralColor: string;
679
+ neutralText: string;
680
+ };
681
+ heatmap: {
682
+ maxHeight: string;
683
+ background: string;
684
+ scrollPaddingBottom: string;
685
+ scrollRadius: string;
686
+ rowGap: string;
687
+ rowPaddingY: string;
688
+ rowBorderColor: string;
689
+ headPaddingBottom: string;
690
+ leadWidth: string;
691
+ leadPaddingEnd: string;
692
+ leadFontSize: string;
693
+ leadColor: string;
694
+ valueWidth: string;
695
+ headFontSize: string;
696
+ headFontWeight: string;
697
+ headColor: string;
698
+ groupGap: string;
699
+ groupLabelGap: string;
700
+ groupLabelFontSize: string;
701
+ groupLabelFontWeight: string;
702
+ groupLabelColor: string;
703
+ columnsMinWidth: string;
704
+ columnGap: string;
705
+ columnFontSize: string;
706
+ columnColor: string;
707
+ cellSize: string;
708
+ cellRadius: string;
709
+ cellHoverScale: string;
710
+ cellDuration: string;
711
+ legendCellSize: string;
712
+ legendGapX: string;
713
+ legendGapY: string;
714
+ legendMarginTop: string;
715
+ legendItemGap: string;
716
+ legendFontSize: string;
717
+ legendColor: string;
718
+ successColor: string;
719
+ dangerColor: string;
720
+ warnColor: string;
721
+ infoColor: string;
722
+ infoTint: string;
723
+ pendingBorderColor: string;
724
+ neutralColor: string;
725
+ emptyColor: string;
726
+ scaleColor: string;
727
+ scaleBase: string;
728
+ };
729
+ empty: {
730
+ gap: string;
731
+ color: string;
732
+ fontSize: string;
733
+ iconSize: string;
734
+ iconFontSize: string;
735
+ iconColor: string;
736
+ iconBackground: string;
737
+ };
738
+ focusRing: {
739
+ color: string;
740
+ width: string;
741
+ offset: string;
742
+ };
743
+ motion: {
744
+ enterDuration: string;
745
+ updateDuration: string;
746
+ hoverDuration: string;
747
+ easing: string;
748
+ stagger: string;
749
+ };
750
+ }> | undefined>;
751
+ readonly pt: import("@angular/core").InputSignal<Partial<Record<TxPieChartPart, import("@tectra-ng/core/config").TxPassThroughValue<TxPieChart>>> | undefined>;
752
+ readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
753
+ readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
754
+ readonly segmentClick: import("@angular/core").OutputEmitterRef<TxPieSegmentEvent>;
755
+ readonly segmentToggle: import("@angular/core").OutputEmitterRef<TxPieSegmentToggle>;
756
+ readonly centerTemplate: import("@angular/core").Signal<TxPieCenter | undefined>;
757
+ readonly legendTemplate: import("@angular/core").Signal<TxChartLegendTemplate | undefined>;
758
+ readonly tooltipTemplate: import("@angular/core").Signal<TxChartTooltipTemplate | undefined>;
759
+ private readonly frame;
760
+ readonly isUnstyled: import("@angular/core").Signal<boolean>;
761
+ readonly passThrough: import("@angular/core").Signal<Partial<Record<TxPieChartPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
762
+ readonly tokenStyle: import("@angular/core").Signal<Record<string, string>>;
763
+ readonly hostStyle: import("@angular/core").Signal<{
764
+ width: string;
765
+ height: string;
766
+ }>;
767
+ readonly entrance: import("@tectra-ng/charts/core").TxChartEntrance;
768
+ readonly morph: import("@angular/core").WritableSignal<boolean>;
769
+ readonly hidden: import("@angular/core").WritableSignal<ReadonlySet<string>>;
770
+ readonly hovered: import("@angular/core").WritableSignal<number | null>;
771
+ readonly tokenRadius: import("@angular/core").WritableSignal<number>;
772
+ readonly keyboard: import("@angular/core").WritableSignal<boolean>;
773
+ readonly fromLegend: import("@angular/core").WritableSignal<boolean>;
774
+ private readonly intl;
775
+ readonly values: import("@angular/core").Signal<readonly number[]>;
776
+ readonly labels: import("@angular/core").Signal<string[]>;
777
+ readonly keys: import("@angular/core").Signal<string[]>;
778
+ readonly colors: import("@angular/core").Signal<string[]>;
779
+ readonly total: import("@angular/core").Signal<number>;
780
+ readonly isEmpty: import("@angular/core").Signal<boolean>;
781
+ readonly legendShown: import("@angular/core").Signal<boolean>;
782
+ readonly sideLegend: import("@angular/core").Signal<boolean>;
783
+ readonly size: import("@angular/core").WritableSignal<{
784
+ width: number;
785
+ height: number;
786
+ }>;
787
+ readonly plotHeight: import("@angular/core").Signal<number>;
788
+ readonly legendReserve: import("@angular/core").Signal<number>;
789
+ readonly inner: import("@angular/core").Signal<number>;
790
+ readonly geometry: import("@angular/core").Signal<{
791
+ fit: import("@tectra-ng/charts/pie").TxPieFit;
792
+ inner: number;
793
+ arcs: import("@tectra-ng/charts/pie").TxPieArc[];
794
+ }>;
795
+ readonly valueFormatter: import("@angular/core").Signal<import("@tectra-ng/charts/core").TxChartValueFormatter>;
796
+ readonly percentFormatter: import("@angular/core").Signal<(value: number) => string>;
797
+ readonly dataLabelFormatter: import("@angular/core").Signal<(percent: number) => string>;
798
+ readonly segments: import("@angular/core").Signal<{
799
+ key: string;
800
+ color: string;
801
+ ux: number;
802
+ uy: number;
803
+ label: string | null;
804
+ index: number;
805
+ value: number;
806
+ percent: number;
807
+ start: number;
808
+ end: number;
809
+ path: string;
810
+ labelX: number;
811
+ labelY: number;
812
+ middle: number;
813
+ }[]>;
814
+ readonly center: import("@angular/core").Signal<TxPieCenterData | null>;
815
+ readonly centerBox: import("@angular/core").Signal<{
816
+ x: number;
817
+ y: number;
818
+ size: number;
819
+ cx: number;
820
+ cy: number;
821
+ }>;
822
+ readonly centerFont: import("@angular/core").Signal<{
823
+ name: number;
824
+ value: number;
825
+ }>;
826
+ readonly legendItems: import("@angular/core").Signal<TxChartLegendItem[]>;
827
+ readonly tooltip: import("@angular/core").Signal<TxChartTooltipData | null>;
828
+ readonly summary: import("@angular/core").Signal<string>;
829
+ readonly dataTable: import("@angular/core").Signal<{
830
+ columns: {
831
+ key: string;
832
+ label: string;
833
+ }[];
834
+ rows: {
835
+ label: string;
836
+ cells: string[];
837
+ }[];
838
+ }>;
839
+ constructor();
840
+ onPointer(event: TxChartPointerEvent): void;
841
+ onNavigate(event: KeyboardEvent): void;
842
+ onLegendToggle(key: string): void;
843
+ onLegendHover(key: string | null): void;
844
+ private cssSize;
845
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxPieChart, never>;
846
+ static ɵcmp: i0.ɵɵComponentDeclaration<TxPieChart, "tx-pie-chart", never, {
847
+ "pieData": {
848
+ "alias": "pieData";
849
+ "required": true;
850
+ "isSignal": true;
851
+ };
852
+ "chartWidth": {
853
+ "alias": "chartWidth";
854
+ "required": false;
855
+ "isSignal": true;
856
+ };
857
+ "chartHeight": {
858
+ "alias": "chartHeight";
859
+ "required": false;
860
+ "isSignal": true;
861
+ };
862
+ "showLegend": {
863
+ "alias": "showLegend";
864
+ "required": false;
865
+ "isSignal": true;
866
+ };
867
+ "legendPosition": {
868
+ "alias": "legendPosition";
869
+ "required": false;
870
+ "isSignal": true;
871
+ };
872
+ "legendAlign": {
873
+ "alias": "legendAlign";
874
+ "required": false;
875
+ "isSignal": true;
876
+ };
877
+ "legendValues": {
878
+ "alias": "legendValues";
879
+ "required": false;
880
+ "isSignal": true;
881
+ };
882
+ "legendVariant": {
883
+ "alias": "legendVariant";
884
+ "required": false;
885
+ "isSignal": true;
886
+ };
887
+ "showDataLabels": {
888
+ "alias": "showDataLabels";
889
+ "required": false;
890
+ "isSignal": true;
891
+ };
892
+ "totalLabel": {
893
+ "alias": "totalLabel";
894
+ "required": false;
895
+ "isSignal": true;
896
+ };
897
+ "totalFormatter": {
898
+ "alias": "totalFormatter";
899
+ "required": false;
900
+ "isSignal": true;
901
+ };
902
+ "tooltipFormatter": {
903
+ "alias": "tooltipFormatter";
904
+ "required": false;
905
+ "isSignal": true;
906
+ };
907
+ "showTooltip": {
908
+ "alias": "showTooltip";
909
+ "required": false;
910
+ "isSignal": true;
911
+ };
912
+ "valueFormat": {
913
+ "alias": "valueFormat";
914
+ "required": false;
915
+ "isSignal": true;
916
+ };
917
+ "donutSize": {
918
+ "alias": "donutSize";
919
+ "required": false;
920
+ "isSignal": true;
921
+ };
922
+ "segmentGap": {
923
+ "alias": "segmentGap";
924
+ "required": false;
925
+ "isSignal": true;
926
+ };
927
+ "segmentRadius": {
928
+ "alias": "segmentRadius";
929
+ "required": false;
930
+ "isSignal": true;
931
+ };
932
+ "startAngle": {
933
+ "alias": "startAngle";
934
+ "required": false;
935
+ "isSignal": true;
936
+ };
937
+ "endAngle": {
938
+ "alias": "endAngle";
939
+ "required": false;
940
+ "isSignal": true;
941
+ };
942
+ "toolbar": {
943
+ "alias": "toolbar";
944
+ "required": false;
945
+ "isSignal": true;
946
+ };
947
+ "loading": {
948
+ "alias": "loading";
949
+ "required": false;
950
+ "isSignal": true;
951
+ };
952
+ "ariaLabel": {
953
+ "alias": "ariaLabel";
954
+ "required": false;
955
+ "isSignal": true;
956
+ };
957
+ "dt": {
958
+ "alias": "dt";
959
+ "required": false;
960
+ "isSignal": true;
961
+ };
962
+ "pt": {
963
+ "alias": "pt";
964
+ "required": false;
965
+ "isSignal": true;
966
+ };
967
+ "ptOptions": {
968
+ "alias": "ptOptions";
969
+ "required": false;
970
+ "isSignal": true;
971
+ };
972
+ "unstyled": {
973
+ "alias": "unstyled";
974
+ "required": false;
975
+ "isSignal": true;
976
+ };
977
+ }, {
978
+ "segmentClick": "segmentClick";
979
+ "segmentToggle": "segmentToggle";
980
+ }, ["centerTemplate", "legendTemplate", "tooltipTemplate"], never, true, never>;
981
+ }
982
+ export { arcBounds, arcPath, maxCornerRadius, polar, toRadians };
983
+ //# sourceMappingURL=tectra-ng-charts-pie.d.ts.map