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