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