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