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