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