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