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