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