@tectra-ng/charts 0.3.2 → 0.4.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.
- package/fesm2022/tectra-ng-charts-bar-list.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-boxplot.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-bullet.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-candlestick.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-column.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-combo.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-core.mjs +3 -16
- package/fesm2022/tectra-ng-charts-core.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-funnel.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gantt.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-gauge.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-heatmap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-org-chart.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs +1 -1
- package/fesm2022/tectra-ng-charts-pie.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-radar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-radial-bar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-rank-line.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-sankey.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-scatter.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-segmented-bar.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-sunburst.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-treemap.mjs +5 -5
- package/fesm2022/tectra-ng-charts-treemap.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts-waterfall.mjs.map +1 -1
- package/fesm2022/tectra-ng-charts.mjs +1 -1
- package/fesm2022/tectra-ng-charts.mjs.map +1 -1
- package/package.json +5 -5
- package/pie/README.md +1 -1
- package/treemap/README.md +1 -1
- package/types/tectra-ng-charts-bar-list.d.ts +32 -634
- package/types/tectra-ng-charts-bar-list.d.ts.map +1 -1
- package/types/tectra-ng-charts-boxplot.d.ts +77 -634
- package/types/tectra-ng-charts-boxplot.d.ts.map +1 -1
- package/types/tectra-ng-charts-bullet.d.ts +66 -634
- package/types/tectra-ng-charts-bullet.d.ts.map +1 -1
- package/types/tectra-ng-charts-candlestick.d.ts +62 -634
- package/types/tectra-ng-charts-candlestick.d.ts.map +1 -1
- package/types/tectra-ng-charts-column.d.ts +81 -634
- package/types/tectra-ng-charts-column.d.ts.map +1 -1
- package/types/tectra-ng-charts-combo.d.ts +98 -634
- package/types/tectra-ng-charts-combo.d.ts.map +1 -1
- package/types/tectra-ng-charts-core.d.ts +451 -6
- package/types/tectra-ng-charts-core.d.ts.map +1 -1
- package/types/tectra-ng-charts-funnel.d.ts +73 -634
- package/types/tectra-ng-charts-funnel.d.ts.map +1 -1
- package/types/tectra-ng-charts-gantt.d.ts +97 -634
- package/types/tectra-ng-charts-gantt.d.ts.map +1 -1
- package/types/tectra-ng-charts-gauge.d.ts +56 -634
- package/types/tectra-ng-charts-gauge.d.ts.map +1 -1
- package/types/tectra-ng-charts-heatmap.d.ts +102 -634
- package/types/tectra-ng-charts-heatmap.d.ts.map +1 -1
- package/types/tectra-ng-charts-line.d.ts +74 -634
- package/types/tectra-ng-charts-line.d.ts.map +1 -1
- package/types/tectra-ng-charts-org-chart.d.ts +161 -634
- package/types/tectra-ng-charts-org-chart.d.ts.map +1 -1
- package/types/tectra-ng-charts-pie.d.ts +91 -634
- package/types/tectra-ng-charts-pie.d.ts.map +1 -1
- package/types/tectra-ng-charts-radar.d.ts +82 -634
- package/types/tectra-ng-charts-radar.d.ts.map +1 -1
- package/types/tectra-ng-charts-radial-bar.d.ts +69 -634
- package/types/tectra-ng-charts-radial-bar.d.ts.map +1 -1
- package/types/tectra-ng-charts-range-area.d.ts +61 -634
- package/types/tectra-ng-charts-range-area.d.ts.map +1 -1
- package/types/tectra-ng-charts-rank-line.d.ts +55 -634
- package/types/tectra-ng-charts-rank-line.d.ts.map +1 -1
- package/types/tectra-ng-charts-sankey.d.ts +85 -634
- package/types/tectra-ng-charts-sankey.d.ts.map +1 -1
- package/types/tectra-ng-charts-scatter.d.ts +98 -634
- package/types/tectra-ng-charts-scatter.d.ts.map +1 -1
- package/types/tectra-ng-charts-segmented-bar.d.ts +39 -634
- package/types/tectra-ng-charts-segmented-bar.d.ts.map +1 -1
- package/types/tectra-ng-charts-sunburst.d.ts +57 -634
- package/types/tectra-ng-charts-sunburst.d.ts.map +1 -1
- package/types/tectra-ng-charts-treemap.d.ts +77 -634
- package/types/tectra-ng-charts-treemap.d.ts.map +1 -1
- package/types/tectra-ng-charts-waterfall.d.ts +69 -634
- package/types/tectra-ng-charts-waterfall.d.ts.map +1 -1
- package/types/tectra-ng-charts.d.ts +2 -1
- package/types/tectra-ng-charts.d.ts.map +1 -1
|
@@ -1,701 +1,124 @@
|
|
|
1
1
|
import { TxChartHeight, TxChartPart, TxChartPointerEvent, TxChartTooltipData, TxChartTooltipTemplate, TxChartValueFormat } from "@tectra-ng/charts/core";
|
|
2
2
|
import { TxPassThroughOptions } from "@tectra-ng/core/config";
|
|
3
|
-
import { TectraDeepPartial } from "@tectra-ng/themes";
|
|
3
|
+
import { TectraChartTokens, TectraDeepPartial } from "@tectra-ng/themes";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/** One ring slice of `tx-sunburst-chart`; `children` form the next ring. */
|
|
5
6
|
export interface TxSunburstItem {
|
|
7
|
+
/** Name of the slice. */
|
|
6
8
|
label: string;
|
|
9
|
+
/** Own value; without one the slice takes the sum of its children. */
|
|
7
10
|
value?: number | null;
|
|
11
|
+
/** Slices of the next ring. */
|
|
8
12
|
children?: readonly TxSunburstItem[];
|
|
13
|
+
/** Own colour; children inherit it. */
|
|
9
14
|
color?: string;
|
|
10
15
|
}
|
|
16
|
+
/** Parts of `tx-sunburst-chart` that `pt` can style. */
|
|
11
17
|
export type TxSunburstChartPart = TxChartPart | 'segment' | 'label' | 'center';
|
|
18
|
+
/** One laid out slice with its angles, radii and shares. */
|
|
12
19
|
export interface TxSunburstArc {
|
|
20
|
+
/** Stable key: the index path joined by dots. */
|
|
13
21
|
key: string;
|
|
22
|
+
/** Indexes from the top level down to the slice. */
|
|
14
23
|
path: number[];
|
|
24
|
+
/** The source item. */
|
|
15
25
|
item: TxSunburstItem;
|
|
26
|
+
/** Name of the slice. */
|
|
16
27
|
label: string;
|
|
28
|
+
/** Value of the slice. */
|
|
17
29
|
value: number;
|
|
30
|
+
/** Ring number, starting at 1 for the innermost. */
|
|
18
31
|
depth: number;
|
|
32
|
+
/** Start angle, in radians clockwise from the top. */
|
|
19
33
|
start: number;
|
|
34
|
+
/** End angle, in radians clockwise from the top. */
|
|
20
35
|
end: number;
|
|
36
|
+
/** Inner radius, in px. */
|
|
21
37
|
inner: number;
|
|
38
|
+
/** Outer radius, in px. */
|
|
22
39
|
outer: number;
|
|
40
|
+
/** CSS colour the slice is drawn with. */
|
|
23
41
|
base: string;
|
|
42
|
+
/** Share of the whole shown chart, 0 to 1. */
|
|
24
43
|
share: number;
|
|
44
|
+
/** Share of the parent slice, 0 to 1. */
|
|
25
45
|
parentShare: number;
|
|
46
|
+
/** `true` when the slice has children with a positive value. */
|
|
26
47
|
hasChildren: boolean;
|
|
27
48
|
}
|
|
49
|
+
/** Payload of the slice click event of `tx-sunburst-chart`. */
|
|
28
50
|
export interface TxSunburstEvent {
|
|
51
|
+
/** Labels from the top level down to the slice. */
|
|
29
52
|
path: string[];
|
|
53
|
+
/** Value of the slice. */
|
|
30
54
|
value: number;
|
|
55
|
+
/** The source item. */
|
|
31
56
|
item: TxSunburstItem;
|
|
32
57
|
}
|
|
58
|
+
/** Value of an item: its own value, or the sum of its children when it has none. */
|
|
33
59
|
export declare function sunburstValue(item: TxSunburstItem): number;
|
|
60
|
+
/** Slices shown after zooming into an index path, and the items along that path. */
|
|
34
61
|
export declare function sunburstFocus(roots: readonly TxSunburstItem[], path: readonly number[]): {
|
|
35
62
|
items: readonly TxSunburstItem[];
|
|
36
63
|
trail: TxSunburstItem[];
|
|
37
64
|
};
|
|
65
|
+
/** Settings of `sunburstArcs`. */
|
|
38
66
|
export interface TxSunburstOptions {
|
|
67
|
+
/** Number of rings drawn. */
|
|
39
68
|
levels: number;
|
|
69
|
+
/** Outer radius, in px. */
|
|
40
70
|
radius: number;
|
|
71
|
+
/** Size of the empty centre as a share of the radius, 0 to 0.9. */
|
|
41
72
|
hole: number;
|
|
73
|
+
/** Index path of the slice zoomed into; empty shows the top level. */
|
|
42
74
|
focus: readonly number[];
|
|
43
75
|
}
|
|
76
|
+
/** Lays out the visible rings of a sunburst as arcs; slices without a positive value are skipped. */
|
|
44
77
|
export declare function sunburstArcs(roots: readonly TxSunburstItem[], options: TxSunburstOptions): TxSunburstArc[];
|
|
78
|
+
/** The arc under a point, or `null` outside all arcs. */
|
|
45
79
|
export declare function sunburstArcAt(arcs: readonly TxSunburstArc[], x: number, y: number, cx: number, cy: number): TxSunburstArc | null;
|
|
80
|
+
/**
|
|
81
|
+
* `<tx-sunburst-chart>` — a hierarchy as nested rings: each ring is a level, each segment is its share of the parent. Click a segment to zoom into it, click the centre to go back. Drawn as SVG by the component, rendered on the server and themed by the design tokens.
|
|
82
|
+
* @see https://tectra-ng.com/components/sunburst-chart
|
|
83
|
+
*/
|
|
46
84
|
export declare class TxSunburstChart {
|
|
47
85
|
private readonly sunburstTheme;
|
|
48
86
|
private locale;
|
|
49
87
|
private host;
|
|
50
88
|
readonly translations: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
|
|
89
|
+
/** `{ label, value?, children?, color? }` or a list of them. A node's size is its `value`, or the sum of its children; children of a node with a larger `value` leave the rest of its arc empty. `color` applies to the node and its branch. Nothing with a value shows "No data" */
|
|
51
90
|
readonly data: import("@angular/core").InputSignal<TxSunburstItem | readonly TxSunburstItem[] | null | undefined>;
|
|
91
|
+
/** Rings shown at once (3); deeper levels appear when you zoom in */
|
|
52
92
|
readonly levels: import("@angular/core").InputSignal<number>;
|
|
93
|
+
/** Height in px (380), or a CSS size such as `'100%'` of a parent with a definite height */
|
|
53
94
|
readonly height: import("@angular/core").InputSignal<TxChartHeight>;
|
|
95
|
+
/** Writes the names on segments where they fit (on by default) */
|
|
54
96
|
readonly showLabels: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
/** Shows the value, the share of the parent and of the total on hover and keyboard focus */
|
|
55
98
|
readonly showTooltip: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
99
|
+
/** Clicking a segment with children zooms into it and the centre leads back (on by default) */
|
|
56
100
|
readonly drill: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
101
|
+
/** Caption of the centre at the top level; "Total" by default */
|
|
57
102
|
readonly totalLabel: import("@angular/core").InputSignal<string>;
|
|
103
|
+
/** Format of the values: `number`, `integer`, `compact`, `percent` or a function */
|
|
58
104
|
readonly valueFormat: import("@angular/core").InputSignal<TxChartValueFormat>;
|
|
105
|
+
/** Shows the chart menu: download SVG, PNG or CSV (the file is named after `ariaLabel`) */
|
|
59
106
|
readonly toolbar: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
107
|
+
/** Shows a skeleton of the same size */
|
|
60
108
|
readonly loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
109
|
+
/** What the chart shows; starts the summary read by screen readers */
|
|
61
110
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
color: string;
|
|
66
|
-
background: string;
|
|
67
|
-
};
|
|
68
|
-
series: {
|
|
69
|
-
color1: string;
|
|
70
|
-
color2: string;
|
|
71
|
-
color3: string;
|
|
72
|
-
color4: string;
|
|
73
|
-
color5: string;
|
|
74
|
-
color6: string;
|
|
75
|
-
color7: string;
|
|
76
|
-
};
|
|
77
|
-
toolbar: {
|
|
78
|
-
rowHeight: string;
|
|
79
|
-
reserve: string;
|
|
80
|
-
disabledOpacity: string;
|
|
81
|
-
};
|
|
82
|
-
grid: {
|
|
83
|
-
color: string;
|
|
84
|
-
width: string;
|
|
85
|
-
dash: string;
|
|
86
|
-
};
|
|
87
|
-
zeroLine: {
|
|
88
|
-
color: string;
|
|
89
|
-
width: string;
|
|
90
|
-
};
|
|
91
|
-
axis: {
|
|
92
|
-
labelColor: string;
|
|
93
|
-
labelFontSize: string;
|
|
94
|
-
labelFontWeight: string;
|
|
95
|
-
titleColor: string;
|
|
96
|
-
titleFontSize: string;
|
|
97
|
-
titleFontWeight: string;
|
|
98
|
-
lineColor: string;
|
|
99
|
-
};
|
|
100
|
-
legend: {
|
|
101
|
-
gap: string;
|
|
102
|
-
itemGap: string;
|
|
103
|
-
color: string;
|
|
104
|
-
mutedColor: string;
|
|
105
|
-
fontSize: string;
|
|
106
|
-
fontWeight: string;
|
|
107
|
-
markerSize: string;
|
|
108
|
-
markerRadius: string;
|
|
109
|
-
markerGap: string;
|
|
110
|
-
lineWidth: string;
|
|
111
|
-
lineHeight: string;
|
|
112
|
-
hiddenOpacity: string;
|
|
113
|
-
borderRadius: string;
|
|
114
|
-
hoverBackground: string;
|
|
115
|
-
paddingX: string;
|
|
116
|
-
paddingY: string;
|
|
117
|
-
sideWidth: string;
|
|
118
|
-
valueColor: string;
|
|
119
|
-
valueGap: string;
|
|
120
|
-
percentGap: string;
|
|
121
|
-
listGap: string;
|
|
122
|
-
pillBorderColor: string;
|
|
123
|
-
pillRadius: string;
|
|
124
|
-
pillPaddingX: string;
|
|
125
|
-
pillPaddingY: string;
|
|
126
|
-
pillTint: string;
|
|
127
|
-
statLabelFontSize: string;
|
|
128
|
-
statValueFontSize: string;
|
|
129
|
-
statValueFontWeight: string;
|
|
130
|
-
statPaddingX: string;
|
|
131
|
-
statPaddingY: string;
|
|
132
|
-
statRadius: string;
|
|
133
|
-
statMinWidth: string;
|
|
134
|
-
};
|
|
135
|
-
tooltip: {
|
|
136
|
-
background: string;
|
|
137
|
-
borderColor: string;
|
|
138
|
-
borderWidth: string;
|
|
139
|
-
borderRadius: string;
|
|
140
|
-
shadow: string;
|
|
141
|
-
color: string;
|
|
142
|
-
mutedColor: string;
|
|
143
|
-
fontSize: string;
|
|
144
|
-
titleFontSize: string;
|
|
145
|
-
titleFontWeight: string;
|
|
146
|
-
valueFontWeight: string;
|
|
147
|
-
padding: string;
|
|
148
|
-
rowGap: string;
|
|
149
|
-
markerSize: string;
|
|
150
|
-
markerGap: string;
|
|
151
|
-
valueGap: string;
|
|
152
|
-
minWidth: string;
|
|
153
|
-
arrowSize: string;
|
|
154
|
-
offset: string;
|
|
155
|
-
totalBorderColor: string;
|
|
156
|
-
noteColor: string;
|
|
157
|
-
};
|
|
158
|
-
hoverBand: {
|
|
159
|
-
color: string;
|
|
160
|
-
radius: string;
|
|
161
|
-
};
|
|
162
|
-
annotation: {
|
|
163
|
-
neutralColor: string;
|
|
164
|
-
primaryColor: string;
|
|
165
|
-
successColor: string;
|
|
166
|
-
infoColor: string;
|
|
167
|
-
warnColor: string;
|
|
168
|
-
dangerColor: string;
|
|
169
|
-
lineWidth: string;
|
|
170
|
-
lineDash: string;
|
|
171
|
-
bandStrength: string;
|
|
172
|
-
pointRadius: string;
|
|
173
|
-
labelFontSize: string;
|
|
174
|
-
labelFontWeight: string;
|
|
175
|
-
labelColor: string;
|
|
176
|
-
labelStrength: string;
|
|
177
|
-
labelBase: string;
|
|
178
|
-
labelBorderWidth: string;
|
|
179
|
-
labelRadius: string;
|
|
180
|
-
};
|
|
181
|
-
brush: {
|
|
182
|
-
trackBackground: string;
|
|
183
|
-
maskColor: string;
|
|
184
|
-
areaOpacity: string;
|
|
185
|
-
lineWidth: string;
|
|
186
|
-
windowBorderColor: string;
|
|
187
|
-
windowBorderWidth: string;
|
|
188
|
-
handleColor: string;
|
|
189
|
-
handleBorderColor: string;
|
|
190
|
-
handleRadius: string;
|
|
191
|
-
radius: string;
|
|
192
|
-
};
|
|
193
|
-
crosshair: {
|
|
194
|
-
color: string;
|
|
195
|
-
width: string;
|
|
196
|
-
dash: string;
|
|
197
|
-
};
|
|
198
|
-
marker: {
|
|
199
|
-
radius: string;
|
|
200
|
-
strokeColor: string;
|
|
201
|
-
strokeWidth: string;
|
|
202
|
-
haloRadius: string;
|
|
203
|
-
haloOpacity: string;
|
|
204
|
-
};
|
|
205
|
-
line: {
|
|
206
|
-
strokeWidth: string;
|
|
207
|
-
areaOpacityFrom: string;
|
|
208
|
-
areaOpacityTo: string;
|
|
209
|
-
stackedAreaOpacity: string;
|
|
210
|
-
pointRadius: string;
|
|
211
|
-
dimmedOpacity: string;
|
|
212
|
-
};
|
|
213
|
-
bar: {
|
|
214
|
-
radius: string;
|
|
215
|
-
width: string;
|
|
216
|
-
horizontalWidth: string;
|
|
217
|
-
groupGap: string;
|
|
218
|
-
segmentGap: string;
|
|
219
|
-
segmentGapColor: string;
|
|
220
|
-
dimmedStrength: string;
|
|
221
|
-
dimmedBase: string;
|
|
222
|
-
labelColor: string;
|
|
223
|
-
labelFontSize: string;
|
|
224
|
-
labelFontWeight: string;
|
|
225
|
-
outsideLabelColor: string;
|
|
226
|
-
};
|
|
227
|
-
scatter: {
|
|
228
|
-
pointRadius: string;
|
|
229
|
-
bubbleMinRadius: string;
|
|
230
|
-
bubbleMaxRadius: string;
|
|
231
|
-
fillOpacity: string;
|
|
232
|
-
bubbleFillOpacity: string;
|
|
233
|
-
strokeColor: string;
|
|
234
|
-
strokeWidth: string;
|
|
235
|
-
activeStrokeWidth: string;
|
|
236
|
-
dimmedOpacity: string;
|
|
237
|
-
trendWidth: string;
|
|
238
|
-
trendDash: string;
|
|
239
|
-
};
|
|
240
|
-
radar: {
|
|
241
|
-
strokeWidth: string;
|
|
242
|
-
fillOpacity: string;
|
|
243
|
-
activeFillOpacity: string;
|
|
244
|
-
pointRadius: string;
|
|
245
|
-
labelGap: string;
|
|
246
|
-
labelColor: string;
|
|
247
|
-
labelFontSize: string;
|
|
248
|
-
labelFontWeight: string;
|
|
249
|
-
activeLabelColor: string;
|
|
250
|
-
tickColor: string;
|
|
251
|
-
tickFontSize: string;
|
|
252
|
-
dimmedOpacity: string;
|
|
253
|
-
};
|
|
254
|
-
radialBar: {
|
|
255
|
-
trackColor: string;
|
|
256
|
-
thickness: string;
|
|
257
|
-
dimmedOpacity: string;
|
|
258
|
-
valueColor: string;
|
|
259
|
-
valueFontWeight: string;
|
|
260
|
-
labelColor: string;
|
|
261
|
-
labelFontWeight: string;
|
|
262
|
-
};
|
|
263
|
-
gauge: {
|
|
264
|
-
thickness: string;
|
|
265
|
-
trackColor: string;
|
|
266
|
-
bandGap: string;
|
|
267
|
-
progressColor: string;
|
|
268
|
-
needleColor: string;
|
|
269
|
-
needleWidth: string;
|
|
270
|
-
hubRadius: string;
|
|
271
|
-
hubColor: string;
|
|
272
|
-
hubStrokeWidth: string;
|
|
273
|
-
tickColor: string;
|
|
274
|
-
tickLength: string;
|
|
275
|
-
tickLabelColor: string;
|
|
276
|
-
tickLabelFontSize: string;
|
|
277
|
-
valueColor: string;
|
|
278
|
-
valueFontWeight: string;
|
|
279
|
-
labelColor: string;
|
|
280
|
-
labelFontWeight: string;
|
|
281
|
-
primaryColor: string;
|
|
282
|
-
successColor: string;
|
|
283
|
-
infoColor: string;
|
|
284
|
-
warnColor: string;
|
|
285
|
-
dangerColor: string;
|
|
286
|
-
neutralColor: string;
|
|
287
|
-
};
|
|
288
|
-
waterfall: {
|
|
289
|
-
upColor: string;
|
|
290
|
-
downColor: string;
|
|
291
|
-
totalColor: string;
|
|
292
|
-
connectorColor: string;
|
|
293
|
-
connectorWidth: string;
|
|
294
|
-
connectorDash: string;
|
|
295
|
-
dimmedOpacity: string;
|
|
296
|
-
};
|
|
297
|
-
funnel: {
|
|
298
|
-
rowGap: string;
|
|
299
|
-
radius: string;
|
|
300
|
-
labelColor: string;
|
|
301
|
-
labelFontSize: string;
|
|
302
|
-
labelFontWeight: string;
|
|
303
|
-
valueColor: string;
|
|
304
|
-
valueFontSize: string;
|
|
305
|
-
valueFontWeight: string;
|
|
306
|
-
outsideValueColor: string;
|
|
307
|
-
connectorOpacity: string;
|
|
308
|
-
conversionColor: string;
|
|
309
|
-
conversionFontSize: string;
|
|
310
|
-
labelWidth: string;
|
|
311
|
-
dimmedOpacity: string;
|
|
312
|
-
};
|
|
313
|
-
bullet: {
|
|
314
|
-
rowHeight: string;
|
|
315
|
-
trackHeight: string;
|
|
316
|
-
barHeight: string;
|
|
317
|
-
rangeColor1: string;
|
|
318
|
-
rangeColor2: string;
|
|
319
|
-
rangeColor3: string;
|
|
320
|
-
barColor: string;
|
|
321
|
-
barRadius: string;
|
|
322
|
-
targetColor: string;
|
|
323
|
-
targetWidth: string;
|
|
324
|
-
targetHeight: string;
|
|
325
|
-
dimmedOpacity: string;
|
|
326
|
-
};
|
|
327
|
-
candlestick: {
|
|
328
|
-
upColor: string;
|
|
329
|
-
downColor: string;
|
|
330
|
-
bodyWidth: string;
|
|
331
|
-
bodyRadius: string;
|
|
332
|
-
wickWidth: string;
|
|
333
|
-
volumeHeight: string;
|
|
334
|
-
volumeOpacity: string;
|
|
335
|
-
dimmedOpacity: string;
|
|
336
|
-
};
|
|
337
|
-
boxplot: {
|
|
338
|
-
boxWidth: string;
|
|
339
|
-
groupGap: string;
|
|
340
|
-
fillOpacity: string;
|
|
341
|
-
strokeWidth: string;
|
|
342
|
-
medianWidth: string;
|
|
343
|
-
whiskerWidth: string;
|
|
344
|
-
outlierRadius: string;
|
|
345
|
-
radius: string;
|
|
346
|
-
dimmedOpacity: string;
|
|
347
|
-
};
|
|
348
|
-
rangeArea: {
|
|
349
|
-
fillOpacity: string;
|
|
350
|
-
edgeWidth: string;
|
|
351
|
-
edgeOpacity: string;
|
|
352
|
-
lineWidth: string;
|
|
353
|
-
dimmedOpacity: string;
|
|
354
|
-
};
|
|
355
|
-
gantt: {
|
|
356
|
-
rowHeight: string;
|
|
357
|
-
headerRowHeight: string;
|
|
358
|
-
labelWidth: string;
|
|
359
|
-
labelPaddingX: string;
|
|
360
|
-
barHeight: string;
|
|
361
|
-
barRadius: string;
|
|
362
|
-
trackStrength: string;
|
|
363
|
-
barBorderStrength: string;
|
|
364
|
-
trackBase: string;
|
|
365
|
-
barLabelGap: string;
|
|
366
|
-
barLabelColor: string;
|
|
367
|
-
insideLabelColor: string;
|
|
368
|
-
insideStrength: string;
|
|
369
|
-
insideAccentWidth: string;
|
|
370
|
-
fontSize: string;
|
|
371
|
-
labelColor: string;
|
|
372
|
-
groupColor: string;
|
|
373
|
-
groupFontWeight: string;
|
|
374
|
-
groupBackground: string;
|
|
375
|
-
summaryHeight: string;
|
|
376
|
-
summaryColor: string;
|
|
377
|
-
headerColor: string;
|
|
378
|
-
headerFontSize: string;
|
|
379
|
-
headerTopColor: string;
|
|
380
|
-
headerTopFontWeight: string;
|
|
381
|
-
headerBackground: string;
|
|
382
|
-
background: string;
|
|
383
|
-
borderColor: string;
|
|
384
|
-
weekendBackground: string;
|
|
385
|
-
rowHoverBackground: string;
|
|
386
|
-
foldDuration: string;
|
|
387
|
-
foldEasing: string;
|
|
388
|
-
todayColor: string;
|
|
389
|
-
todayWidth: string;
|
|
390
|
-
milestoneSize: string;
|
|
391
|
-
milestoneColor: string;
|
|
392
|
-
milestoneRadius: string;
|
|
393
|
-
toolbarGap: string;
|
|
394
|
-
maxHeight: string;
|
|
395
|
-
radius: string;
|
|
396
|
-
};
|
|
397
|
-
sankey: {
|
|
398
|
-
nodeWidth: string;
|
|
399
|
-
nodePadding: string;
|
|
400
|
-
nodeRadius: string;
|
|
401
|
-
linkStrength: string;
|
|
402
|
-
linkActiveStrength: string;
|
|
403
|
-
linkDimmedStrength: string;
|
|
404
|
-
linkBase: string;
|
|
405
|
-
linkEdgeColor: string;
|
|
406
|
-
linkEdgeWidth: string;
|
|
407
|
-
nodeDimmedOpacity: string;
|
|
408
|
-
labelGap: string;
|
|
409
|
-
labelColor: string;
|
|
410
|
-
labelFontSize: string;
|
|
411
|
-
labelFontWeight: string;
|
|
412
|
-
valueColor: string;
|
|
413
|
-
};
|
|
414
|
-
sunburst: {
|
|
415
|
-
hole: string;
|
|
416
|
-
gap: string;
|
|
417
|
-
gapColor: string;
|
|
418
|
-
cornerRadius: string;
|
|
419
|
-
levelFade: string;
|
|
420
|
-
fadeBase: string;
|
|
421
|
-
dimmedOpacity: string;
|
|
422
|
-
labelColor: string;
|
|
423
|
-
labelFontSize: string;
|
|
424
|
-
labelFontWeight: string;
|
|
425
|
-
labelShadow: string;
|
|
426
|
-
centerValueColor: string;
|
|
427
|
-
centerValueFontWeight: string;
|
|
428
|
-
centerLabelColor: string;
|
|
429
|
-
centerHoverBackground: string;
|
|
430
|
-
};
|
|
431
|
-
pie: {
|
|
432
|
-
segmentGap: string;
|
|
433
|
-
segmentRadius: string;
|
|
434
|
-
hoverOffset: string;
|
|
435
|
-
dimmedStrength: string;
|
|
436
|
-
dimmedBase: string;
|
|
437
|
-
labelColor: string;
|
|
438
|
-
labelFontSize: string;
|
|
439
|
-
labelFontWeight: string;
|
|
440
|
-
labelShadow: string;
|
|
441
|
-
nameColor: string;
|
|
442
|
-
nameFontSize: string;
|
|
443
|
-
nameFontWeight: string;
|
|
444
|
-
valueColor: string;
|
|
445
|
-
valueFontSize: string;
|
|
446
|
-
valueFontWeight: string;
|
|
447
|
-
totalLabelColor: string;
|
|
448
|
-
};
|
|
449
|
-
treemap: {
|
|
450
|
-
radius: string;
|
|
451
|
-
gap: string;
|
|
452
|
-
gapColor: string;
|
|
453
|
-
labelColor: string;
|
|
454
|
-
labelFontSize: string;
|
|
455
|
-
labelFontWeight: string;
|
|
456
|
-
valueFontSize: string;
|
|
457
|
-
valueFontWeight: string;
|
|
458
|
-
labelShadow: string;
|
|
459
|
-
labelPadding: string;
|
|
460
|
-
labelGap: string;
|
|
461
|
-
groupBackground: string;
|
|
462
|
-
groupLabelColor: string;
|
|
463
|
-
groupLabelFontSize: string;
|
|
464
|
-
groupLabelFontWeight: string;
|
|
465
|
-
dimmedStrength: string;
|
|
466
|
-
dimmedBase: string;
|
|
467
|
-
};
|
|
468
|
-
barList: {
|
|
469
|
-
gap: string;
|
|
470
|
-
columnGap: string;
|
|
471
|
-
fontSize: string;
|
|
472
|
-
rowHeight: string;
|
|
473
|
-
rowPaddingX: string;
|
|
474
|
-
rowRadius: string;
|
|
475
|
-
rowHoverBackground: string;
|
|
476
|
-
barBackground: string;
|
|
477
|
-
barRadius: string;
|
|
478
|
-
labelPaddingX: string;
|
|
479
|
-
labelColor: string;
|
|
480
|
-
valueColor: string;
|
|
481
|
-
valueFontWeight: string;
|
|
482
|
-
percentWidth: string;
|
|
483
|
-
percentColor: string;
|
|
484
|
-
emptyPaddingY: string;
|
|
485
|
-
emptyColor: string;
|
|
486
|
-
duration: string;
|
|
487
|
-
};
|
|
488
|
-
rankLine: {
|
|
489
|
-
strokeWidth: string;
|
|
490
|
-
markerRadius: string;
|
|
491
|
-
markerHoverRadius: string;
|
|
492
|
-
color1: string;
|
|
493
|
-
color2: string;
|
|
494
|
-
color3: string;
|
|
495
|
-
color4: string;
|
|
496
|
-
color5: string;
|
|
497
|
-
color6: string;
|
|
498
|
-
color7: string;
|
|
499
|
-
color8: string;
|
|
500
|
-
color9: string;
|
|
501
|
-
color10: string;
|
|
502
|
-
color11: string;
|
|
503
|
-
color12: string;
|
|
504
|
-
};
|
|
505
|
-
orgChart: {
|
|
506
|
-
gap: string;
|
|
507
|
-
canvasMinHeight: string;
|
|
508
|
-
canvasRadius: string;
|
|
509
|
-
canvasBackground: string;
|
|
510
|
-
canvasBorderColor: string;
|
|
511
|
-
canvasDotColor: string;
|
|
512
|
-
canvasDotGap: string;
|
|
513
|
-
busyOpacity: string;
|
|
514
|
-
stagePadding: string;
|
|
515
|
-
stageDuration: string;
|
|
516
|
-
forestGap: string;
|
|
517
|
-
nodePaddingX: string;
|
|
518
|
-
connectorHeight: string;
|
|
519
|
-
connectorColor: string;
|
|
520
|
-
connectorRadius: string;
|
|
521
|
-
pathColor: string;
|
|
522
|
-
pathWidth: string;
|
|
523
|
-
cardWidth: string;
|
|
524
|
-
cardPaddingX: string;
|
|
525
|
-
cardPaddingY: string;
|
|
526
|
-
cardGap: string;
|
|
527
|
-
cardRadius: string;
|
|
528
|
-
cardBackground: string;
|
|
529
|
-
cardBorderColor: string;
|
|
530
|
-
cardOpenBorderColor: string;
|
|
531
|
-
cardMatchBorderColor: string;
|
|
532
|
-
cardMatchBackground: string;
|
|
533
|
-
cardPathGlow: string;
|
|
534
|
-
iconSize: string;
|
|
535
|
-
iconFontSize: string;
|
|
536
|
-
iconRadius: string;
|
|
537
|
-
iconColor: string;
|
|
538
|
-
iconBackground: string;
|
|
539
|
-
avatarSize: string;
|
|
540
|
-
headingGap: string;
|
|
541
|
-
titleFontSize: string;
|
|
542
|
-
titleFontWeight: string;
|
|
543
|
-
titleColor: string;
|
|
544
|
-
subtitleFontSize: string;
|
|
545
|
-
subtitleColor: string;
|
|
546
|
-
pillsGap: string;
|
|
547
|
-
emptyPadding: string;
|
|
548
|
-
emptyFontSize: string;
|
|
549
|
-
emptyColor: string;
|
|
550
|
-
emptyBackground: string;
|
|
551
|
-
toolbarGap: string;
|
|
552
|
-
toolbarGroupGap: string;
|
|
553
|
-
searchWidth: string;
|
|
554
|
-
hintFontSize: string;
|
|
555
|
-
hintColor: string;
|
|
556
|
-
fullscreenInset: string;
|
|
557
|
-
fullscreenRadius: string;
|
|
558
|
-
fullscreenShadow: string;
|
|
559
|
-
fullscreenLayer: string;
|
|
560
|
-
backdrop: string;
|
|
561
|
-
backdropBlur: string;
|
|
562
|
-
floatingPadding: string;
|
|
563
|
-
floatingBackground: string;
|
|
564
|
-
floatingTitleFontSize: string;
|
|
565
|
-
floatingTitleFontWeight: string;
|
|
566
|
-
minimapInset: string;
|
|
567
|
-
minimapPadding: string;
|
|
568
|
-
minimapRadius: string;
|
|
569
|
-
minimapMapRadius: string;
|
|
570
|
-
minimapBackground: string;
|
|
571
|
-
minimapMapBackground: string;
|
|
572
|
-
minimapShadow: string;
|
|
573
|
-
minimapItemColor: string;
|
|
574
|
-
minimapItemRadius: string;
|
|
575
|
-
minimapPrimaryColor: string;
|
|
576
|
-
minimapAccentColor: string;
|
|
577
|
-
minimapMutedColor: string;
|
|
578
|
-
minimapViewportColor: string;
|
|
579
|
-
minimapViewportBackground: string;
|
|
580
|
-
};
|
|
581
|
-
segmentedBar: {
|
|
582
|
-
gap: string;
|
|
583
|
-
largeGap: string;
|
|
584
|
-
trackHeight: string;
|
|
585
|
-
largeTrackHeight: string;
|
|
586
|
-
trackGap: string;
|
|
587
|
-
trackBackground: string;
|
|
588
|
-
trackRadius: string;
|
|
589
|
-
largeTrackRadius: string;
|
|
590
|
-
segmentMinWidth: string;
|
|
591
|
-
largeSegmentMinWidth: string;
|
|
592
|
-
largeSegmentFontSize: string;
|
|
593
|
-
largeSegmentFontWeight: string;
|
|
594
|
-
legendGapX: string;
|
|
595
|
-
largeLegendGapX: string;
|
|
596
|
-
legendGapY: string;
|
|
597
|
-
legendFontSize: string;
|
|
598
|
-
largeLegendFontSize: string;
|
|
599
|
-
legendItemGap: string;
|
|
600
|
-
dotSize: string;
|
|
601
|
-
largeDotSize: string;
|
|
602
|
-
labelColor: string;
|
|
603
|
-
largeLabelColor: string;
|
|
604
|
-
monoFontFamily: string;
|
|
605
|
-
valueColor: string;
|
|
606
|
-
valueFontWeight: string;
|
|
607
|
-
percentColor: string;
|
|
608
|
-
asideColor: string;
|
|
609
|
-
duration: string;
|
|
610
|
-
primaryColor: string;
|
|
611
|
-
primaryText: string;
|
|
612
|
-
secondaryColor: string;
|
|
613
|
-
secondaryText: string;
|
|
614
|
-
successColor: string;
|
|
615
|
-
successText: string;
|
|
616
|
-
infoColor: string;
|
|
617
|
-
infoText: string;
|
|
618
|
-
warnColor: string;
|
|
619
|
-
warnText: string;
|
|
620
|
-
dangerColor: string;
|
|
621
|
-
dangerText: string;
|
|
622
|
-
neutralColor: string;
|
|
623
|
-
neutralText: string;
|
|
624
|
-
};
|
|
625
|
-
heatmap: {
|
|
626
|
-
maxHeight: string;
|
|
627
|
-
background: string;
|
|
628
|
-
scrollPaddingBottom: string;
|
|
629
|
-
scrollRadius: string;
|
|
630
|
-
rowGap: string;
|
|
631
|
-
rowPaddingY: string;
|
|
632
|
-
rowBorderColor: string;
|
|
633
|
-
headPaddingBottom: string;
|
|
634
|
-
leadWidth: string;
|
|
635
|
-
leadPaddingEnd: string;
|
|
636
|
-
leadFontSize: string;
|
|
637
|
-
leadColor: string;
|
|
638
|
-
valueWidth: string;
|
|
639
|
-
headFontSize: string;
|
|
640
|
-
headFontWeight: string;
|
|
641
|
-
headColor: string;
|
|
642
|
-
groupGap: string;
|
|
643
|
-
groupLabelGap: string;
|
|
644
|
-
groupLabelFontSize: string;
|
|
645
|
-
groupLabelFontWeight: string;
|
|
646
|
-
groupLabelColor: string;
|
|
647
|
-
columnsMinWidth: string;
|
|
648
|
-
columnGap: string;
|
|
649
|
-
columnFontSize: string;
|
|
650
|
-
columnColor: string;
|
|
651
|
-
cellSize: string;
|
|
652
|
-
cellRadius: string;
|
|
653
|
-
cellHoverScale: string;
|
|
654
|
-
cellDuration: string;
|
|
655
|
-
legendCellSize: string;
|
|
656
|
-
legendGapX: string;
|
|
657
|
-
legendGapY: string;
|
|
658
|
-
legendMarginTop: string;
|
|
659
|
-
legendItemGap: string;
|
|
660
|
-
legendFontSize: string;
|
|
661
|
-
legendColor: string;
|
|
662
|
-
successColor: string;
|
|
663
|
-
dangerColor: string;
|
|
664
|
-
warnColor: string;
|
|
665
|
-
infoColor: string;
|
|
666
|
-
infoTint: string;
|
|
667
|
-
pendingBorderColor: string;
|
|
668
|
-
neutralColor: string;
|
|
669
|
-
emptyColor: string;
|
|
670
|
-
scaleColor: string;
|
|
671
|
-
scaleBase: string;
|
|
672
|
-
};
|
|
673
|
-
empty: {
|
|
674
|
-
gap: string;
|
|
675
|
-
color: string;
|
|
676
|
-
fontSize: string;
|
|
677
|
-
iconSize: string;
|
|
678
|
-
iconFontSize: string;
|
|
679
|
-
iconColor: string;
|
|
680
|
-
iconBackground: string;
|
|
681
|
-
};
|
|
682
|
-
focusRing: {
|
|
683
|
-
color: string;
|
|
684
|
-
width: string;
|
|
685
|
-
offset: string;
|
|
686
|
-
};
|
|
687
|
-
motion: {
|
|
688
|
-
enterDuration: string;
|
|
689
|
-
updateDuration: string;
|
|
690
|
-
hoverDuration: string;
|
|
691
|
-
easing: string;
|
|
692
|
-
stagger: string;
|
|
693
|
-
};
|
|
694
|
-
}> | undefined>;
|
|
111
|
+
/** Design tokens of this chart (`chart`) — hole, gaps, corner radius, the fade of deeper rings, labels, centre, palette */
|
|
112
|
+
readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<TectraChartTokens> | undefined>;
|
|
113
|
+
/** Classes and styles of the parts: `root`, `plot`, `svg`, `segment`, `label`, `center`, `tooltip`, `empty`, `skeleton` */
|
|
695
114
|
readonly pt: import("@angular/core").InputSignal<Partial<Record<TxSunburstChartPart, import("@tectra-ng/core/config").TxPassThroughValue<TxSunburstChart>>> | undefined>;
|
|
115
|
+
/** How `pt` merges with the global pass-through */
|
|
696
116
|
readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
|
|
117
|
+
/** Removes the tectra styles and keeps the behaviour */
|
|
697
118
|
readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
|
|
119
|
+
/** A segment was clicked or chosen with Enter: `path` (names from the top), `value`, `item` */
|
|
698
120
|
readonly segmentClick: import("@angular/core").OutputEmitterRef<TxSunburstEvent>;
|
|
121
|
+
/** The chart zoomed in or out: the names of the branch now in the centre (`[]` at the top) */
|
|
699
122
|
readonly focusChange: import("@angular/core").OutputEmitterRef<string[]>;
|
|
700
123
|
readonly tooltipTemplate: import("@angular/core").Signal<TxChartTooltipTemplate | undefined>;
|
|
701
124
|
private readonly frame;
|