@nanahoshi/mona-ui 0.27.0 → 0.27.2
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/docs/api/auto-complete.md +67 -0
- package/docs/api/avatar.md +31 -0
- package/docs/api/breadcrumb.md +74 -0
- package/docs/api/button-group.md +71 -0
- package/docs/api/button.md +84 -0
- package/docs/api/calendar.md +123 -0
- package/docs/api/card.md +97 -0
- package/docs/api/chart.md +4380 -0
- package/docs/api/check-box.md +70 -0
- package/docs/api/chip.md +55 -0
- package/docs/api/circular-progress-bar.md +71 -0
- package/docs/api/collapsible.md +71 -0
- package/docs/api/color-gradient.md +54 -0
- package/docs/api/color-palette.md +52 -0
- package/docs/api/color-picker.md +89 -0
- package/docs/api/combo-box.md +69 -0
- package/docs/api/command.md +282 -0
- package/docs/api/common.md +599 -0
- package/docs/api/contextmenu.md +239 -0
- package/docs/api/date-input.md +119 -0
- package/docs/api/date-picker.md +67 -0
- package/docs/api/datetime-picker.md +72 -0
- package/docs/api/dialog.md +291 -0
- package/docs/api/dropdown-button.md +248 -0
- package/docs/api/dropdown-list.md +72 -0
- package/docs/api/dropdowns.md +172 -0
- package/docs/api/editor.md +117 -0
- package/docs/api/expansion-panel.md +85 -0
- package/docs/api/fieldset.md +33 -0
- package/docs/api/filter.md +116 -0
- package/docs/api/grid.md +1445 -0
- package/docs/api/i18n.md +1699 -0
- package/docs/api/label.md +58 -0
- package/docs/api/list-box.md +301 -0
- package/docs/api/list-view.md +294 -0
- package/docs/api/list.md +119 -0
- package/docs/api/locales.md +134 -0
- package/docs/api/menubar.md +275 -0
- package/docs/api/multi-select.md +92 -0
- package/docs/api/notification.md +164 -0
- package/docs/api/numeric-text-box.md +130 -0
- package/docs/api/otp-input.md +100 -0
- package/docs/api/pager.md +371 -0
- package/docs/api/placeholder.md +18 -0
- package/docs/api/popover.md +170 -0
- package/docs/api/popup-menu.md +328 -0
- package/docs/api/popup.md +299 -0
- package/docs/api/progress-bar.md +79 -0
- package/docs/api/query.md +367 -0
- package/docs/api/radio-button.md +113 -0
- package/docs/api/rating.md +187 -0
- package/docs/api/scroll-view.md +93 -0
- package/docs/api/segmented.md +114 -0
- package/docs/api/sheet.md +65 -0
- package/docs/api/sidebar.md +583 -0
- package/docs/api/skeleton.md +26 -0
- package/docs/api/slider.md +173 -0
- package/docs/api/spinner.md +132 -0
- package/docs/api/split-button.md +261 -0
- package/docs/api/splitter.md +57 -0
- package/docs/api/stepper.md +148 -0
- package/docs/api/switch.md +78 -0
- package/docs/api/tabs.md +139 -0
- package/docs/api/text-area.md +20 -0
- package/docs/api/text-box.md +106 -0
- package/docs/api/theme.md +627 -0
- package/docs/api/time-picker.md +69 -0
- package/docs/api/time-selector.md +54 -0
- package/docs/api/tooltip.md +112 -0
- package/docs/api/tree-view.md +631 -0
- package/docs/api/window.md +245 -0
- package/docs/auto-complete.md +28 -329
- package/docs/avatar.md +4 -24
- package/docs/breadcrumb.md +10 -65
- package/docs/button-group.md +7 -60
- package/docs/button.md +8 -67
- package/docs/calendar.md +16 -121
- package/docs/card.md +16 -79
- package/docs/chart-bar.md +16 -234
- package/docs/chart-financial.md +10 -121
- package/docs/chart-funnel.md +13 -176
- package/docs/chart-heatmap.md +15 -131
- package/docs/chart-line-area.md +12 -137
- package/docs/chart-pie.md +17 -221
- package/docs/chart-radar.md +13 -129
- package/docs/chart-radial.md +13 -211
- package/docs/chart-scatter.md +6 -74
- package/docs/chart-treemap.md +14 -196
- package/docs/chart.md +154 -1892
- package/docs/checkbox.md +5 -61
- package/docs/chip.md +7 -42
- package/docs/circular-progress-bar.md +9 -61
- package/docs/collapsible.md +5 -87
- package/docs/color-gradient.md +8 -81
- package/docs/color-palette.md +7 -69
- package/docs/color-picker.md +9 -105
- package/docs/combo-box.md +28 -331
- package/docs/command.md +25 -236
- package/docs/contextmenu.md +15 -140
- package/docs/date-picker.md +7 -110
- package/docs/datetime-picker.md +7 -129
- package/docs/decimal-textbox.md +6 -69
- package/docs/dialog.md +23 -263
- package/docs/dropdown-button.md +15 -146
- package/docs/dropdown-list.md +29 -332
- package/docs/editor.md +8 -164
- package/docs/expansion-panel.md +7 -69
- package/docs/fieldset.md +5 -24
- package/docs/grid-columns.md +12 -92
- package/docs/grid-editing.md +29 -291
- package/docs/grid-grouping.md +11 -50
- package/docs/grid-rows.md +10 -74
- package/docs/grid-selection.md +7 -36
- package/docs/grid-server.md +8 -293
- package/docs/grid-sorting-filtering.md +10 -333
- package/docs/grid-state-export.md +17 -228
- package/docs/grid.md +23 -216
- package/docs/input.md +7 -19
- package/docs/label.md +8 -39
- package/docs/list-box.md +21 -253
- package/docs/list-view.md +25 -232
- package/docs/menubar.md +21 -167
- package/docs/multi-select.md +31 -350
- package/docs/notification.md +17 -116
- package/docs/numeric-textbox.md +9 -78
- package/docs/otp-input.md +9 -95
- package/docs/pager.md +19 -239
- package/docs/placeholder.md +5 -18
- package/docs/popover.md +13 -123
- package/docs/popup-menu.md +22 -243
- package/docs/popup.md +24 -248
- package/docs/progress-bar.md +10 -75
- package/docs/radio-button.md +8 -96
- package/docs/range-slider.md +9 -82
- package/docs/rating.md +15 -163
- package/docs/scroll-view.md +9 -86
- package/docs/segmented.md +8 -90
- package/docs/sheet.md +10 -74
- package/docs/sidebar-menus.md +413 -0
- package/docs/sidebar-state.md +401 -0
- package/docs/sidebar.md +32 -876
- package/docs/skeleton.md +5 -26
- package/docs/slider.md +9 -97
- package/docs/spinner.md +15 -95
- package/docs/split-button.md +21 -166
- package/docs/splitter.md +9 -56
- package/docs/stepper.md +13 -127
- package/docs/switch.md +8 -58
- package/docs/tabs.md +13 -111
- package/docs/textarea.md +4 -13
- package/docs/textbox.md +10 -77
- package/docs/time-picker.md +7 -112
- package/docs/tooltip-directive.md +12 -96
- package/docs/tooltip.md +12 -96
- package/docs/tree-view.md +42 -495
- package/docs/window.md +19 -230
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +13 -1
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +9 -0
- package/llms.txt +76 -0
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -0
- package/types/nanahoshi-mona-ui-common.d.ts +6 -0
- package/types/nanahoshi-mona-ui-date-input.d.ts +18 -1
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +6 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
|
@@ -0,0 +1,4380 @@
|
|
|
1
|
+
# `@nanahoshi/mona-ui/chart`
|
|
2
|
+
|
|
3
|
+
Everything `@nanahoshi/mona-ui/chart` exports.
|
|
4
|
+
|
|
5
|
+
**Guides:** [Chart Overview](../chart.md), [Line & Area](../chart-line-area.md), [Bar & Waterfall](../chart-bar.md), [Scatter & Bubble](../chart-scatter.md), [Financial](../chart-financial.md), [Heatmap](../chart-heatmap.md), [Pie & Donut](../chart-pie.md), [Funnel](../chart-funnel.md), [Treemap](../chart-treemap.md), [Radar & Polar](../chart-radar.md), [Radial](../chart-radial.md)
|
|
6
|
+
|
|
7
|
+
## `ChartComponent`
|
|
8
|
+
|
|
9
|
+
Component.
|
|
10
|
+
|
|
11
|
+
Root visualization container coordinating coordinate layouts, canvas rendering, theme styles, and interactions.
|
|
12
|
+
|
|
13
|
+
**Selector:** `mona-chart`
|
|
14
|
+
|
|
15
|
+
### Inputs
|
|
16
|
+
|
|
17
|
+
| Name | Type | Default | Description |
|
|
18
|
+
| --- | --- | --- | --- |
|
|
19
|
+
| `animation` | `ChartAnimationInput` | `true` | Animation settings for initial render and subsequent data or visibility transitions. |
|
|
20
|
+
| `aria-description` | `string` | `""` | Detailed accessible description explaining the chart's purpose and trends. |
|
|
21
|
+
| `aria-label` | `string` | `""` | Accessible name for the chart container. |
|
|
22
|
+
| `class` | `string` | `""` | Additional CSS classes applied to chart root container. |
|
|
23
|
+
| `data` | `readonly unknown[]` | `[]` | Primary dataset shared across all child series. |
|
|
24
|
+
| `dataTable` | `boolean` | `false` | Renders a visually hidden table of the chart's data (its first 100 rows) for screen readers. |
|
|
25
|
+
| `defaultViewport` | `ChartViewportState \| undefined` | `undefined` | Initial default viewport window state for chart axes. |
|
|
26
|
+
| `downsampling` | `ChartDownsamplingInput` | `true` | High-density downsampling policy for eligible dense series. |
|
|
27
|
+
| `landmark` | `boolean` | `false` | Makes the chart a `region` landmark instead of an `application`. A landmark keeps screen readers in browse mode, so they read the arrow keys themselves; give each landmark chart a unique name. |
|
|
28
|
+
| `navigation` | `ChartNavigationInput` | `false` | Navigation, panning, and zooming options for the chart. |
|
|
29
|
+
| `renderer` | `ChartRendererMode` | `"canvas"` | The rendering engine used to draw the chart surface ("canvas" \| "svg"). |
|
|
30
|
+
| `subtitle` | `string` | `""` | Subtitle text rendered beneath the title. |
|
|
31
|
+
| `synchronization` | `ChartSynchronizationInput` | `false` | Cross-chart synchronization configuration. Accepts `false`, a group name shorthand, or full options. |
|
|
32
|
+
| `title` | `string` | `""` | Title text rendered above the plot area. |
|
|
33
|
+
| `titleAlign` | `ChartHeaderAlignment` | `"start"` | Horizontal alignment of the title and subtitle ('center', 'left', or 'right'). |
|
|
34
|
+
| `viewport` | `ChartViewportState \| undefined` | `undefined` | Active viewport window state for chart axes. Bind `[(viewport)]` for two-way binding. While it is defined the parent owns the viewport: a change applies once the parent writes it back. |
|
|
35
|
+
| `xField` | `ChartField` | `""` | Property key or accessor extracting the X-axis coordinate for each data item. |
|
|
36
|
+
|
|
37
|
+
### Outputs
|
|
38
|
+
|
|
39
|
+
| Name | Type | Description |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| `pointClick` | `ChartPointEvent<unknown>` | Emits when a data point, vertex, or bar in the chart is clicked. |
|
|
42
|
+
| `pointFocusChange` | `ChartPointFocusEvent<unknown>` | Emits when the keyboard focus moves to a new data point, spoke, or series. |
|
|
43
|
+
| `seriesVisibilityChange` | `ChartSeriesVisibilityEvent` | Emits when a series visibility state is toggled via legend interaction. |
|
|
44
|
+
| `viewportChange` | `ChartViewportState` | Emits the new viewport state when it changes via pan, zoom, fit, reset, or keyboard navigation. |
|
|
45
|
+
| `viewportChangeDetails` | `ChartViewportChangeEvent` | Emits with each viewport change, along with the previous state, source, gesture phase and changed axes. |
|
|
46
|
+
|
|
47
|
+
### Methods
|
|
48
|
+
|
|
49
|
+
| Signature | Description |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| `downloadChart(options: ChartDownloadOptions): Promise<ChartExportResult>` | Exports and triggers a browser file download of the chart in PNG, SVG, or PDF format. |
|
|
52
|
+
| `exportChart(options: ChartExportOptions): Promise<ChartExportResult>` | Exports the chart as a binary Blob in PNG, SVG, or PDF format. |
|
|
53
|
+
| `fit(window: ChartViewportWindow \| readonly ChartViewportWindow[]): void` | **Deprecated.** Use 'setViewportWindow' instead. Fits the viewport window to a specified continuous range or category indices. |
|
|
54
|
+
| `fitViewport(target?: ChartNavigationAxisTarget): void` | Fits target axes (or all axes) to full canonical base domain. |
|
|
55
|
+
| `getViewport(): ChartViewportState \| null` | Returns the current active viewport window state, or null if chart is not Cartesian XY. |
|
|
56
|
+
| `invalidate(): void` | Schedules a new layout and paint, for changes the chart can't see, such as a mutated data array. |
|
|
57
|
+
| `pan(delta: { x: number; y: number }, target?: ChartNavigationAxisTarget): void` | Pans the viewport by pixel delta vector { x, y }. |
|
|
58
|
+
| `resetViewport(target?: ChartNavigationAxisTarget): void` | Resets the viewport window back to the default viewport (or base domain) for target axes. |
|
|
59
|
+
| `setViewport(viewport: ChartViewportState): void` | Sets the active viewport window state (full replacement). |
|
|
60
|
+
| `setViewportWindow(window: ChartViewportWindow \| readonly ChartViewportWindow[]): void` | Sets the viewport window for specific axis/axes (partial mutation). |
|
|
61
|
+
| `toggleSeriesVisibility(seriesId: string): void` | Toggles the visibility of a series. |
|
|
62
|
+
| `zoom(factor: number, anchor?: ChartPoint, target?: ChartNavigationAxisTarget): void` | Zooms the viewport by a scale factor around an optional pixel anchor point. |
|
|
63
|
+
|
|
64
|
+
## `TreemapSeriesComponent`
|
|
65
|
+
|
|
66
|
+
Component.
|
|
67
|
+
|
|
68
|
+
Renders hierarchical treemap visualizations using nested squarified, binary, dice, or slice-dice rectangles.
|
|
69
|
+
|
|
70
|
+
**Selector:** `mona-treemap-series`
|
|
71
|
+
|
|
72
|
+
### Inputs
|
|
73
|
+
|
|
74
|
+
| Name | Type | Default | Description |
|
|
75
|
+
| --- | --- | --- | --- |
|
|
76
|
+
| `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to leaf node rectangles. |
|
|
77
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for node labels. |
|
|
78
|
+
| `childrenField` | `ChartField` | `"children"` | Property key or accessor function extracting child nodes from a hierarchical data object. |
|
|
79
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
80
|
+
| `color` | `string` | `""` | Fallback base fill color applied to series or root branches. |
|
|
81
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit fill color for a node. |
|
|
82
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors assigned to top-level branches and inherited down subtrees. |
|
|
83
|
+
| `data` | `readonly unknown[] \| unknown \| undefined` | `undefined` | Hierarchical root object or array of root nodes overriding chart-level data. |
|
|
84
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric value for a leaf node. |
|
|
85
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of leaf node fills (0 to 1). |
|
|
86
|
+
| `hiddenNodeIds` (two-way) | `readonly string[]` | `[]` | The hidden top-level node IDs. Bind `[(hiddenNodeIds)]` for two-way binding; legend toggles write to it. With `keyField`, build an ID with `chartItemKeyId(key)`; otherwise read IDs from `nodeVisibilityChange`. |
|
|
87
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across data updates. |
|
|
88
|
+
| `labelField` | `ChartField` | `"name"` | Property key or accessor extracting the display label for a node. |
|
|
89
|
+
| `labelFormatter` | `ChartValueFormatter \| undefined` | `undefined` | **Deprecated.** Use `categoryFormatter`, as on the other series. Formatter callback for node display labels. |
|
|
90
|
+
| `maxDepth` | `number \| undefined` | `undefined` | Maximum tree depth to layout and render. Normalized: finite \<= 0 becomes 1, finite > 0 is floored, undefined/NaN/Infinity is unlimited. |
|
|
91
|
+
| `maxLabels` | `number` | `100` | Maximum number of DOM label candidates to render (prioritizing parent headers and largest leaf areas). |
|
|
92
|
+
| `minLabelHeight` | `number \| undefined` | `undefined` | Minimum pixel height required for a node to display a DOM label (defaults to 16 when showValues is false, 24 when true). |
|
|
93
|
+
| `minLabelWidth` | `number \| undefined` | `undefined` | Minimum pixel width required for a node to display a DOM label (defaults to 30). |
|
|
94
|
+
| `name` | `string` | `"Treemap"` | Series name used in tooltips and accessibility announcements. |
|
|
95
|
+
| `paddingInner` | `number` | `2` | Inner padding in pixels between sibling treemap rectangles. |
|
|
96
|
+
| `paddingOuter` | `number` | `4` | Outer padding in pixels around parent boundaries. |
|
|
97
|
+
| `parentFillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to non-leaf parent group background rectangles. |
|
|
98
|
+
| `parentHeaderHeight` | `number \| undefined` | `undefined` | Header height in pixels reserved for parent node header labels. |
|
|
99
|
+
| `showLabels` | `boolean` | `true` | Whether to display DOM labels for leaf and terminal nodes. |
|
|
100
|
+
| `showParentLabels` | `boolean` | `true` | Whether to reserve header space and display labels for parent grouping nodes. |
|
|
101
|
+
| `showValues` | `boolean` | `false` | Whether to display numeric values in default leaf labels. |
|
|
102
|
+
| `sort` | `ChartTreemapSort` | `"descending"` | Sort order for sibling nodes: "descending", "ascending", or "none". |
|
|
103
|
+
| `strokeColor` | `string` | `""` | Color of node boundary stroke borders. |
|
|
104
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for node boundary borders. |
|
|
105
|
+
| `tile` | `ChartTreemapTile` | `"squarify"` | D3 treemap tiling algorithm: "squarify", "binary", "dice", "slice", or "slice-dice". |
|
|
106
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for numeric values in labels and tooltips. |
|
|
107
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
108
|
+
|
|
109
|
+
### Outputs
|
|
110
|
+
|
|
111
|
+
| Name | Type | Description |
|
|
112
|
+
| --- | --- | --- |
|
|
113
|
+
| `hiddenNodeIdsChange` | `readonly string[]` | Emitted when `hiddenNodeIds` changes. |
|
|
114
|
+
| `nodeVisibilityChange` | `ChartTreemapNodeVisibilityEvent<unknown>` | Emits when an individual node or branch's visibility is toggled via the legend. |
|
|
115
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
116
|
+
|
|
117
|
+
### Methods
|
|
118
|
+
|
|
119
|
+
| Signature | Description |
|
|
120
|
+
| --- | --- |
|
|
121
|
+
| `toggleNode(nodeId: string): boolean` | Shows or hides the node with this id, and returns whether it's now visible. |
|
|
122
|
+
|
|
123
|
+
## `RadialBarSeriesComponent`
|
|
124
|
+
|
|
125
|
+
Component.
|
|
126
|
+
|
|
127
|
+
Renders concentric circular progress rings with customizable bar gap, thickness, rounded corners, and background
|
|
128
|
+
tracks.
|
|
129
|
+
|
|
130
|
+
**Selector:** `mona-radial-bar-series`
|
|
131
|
+
|
|
132
|
+
### Inputs
|
|
133
|
+
|
|
134
|
+
| Name | Type | Default | Description |
|
|
135
|
+
| --- | --- | --- | --- |
|
|
136
|
+
| `barGap` | `number` | `4` | Spacing in pixels between concentric radial rings. |
|
|
137
|
+
| `barThickness` | `number \| undefined` | `undefined` | Explicit radial thickness in pixels for each bar ring. |
|
|
138
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each radial ring. |
|
|
139
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for ring category labels. |
|
|
140
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
141
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each radial ring. |
|
|
142
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive radial rings. |
|
|
143
|
+
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to arc endpoints. |
|
|
144
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
145
|
+
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
146
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric value for each radial ring. |
|
|
147
|
+
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to radial rings ("solid" or radial "gradient"). |
|
|
148
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of bar fills (between 0 and 1). |
|
|
149
|
+
| `hiddenItemIds` (two-way) | `readonly string[]` | `[]` | The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`. |
|
|
150
|
+
| `innerRadiusRatio` | `number` | `0.2` | Inner radius ratio relative to available plot bounds (0 to 1). |
|
|
151
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
152
|
+
| `max` | `number \| undefined` | `undefined` | Explicit maximum value for the radial bar progress scale. |
|
|
153
|
+
| `min` | `number \| undefined` | `undefined` | Explicit minimum value for the radial bar progress scale. |
|
|
154
|
+
| `name` | `string` | `"Radial Bar"` | Series name used in tooltips and accessibility announcements. |
|
|
155
|
+
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
156
|
+
| `showTrack` | `boolean` | `true` | Whether to display background circular track rings. |
|
|
157
|
+
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
158
|
+
| `strokeColor` | `string` | `""` | Color of bar stroke boundary. |
|
|
159
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for bar boundaries. |
|
|
160
|
+
| `trackColor` | `string` | `""` | Color of background track rings. |
|
|
161
|
+
| `trackOpacity` | `number \| undefined` | `undefined` | Opacity of background track rings. |
|
|
162
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for bar numeric values. |
|
|
163
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
164
|
+
|
|
165
|
+
### Outputs
|
|
166
|
+
|
|
167
|
+
| Name | Type | Description |
|
|
168
|
+
| --- | --- | --- |
|
|
169
|
+
| `datumVisibilityChange` | `ChartRadialDatumVisibilityEvent` | Emits when an individual ring's visibility is toggled via the legend. |
|
|
170
|
+
| `hiddenItemIdsChange` | `readonly string[]` | Emitted when `hiddenItemIds` changes. |
|
|
171
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
172
|
+
|
|
173
|
+
### Methods
|
|
174
|
+
|
|
175
|
+
| Signature | Description |
|
|
176
|
+
| --- | --- |
|
|
177
|
+
| `toggleDatum(itemId: string): boolean` | Shows or hides the bar with this id, and returns whether it's now visible. |
|
|
178
|
+
|
|
179
|
+
## `FunnelSeriesComponent`
|
|
180
|
+
|
|
181
|
+
Component.
|
|
182
|
+
|
|
183
|
+
Renders conversion pipeline and sales funnel visualizations using connected trapezoidal stages. Supports vertical and
|
|
184
|
+
horizontal layouts, custom stage colors, inscribed DOM labels, widening stages (>100% conversion), and dynamic stage
|
|
185
|
+
visibility toggling.
|
|
186
|
+
|
|
187
|
+
**Selector:** `mona-funnel-series`
|
|
188
|
+
|
|
189
|
+
### Inputs
|
|
190
|
+
|
|
191
|
+
| Name | Type | Default | Description |
|
|
192
|
+
| --- | --- | --- | --- |
|
|
193
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting stage names. |
|
|
194
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Optional custom formatter for category names. |
|
|
195
|
+
| `class` | `string` | `""` | CSS class name applied to the hidden series host element. |
|
|
196
|
+
| `color` | `string` | `""` | Uniform fill color for all funnel stages. |
|
|
197
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Property key extracting discrete colors per datum. |
|
|
198
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Palette array of colors cycled across stages. |
|
|
199
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Array of stage data items overriding chart-level root data. |
|
|
200
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting numeric values. |
|
|
201
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to stage trapezoids (0 to 1). |
|
|
202
|
+
| `gap` | `number` | `2` | Spacing in pixels between consecutive funnel stages. |
|
|
203
|
+
| `hiddenStageIds` (two-way) | `readonly string[]` | `[]` | The hidden stage IDs. Bind `[(hiddenStageIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or with `chartItemIndexId(index)`. |
|
|
204
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Unique identifier key field for datums. |
|
|
205
|
+
| `labelContent` | `ChartFunnelLabelContent` | `"category-value"` | Content format for automatic stage labels. |
|
|
206
|
+
| `maxLabels` | `number` | `100` | Maximum number of visible stage labels rendered simultaneously. |
|
|
207
|
+
| `minLabelHeight` | `number \| undefined` | `undefined` | Minimum stage height required in vertical orientation to render label. |
|
|
208
|
+
| `minLabelWidth` | `number \| undefined` | `undefined` | Minimum stage width required in horizontal orientation to render label. |
|
|
209
|
+
| `name` | `string` | `"Funnel"` | Descriptive series name displayed in chart legend and tooltips. |
|
|
210
|
+
| `orientation` | `ChartFunnelOrientation` | `"vertical"` | Layout orientation of the funnel ('vertical' or 'horizontal'). |
|
|
211
|
+
| `showLabels` | `boolean` | `true` | Controls whether built-in stage text labels are rendered. |
|
|
212
|
+
| `strokeColor` | `string` | `""` | Stroke outline color for stage trapezoids. |
|
|
213
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for stage trapezoids. |
|
|
214
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values. |
|
|
215
|
+
| `visible` (two-way) | `boolean` | `true` | Controls overall visibility of the funnel series. |
|
|
216
|
+
| `widthRatio` | `number` | `0.9` | Maximum width ratio (0 to 1) for the funnel's widest stage relative to plot area. |
|
|
217
|
+
|
|
218
|
+
### Outputs
|
|
219
|
+
|
|
220
|
+
| Name | Type | Description |
|
|
221
|
+
| --- | --- | --- |
|
|
222
|
+
| `hiddenStageIdsChange` | `readonly string[]` | Emitted when `hiddenStageIds` changes. |
|
|
223
|
+
| `stageVisibilityChange` | `ChartFunnelStageVisibilityEvent<unknown>` | Emits when a stage's visibility is toggled via legend or API. |
|
|
224
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
225
|
+
|
|
226
|
+
### Methods
|
|
227
|
+
|
|
228
|
+
| Signature | Description |
|
|
229
|
+
| --- | --- |
|
|
230
|
+
| `isDatumVisible(stageId: string): boolean` | Whether the stage with this id is visible. |
|
|
231
|
+
| `resetVisibility(): void` | Shows every stage again. |
|
|
232
|
+
| `setDatumVisibility(stageId: string, visible: boolean): void` | Shows or hides the stage with this id. |
|
|
233
|
+
| `toggleDatumVisibility(stageId: string): boolean` | Shows or hides the stage with this id, and returns whether it's now visible. |
|
|
234
|
+
|
|
235
|
+
## `DonutSeriesComponent`
|
|
236
|
+
|
|
237
|
+
Component.
|
|
238
|
+
|
|
239
|
+
Renders a full or partial donut. Use `ng-template[monaChartCenterTemplate]` for the center.
|
|
240
|
+
|
|
241
|
+
**Selector:** `mona-donut-series`
|
|
242
|
+
|
|
243
|
+
### Inputs
|
|
244
|
+
|
|
245
|
+
| Name | Type | Default | Description |
|
|
246
|
+
| --- | --- | --- | --- |
|
|
247
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each slice. |
|
|
248
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for slice category labels. |
|
|
249
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
250
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each slice. |
|
|
251
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive slices. |
|
|
252
|
+
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to slice arc boundaries. |
|
|
253
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
254
|
+
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
255
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric slice value. |
|
|
256
|
+
| `fillMode` | `ChartPolarFillMode` | `"solid"` | Fill style applied to slices ("solid" or radial "gradient" from center to arc). |
|
|
257
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of slice fills (between 0 and 1). |
|
|
258
|
+
| `hiddenIndices` (two-way) | `readonly number[]` | `[]` | The hidden data indices. Bind `[(hiddenIndices)]` for two-way binding; legend toggles write to it. |
|
|
259
|
+
| `innerRadiusRatio` | `number` | `0.6` | Ratio of the inner hole radius relative to the outer radius (0 to 0.95). |
|
|
260
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
261
|
+
| `labelContent` | `ChartPolarLabelContent` | `"percentage"` | Content to display in default slice data labels. |
|
|
262
|
+
| `labelPosition` | `ChartPolarLabelPosition` | `"outside"` | Placement position for slice data labels ("outside" with leader lines or "inside" slice bounds). |
|
|
263
|
+
| `minLabelAngle` | `number` | `12` | Minimum slice arc angle in degrees required to render an inside data label. |
|
|
264
|
+
| `name` | `string` | `"Donut"` | Series name used in tooltips and accessibility announcements. |
|
|
265
|
+
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
266
|
+
| `padAngle` | `number` | `0` | Angular padding in degrees between adjacent slices. |
|
|
267
|
+
| `showLabels` | `boolean` | `false` | Whether to display slice labels, inside or outside as `labelPosition` sets. |
|
|
268
|
+
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
269
|
+
| `strokeColor` | `string` | `""` | Color of slice separator strokes. |
|
|
270
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for slice separators. |
|
|
271
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for slice numeric values. |
|
|
272
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
273
|
+
|
|
274
|
+
### Outputs
|
|
275
|
+
|
|
276
|
+
| Name | Type | Description |
|
|
277
|
+
| --- | --- | --- |
|
|
278
|
+
| `hiddenIndicesChange` | `readonly number[]` | Emitted when `hiddenIndices` changes. |
|
|
279
|
+
| `sliceVisibilityChange` | `ChartSliceVisibilityEvent` | Emits when an individual slice's visibility is toggled via the legend. |
|
|
280
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
281
|
+
|
|
282
|
+
### Methods
|
|
283
|
+
|
|
284
|
+
| Signature | Description |
|
|
285
|
+
| --- | --- |
|
|
286
|
+
| `toggleSlice(dataIndex: number): boolean` | Shows or hides the slice at `dataIndex`, and returns whether it's now visible. |
|
|
287
|
+
|
|
288
|
+
## `OhlcSeriesComponent`
|
|
289
|
+
|
|
290
|
+
Component.
|
|
291
|
+
|
|
292
|
+
Renders traditional financial OHLC (Open-High-Low-Close) bar series with vertical high/low price spans, left-facing
|
|
293
|
+
open ticks, right-facing close ticks, and directional color coding.
|
|
294
|
+
|
|
295
|
+
**Selector:** `mona-ohlc-series`
|
|
296
|
+
|
|
297
|
+
### Inputs
|
|
298
|
+
|
|
299
|
+
| Name | Type | Default | Description |
|
|
300
|
+
| --- | --- | --- | --- |
|
|
301
|
+
| `bodyWidth` | `number \| undefined` | `undefined` | Explicit total width in pixels for open/close tick arms. |
|
|
302
|
+
| `bodyWidthRatio` | `number` | `0.7` | Ratio of available category slot or mark spacing allocated to open/close tick arms (0.0 to 1.0). |
|
|
303
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
304
|
+
| `closeField` (required) | `ChartField` | — | Property key or accessor extracting the closing price for each data item. |
|
|
305
|
+
| `color` | `string \| undefined` | `undefined` | Optional color override applied uniformly across all OHLC ticks and stems. |
|
|
306
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
307
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
308
|
+
| `fallingColor` | `string` | `""` | Color for falling / bearish bars (close \< open). |
|
|
309
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill and stroke opacity ratio (0 to 1). |
|
|
310
|
+
| `highField` (required) | `ChartField` | — | Property key or accessor extracting the highest price for each data item. |
|
|
311
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
312
|
+
| `lowField` (required) | `ChartField` | — | Property key or accessor extracting the lowest price for each data item. |
|
|
313
|
+
| `maxBodyWidth` | `number` | `32` | Maximum total tick width in pixels. |
|
|
314
|
+
| `name` | `string` | `"OHLC"` | Name of the series displayed in legends, tooltips, and live region announcements. |
|
|
315
|
+
| `neutralColor` | `string` | `""` | Color for neutral / flat bars (close === open). |
|
|
316
|
+
| `opacity` | `number \| undefined` | `undefined` | **Deprecated.** Use `fillOpacity`, as on the other series. Overall opacity multiplier applied to OHLC stems and tick arms. |
|
|
317
|
+
| `openField` (required) | `ChartField` | — | Property key or accessor extracting the opening price for each data item. |
|
|
318
|
+
| `risingColor` | `string` | `""` | Color for rising / bullish bars (close > open). |
|
|
319
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
320
|
+
| `tickLength` | `number \| undefined` | `undefined` | Length in pixels for horizontal open and close tick arms. |
|
|
321
|
+
| `tickWidth` | `number \| undefined` | `undefined` | Backward-compatible alias for tickLength. |
|
|
322
|
+
| `valueFormatter` | `ChartAxisFormatter \| undefined` | `undefined` | Formatter callback transforming financial numeric values into custom display strings. |
|
|
323
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
324
|
+
| `wickColor` | `string` | `""` | Explicit stroke color for the central vertical stem. |
|
|
325
|
+
| `wickWidth` | `number \| undefined` | `undefined` | Pixel stroke width for OHLC stems and tick arms. When unset, the series reads `--mona-chart-financial-wick-width`, or uses `1`. |
|
|
326
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
327
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X coordinate, overriding the root chart X field. |
|
|
328
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
329
|
+
|
|
330
|
+
### Outputs
|
|
331
|
+
|
|
332
|
+
| Name | Type | Description |
|
|
333
|
+
| --- | --- | --- |
|
|
334
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
335
|
+
|
|
336
|
+
## `CandlestickSeriesComponent`
|
|
337
|
+
|
|
338
|
+
Component.
|
|
339
|
+
|
|
340
|
+
Renders financial Japanese candlestick series with central high/low wicks, rectangular open/close bodies,
|
|
341
|
+
rising/falling/neutral color coding, and solid or hollow rising bodies.
|
|
342
|
+
|
|
343
|
+
**Selector:** `mona-candlestick-series`
|
|
344
|
+
|
|
345
|
+
### Inputs
|
|
346
|
+
|
|
347
|
+
| Name | Type | Default | Description |
|
|
348
|
+
| --- | --- | --- | --- |
|
|
349
|
+
| `bodyWidth` | `number \| undefined` | `undefined` | Explicit body width in pixels for candlestick candles. |
|
|
350
|
+
| `bodyWidthRatio` | `number` | `0.7` | Ratio of available category slot or mark spacing allocated to candle bodies (0.0 to 1.0). |
|
|
351
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
352
|
+
| `closeField` (required) | `ChartField` | — | Property key or accessor extracting the closing price for each data item. |
|
|
353
|
+
| `color` | `string \| undefined` | `undefined` | Optional color override applied uniformly across all candle bodies. |
|
|
354
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
355
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
356
|
+
| `fallingColor` | `string` | `""` | Color for falling / bearish candles (close \< open). |
|
|
357
|
+
| `fillMode` | `ChartFinancialFillMode` | `"hollow"` | Visual fill mode for candle bodies: 'filled' (solid fill) or 'hollow' (rising hollow, falling filled). |
|
|
358
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill and stroke opacity ratio (0 to 1). |
|
|
359
|
+
| `highField` (required) | `ChartField` | — | Property key or accessor extracting the highest price for each data item. |
|
|
360
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
361
|
+
| `lowField` (required) | `ChartField` | — | Property key or accessor extracting the lowest price for each data item. |
|
|
362
|
+
| `maxBodyWidth` | `number` | `32` | Maximum candle body width in pixels. |
|
|
363
|
+
| `name` | `string` | `"Candlestick"` | Name of the series displayed in legends, tooltips, and live region announcements. |
|
|
364
|
+
| `neutralColor` | `string` | `""` | Color for neutral / flat candles (close === open). |
|
|
365
|
+
| `opacity` | `number \| undefined` | `undefined` | **Deprecated.** Use `fillOpacity`, as on the other series. Overall opacity multiplier applied to candle wicks and bodies. |
|
|
366
|
+
| `openField` (required) | `ChartField` | — | Property key or accessor extracting the opening price for each data item. |
|
|
367
|
+
| `risingColor` | `string` | `""` | Color for rising / bullish candles (close > open). |
|
|
368
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
369
|
+
| `valueFormatter` | `ChartAxisFormatter \| undefined` | `undefined` | Formatter callback transforming financial numeric values into custom display strings. |
|
|
370
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
371
|
+
| `wickColor` | `string` | `""` | Explicit stroke color for the upper and lower wicks. |
|
|
372
|
+
| `wickWidth` | `number \| undefined` | `undefined` | Pixel stroke width for candle wicks. When unset, the series reads `--mona-chart-financial-wick-width`, or uses `1`. |
|
|
373
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
374
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X coordinate, overriding the root chart X field. |
|
|
375
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
376
|
+
|
|
377
|
+
### Outputs
|
|
378
|
+
|
|
379
|
+
| Name | Type | Description |
|
|
380
|
+
| --- | --- | --- |
|
|
381
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
382
|
+
|
|
383
|
+
## `PieSeriesComponent`
|
|
384
|
+
|
|
385
|
+
Component.
|
|
386
|
+
|
|
387
|
+
Renders a full or partial pie.
|
|
388
|
+
|
|
389
|
+
**Selector:** `mona-pie-series`
|
|
390
|
+
|
|
391
|
+
### Inputs
|
|
392
|
+
|
|
393
|
+
| Name | Type | Default | Description |
|
|
394
|
+
| --- | --- | --- | --- |
|
|
395
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each slice. |
|
|
396
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for slice category labels. |
|
|
397
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
398
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each slice. |
|
|
399
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive slices. |
|
|
400
|
+
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to slice arc boundaries. |
|
|
401
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
402
|
+
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
403
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric slice value. |
|
|
404
|
+
| `fillMode` | `ChartPolarFillMode` | `"solid"` | Fill style applied to slices ("solid" or radial "gradient" from center to arc). |
|
|
405
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of slice fills (between 0 and 1). |
|
|
406
|
+
| `hiddenIndices` (two-way) | `readonly number[]` | `[]` | The hidden data indices. Bind `[(hiddenIndices)]` for two-way binding; legend toggles write to it. |
|
|
407
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
408
|
+
| `labelContent` | `ChartPolarLabelContent` | `"percentage"` | Content to display in default slice data labels. |
|
|
409
|
+
| `labelPosition` | `ChartPolarLabelPosition` | `"outside"` | Placement position for slice data labels ("outside" with leader lines or "inside" slice bounds). |
|
|
410
|
+
| `minLabelAngle` | `number` | `12` | Minimum slice arc angle in degrees required to render an inside data label. |
|
|
411
|
+
| `name` | `string` | `"Pie"` | Series name used in tooltips and accessibility announcements. |
|
|
412
|
+
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
413
|
+
| `padAngle` | `number` | `0` | Angular padding in degrees between adjacent slices. |
|
|
414
|
+
| `showLabels` | `boolean` | `false` | Whether to display slice labels, inside or outside as `labelPosition` sets. |
|
|
415
|
+
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
416
|
+
| `strokeColor` | `string` | `""` | Color of slice separator strokes. |
|
|
417
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for slice separators. |
|
|
418
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for slice numeric values. |
|
|
419
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
420
|
+
|
|
421
|
+
### Outputs
|
|
422
|
+
|
|
423
|
+
| Name | Type | Description |
|
|
424
|
+
| --- | --- | --- |
|
|
425
|
+
| `hiddenIndicesChange` | `readonly number[]` | Emitted when `hiddenIndices` changes. |
|
|
426
|
+
| `sliceVisibilityChange` | `ChartSliceVisibilityEvent` | Emits when an individual slice's visibility is toggled via the legend. |
|
|
427
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
428
|
+
|
|
429
|
+
### Methods
|
|
430
|
+
|
|
431
|
+
| Signature | Description |
|
|
432
|
+
| --- | --- |
|
|
433
|
+
| `toggleSlice(dataIndex: number): boolean` | Shows or hides the slice at `dataIndex`, and returns whether it's now visible. |
|
|
434
|
+
|
|
435
|
+
## `GaugeSeriesComponent`
|
|
436
|
+
|
|
437
|
+
Component.
|
|
438
|
+
|
|
439
|
+
Renders circular or semi-circular gauge meters with value progress arcs, tapered needles, central hubs, and centered
|
|
440
|
+
value projection.
|
|
441
|
+
|
|
442
|
+
**Selector:** `mona-gauge-series`
|
|
443
|
+
|
|
444
|
+
### Inputs
|
|
445
|
+
|
|
446
|
+
| Name | Type | Default | Description |
|
|
447
|
+
| --- | --- | --- | --- |
|
|
448
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
449
|
+
| `color` | `string` | `""` | Primary color of the gauge value arc. |
|
|
450
|
+
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to gauge arc endpoints. |
|
|
451
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
452
|
+
| `endAngle` | `number` | `120` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
453
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric gauge value when direct value is not set. |
|
|
454
|
+
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to gauge value arc ("solid" or radial "gradient"). |
|
|
455
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of gauge value arc fill (between 0 and 1). |
|
|
456
|
+
| `hubRadius` | `number` | `5` | Radius in pixels of the needle center hub circle. |
|
|
457
|
+
| `indicator` | `ChartGaugeIndicator` | `"arc"` | Indicator mode: "arc" (progress arc), "needle" (pointer needle), or "both". |
|
|
458
|
+
| `innerRadiusRatio` | `number` | `0.72` | Inner radius ratio relative to outer radius (0 to 1). |
|
|
459
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
460
|
+
| `max` | `number` | `100` | Maximum domain value. |
|
|
461
|
+
| `min` | `number` | `0` | Minimum domain value. |
|
|
462
|
+
| `name` | `string` | `"Gauge"` | Series name used in tooltips and accessibility announcements. |
|
|
463
|
+
| `needleColor` | `string` | `""` | Color of the needle and center hub. |
|
|
464
|
+
| `needleLengthRatio` | `number` | `0.78` | Length of the needle pointer as a fraction of outer radius (0.1 to 1). |
|
|
465
|
+
| `needleWidth` | `number` | `2` | Stroke width in pixels for the needle pointer. |
|
|
466
|
+
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
467
|
+
| `showValue` | `boolean` | `true` | Whether to display the formatted value in the center of the gauge. |
|
|
468
|
+
| `startAngle` | `number` | `-120` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
469
|
+
| `trackColor` | `string` | `""` | Color of background track arc. |
|
|
470
|
+
| `trackOpacity` | `number \| undefined` | `undefined` | Opacity of background track arc. |
|
|
471
|
+
| `value` | `number \| undefined` | `undefined` | Direct scalar value for the gauge. When defined, takes precedence over data/field. |
|
|
472
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for gauge numeric values. |
|
|
473
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
474
|
+
|
|
475
|
+
### Outputs
|
|
476
|
+
|
|
477
|
+
| Name | Type | Description |
|
|
478
|
+
| --- | --- | --- |
|
|
479
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
480
|
+
|
|
481
|
+
## `WaterfallSeriesComponent`
|
|
482
|
+
|
|
483
|
+
Component.
|
|
484
|
+
|
|
485
|
+
Renders financial cash-flow and contribution movements with positive delta increases, negative delta decreases,
|
|
486
|
+
zero-change neutral bars, intermediate subtotals, and cumulative grand totals.
|
|
487
|
+
|
|
488
|
+
**Selector:** `mona-waterfall-series`
|
|
489
|
+
|
|
490
|
+
### Inputs
|
|
491
|
+
|
|
492
|
+
| Name | Type | Default | Description |
|
|
493
|
+
| --- | --- | --- | --- |
|
|
494
|
+
| `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to the four corners of waterfall bars. |
|
|
495
|
+
| `class` | `string` | `""` | CSS class name applied to the hidden series host element for custom styling hooks. |
|
|
496
|
+
| `connectorColor` | `string` | `""` | Color of the horizontal connector lines joining consecutive bars. |
|
|
497
|
+
| `connectorWidth` | `number \| undefined` | `undefined` | Line width in pixels of the connector lines between steps. |
|
|
498
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Array of step data items overriding chart-level root data. |
|
|
499
|
+
| `decreaseColor` | `string` | `""` | Fill color for negative change steps (decreases). |
|
|
500
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric value/delta for each step. |
|
|
501
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to waterfall bars (0 to 1). |
|
|
502
|
+
| `increaseColor` | `string` | `""` | Fill color for positive change steps (increases). |
|
|
503
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Unique identifier key field for datums. |
|
|
504
|
+
| `kindField` | `ChartField \| undefined` | `"kind"` | Property key or accessor extracting step kind ('change' \| 'subtotal' \| 'total'). |
|
|
505
|
+
| `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for waterfall bars. |
|
|
506
|
+
| `maxLabels` | `number` | `100` | Maximum number of visible step labels rendered simultaneously. |
|
|
507
|
+
| `minLabelWidth` | `number \| undefined` | `undefined` | Minimum bar width in pixels required to render its value label. |
|
|
508
|
+
| `name` | `string` | `"Waterfall"` | Descriptive series name displayed in chart legend and tooltips. |
|
|
509
|
+
| `neutralColor` | `string` | `""` | Fill color for zero-change steps. |
|
|
510
|
+
| `showConnectors` | `boolean` | `true` | Controls whether horizontal connector lines are drawn between steps. |
|
|
511
|
+
| `showLabels` | `boolean` | `false` | Controls whether built-in value text labels are rendered. |
|
|
512
|
+
| `startValue` | `number` | `0` | Starting cumulative baseline value before the first step. |
|
|
513
|
+
| `strokeColor` | `string` | `""` | Stroke outline color for waterfall bars. |
|
|
514
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for waterfall bars. |
|
|
515
|
+
| `subtotalColor` | `string` | `""` | Fill color for subtotal steps that anchor to baseline without resetting cumulative count. |
|
|
516
|
+
| `totalColor` | `string` | `""` | Fill color for final total summary steps. |
|
|
517
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values. |
|
|
518
|
+
| `visible` (two-way) | `boolean` | `true` | Controls overall visibility of the waterfall series. |
|
|
519
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting category / step names. |
|
|
520
|
+
|
|
521
|
+
### Outputs
|
|
522
|
+
|
|
523
|
+
| Name | Type | Description |
|
|
524
|
+
| --- | --- | --- |
|
|
525
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
526
|
+
|
|
527
|
+
## `RoseSeriesComponent`
|
|
528
|
+
|
|
529
|
+
Component.
|
|
530
|
+
|
|
531
|
+
Renders Nightingale rose (coxcomb) charts with angular category petals whose radial extent scales by area or radius.
|
|
532
|
+
|
|
533
|
+
**Selector:** `mona-rose-series`
|
|
534
|
+
|
|
535
|
+
### Inputs
|
|
536
|
+
|
|
537
|
+
| Name | Type | Default | Description |
|
|
538
|
+
| --- | --- | --- | --- |
|
|
539
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each rose petal. |
|
|
540
|
+
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for category labels. |
|
|
541
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
542
|
+
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each petal. |
|
|
543
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive rose petals. |
|
|
544
|
+
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to outer petal corners. |
|
|
545
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
546
|
+
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
547
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric petal value. |
|
|
548
|
+
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to rose petals ("solid" or radial "gradient"). |
|
|
549
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of petal fills (between 0 and 1). |
|
|
550
|
+
| `hiddenItemIds` (two-way) | `readonly string[]` | `[]` | The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`. |
|
|
551
|
+
| `innerRadiusRatio` | `number` | `0` | Inner radius ratio relative to available plot bounds (0 to 1). |
|
|
552
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
553
|
+
| `name` | `string` | `"Rose"` | Series name used in tooltips and accessibility announcements. |
|
|
554
|
+
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
555
|
+
| `padAngle` | `number` | `2` | Angular padding in degrees between adjacent rose petals. |
|
|
556
|
+
| `scaleMode` | `ChartRoseScaleMode` | `"area"` | Scale mode for petal radius: "area" (annular area proportional to value) or "radius" (linear radial distance). |
|
|
557
|
+
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
558
|
+
| `strokeColor` | `string` | `""` | Color of petal separator strokes. |
|
|
559
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for petal boundaries. |
|
|
560
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for petal numeric values. |
|
|
561
|
+
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
562
|
+
|
|
563
|
+
### Outputs
|
|
564
|
+
|
|
565
|
+
| Name | Type | Description |
|
|
566
|
+
| --- | --- | --- |
|
|
567
|
+
| `datumVisibilityChange` | `ChartRadialDatumVisibilityEvent` | Emits when an individual petal's visibility is toggled via the legend. |
|
|
568
|
+
| `hiddenItemIdsChange` | `readonly string[]` | Emitted when `hiddenItemIds` changes. |
|
|
569
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
570
|
+
|
|
571
|
+
### Methods
|
|
572
|
+
|
|
573
|
+
| Signature | Description |
|
|
574
|
+
| --- | --- |
|
|
575
|
+
| `toggleDatum(itemId: string): boolean` | Shows or hides the petal with this id, and returns whether it's now visible. |
|
|
576
|
+
|
|
577
|
+
## `AreaSeriesComponent`
|
|
578
|
+
|
|
579
|
+
Component.
|
|
580
|
+
|
|
581
|
+
Renders a continuous Cartesian area series supporting gradient fades, solid fills, cumulative stacking, and 100%
|
|
582
|
+
normalized bands.
|
|
583
|
+
|
|
584
|
+
**Selector:** `mona-area-series`
|
|
585
|
+
|
|
586
|
+
### Inputs
|
|
587
|
+
|
|
588
|
+
| Name | Type | Default | Description |
|
|
589
|
+
| --- | --- | --- | --- |
|
|
590
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
591
|
+
| `color` | `string` | `""` | Explicit stroke and fill color override for the area series. |
|
|
592
|
+
| `connectNulls` | `boolean` | `false` | Whether to connect points across null or invalid values without gaps. |
|
|
593
|
+
| `curve` | `ChartCurve` | `"linear"` | Curve interpolation style (`"linear"`, `"monotone-x"`, `"natural"`, `"step"`, or `"step-after"`). |
|
|
594
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
595
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
596
|
+
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
597
|
+
| `field` | `ChartField` | `""` | Property key or accessor extracting the Y value for each data item. |
|
|
598
|
+
| `fillMode` | `ChartAreaFillMode` | `"gradient"` | Area fill style (`"gradient"` fading to zero baseline, or uniform `"solid"`). |
|
|
599
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Maximum opacity applied to the area fill. |
|
|
600
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
601
|
+
| `lineStyle` | `ChartLineStyle` | `"solid"` | Stroke pattern used for the area's boundary line (`"solid"`, `"dashed"`, or `"dotted"`). |
|
|
602
|
+
| `name` | `string` | `""` | Name of the series displayed in legends and tooltips. |
|
|
603
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers. |
|
|
604
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
605
|
+
| `showPoints` | `boolean` | `false` | Whether to draw point markers at each data coordinate along the top boundary line. |
|
|
606
|
+
| `stack` | `string \| undefined` | `undefined` | Named stack group to participate in. Series with matching trimmed stack names stack together. |
|
|
607
|
+
| `stackMode` | `ChartStackMode` | `"normal"` | Stacking mode used when stack is specified: 'normal' for raw cumulative values, or 'percent' for 100% normalized segments. |
|
|
608
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the area boundary line. |
|
|
609
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw Y/data values in tooltips and live region announcements. |
|
|
610
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
611
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
612
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
613
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
614
|
+
|
|
615
|
+
### Outputs
|
|
616
|
+
|
|
617
|
+
| Name | Type | Description |
|
|
618
|
+
| --- | --- | --- |
|
|
619
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
620
|
+
|
|
621
|
+
## `ChartXAxisComponent`
|
|
622
|
+
|
|
623
|
+
Component.
|
|
624
|
+
|
|
625
|
+
Configures an X axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes.
|
|
626
|
+
|
|
627
|
+
**Selector:** `mona-chart-x-axis`
|
|
628
|
+
|
|
629
|
+
### Inputs
|
|
630
|
+
|
|
631
|
+
| Name | Type | Default | Description |
|
|
632
|
+
| --- | --- | --- | --- |
|
|
633
|
+
| `axisId` | `string \| undefined` | `undefined` | Optional semantic identifier for the X axis, referenced by series `xAxisId`. |
|
|
634
|
+
| `axisLine` | `boolean` | `true` | Whether the solid baseline axis border line is rendered. |
|
|
635
|
+
| `exponent` | `number` | `1` | Exponent for power scale (`type="pow"`). Must be a positive finite number. |
|
|
636
|
+
| `field` | `ChartField \| undefined` | `undefined` | Optional data field name for the X axis categories or values. |
|
|
637
|
+
| `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for axis tick labels. |
|
|
638
|
+
| `gridLines` | `boolean \| undefined` | `undefined` | Whether vertical grid lines aligned with X-axis ticks are visible. Defaults to false in standard Cartesian and true for horizontal value axes. |
|
|
639
|
+
| `labelMaxWidth` | `number \| undefined` | `undefined` | Maximum unrotated width in pixels for tick labels before truncation. |
|
|
640
|
+
| `labelPadding` | `number \| undefined` | `undefined` | Spacing in pixels between the axis baseline / tick marks and tick labels. |
|
|
641
|
+
| `labelRotation` | `ChartAxisLabelRotation` | `0` | Explicit rotation angle in degrees for tick labels (-90 to 90), or 'auto' for responsive automatic angling. |
|
|
642
|
+
| `labels` | `boolean` | `true` | Whether the axis tick labels are rendered in the DOM. |
|
|
643
|
+
| `logBase` | `number` | `10` | Base logarithm for log scale (`type="log"`). Must be a positive finite number not equal to 1. |
|
|
644
|
+
| `max` | `number \| Date \| undefined` | `undefined` | Explicit upper bound for the axis range. |
|
|
645
|
+
| `min` | `number \| Date \| undefined` | `undefined` | Explicit lower bound for the axis range. |
|
|
646
|
+
| `nice` | `boolean` | `true` | Automatically extends the axis domain to round, pleasant values. |
|
|
647
|
+
| `position` | `ChartXAxisPosition` | `"bottom"` | Position of the X axis relative to the plot area. |
|
|
648
|
+
| `symlogConstant` | `number` | `1` | Constant for symlog scale (`type="symlog"`). Must be a positive finite number. |
|
|
649
|
+
| `tickCount` | `number \| undefined` | `undefined` | Suggested number of ticks to display along the axis (acts as preferred label count for category axes). |
|
|
650
|
+
| `tickMarks` | `boolean` | `false` | Whether tick mark lines extending outward from the baseline are drawn. |
|
|
651
|
+
| `tickSize` | `number \| undefined` | `undefined` | Length in pixels of outward tick mark lines. |
|
|
652
|
+
| `title` | `string` | `""` | Title text rendered alongside the axis. |
|
|
653
|
+
| `titlePadding` | `number \| undefined` | `undefined` | Spacing in pixels between the outward extent of tick labels and the axis title. |
|
|
654
|
+
| `type` | `ChartXAxisType` | `"auto"` | Scale type for the X axis (`"auto"`, `"category"`, `"linear"`, `"log"`, `"symlog"`, `"pow"`, `"sqrt"`, `"time"`, or `"utc"`). |
|
|
655
|
+
| `visible` | `boolean` | `true` | Whether the axis and its labels are visible. |
|
|
656
|
+
|
|
657
|
+
## `HeatmapSeriesComponent`
|
|
658
|
+
|
|
659
|
+
Component.
|
|
660
|
+
|
|
661
|
+
Renders a matrix of cells colored by value, with a color scale in the legend.
|
|
662
|
+
|
|
663
|
+
**Selector:** `mona-heatmap-series`
|
|
664
|
+
|
|
665
|
+
### Inputs
|
|
666
|
+
|
|
667
|
+
| Name | Type | Default | Description |
|
|
668
|
+
| --- | --- | --- | --- |
|
|
669
|
+
| `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels for each individual heat cell. |
|
|
670
|
+
| `cellGap` | `number` | `1` | Spacing gap in pixels between adjacent cells. |
|
|
671
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
672
|
+
| `color` | `string` | `""` | Explicit primary base color used to derive the heat palette. |
|
|
673
|
+
| `colorMode` | `ChartHeatmapColorMode` | `"sequential"` | Color scale mapping mode: 'sequential' for continuous single-hue intensity or 'diverging' for dual-pole deviations. |
|
|
674
|
+
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of color stops defining the gradient palette. |
|
|
675
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
676
|
+
| `field` (required) | `ChartField` | — | Property key or accessor extracting the numeric heat value for each cell. |
|
|
677
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to the heat cells (0 to 1). |
|
|
678
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
679
|
+
| `max` | `number \| undefined` | `undefined` | Explicit upper bound for the numeric value color domain. |
|
|
680
|
+
| `midpoint` | `number \| undefined` | `undefined` | Explicit central midpoint for diverging color scales. |
|
|
681
|
+
| `min` | `number \| undefined` | `undefined` | Explicit lower bound for the numeric value color domain. |
|
|
682
|
+
| `name` | `string` | `"Heatmap"` | Name of the series displayed in legends, tooltips, and live region announcements. |
|
|
683
|
+
| `showValues` | `boolean` | `false` | Whether to render numeric value labels inside individual heat cells on Canvas. |
|
|
684
|
+
| `strokeColor` | `string` | `""` | Explicit border stroke color for individual heat cells. |
|
|
685
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for cell borders. |
|
|
686
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw cell values in labels, tooltips, and live regions. |
|
|
687
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
688
|
+
| `xCategories` | `readonly unknown[] \| undefined` | `undefined` | Explicit category ordering for the X axis columns. |
|
|
689
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X column category for each cell. |
|
|
690
|
+
| `yCategories` | `readonly unknown[] \| undefined` | `undefined` | Explicit category ordering for the Y axis rows. |
|
|
691
|
+
| `yField` (required) | `ChartField` | — | Property key or accessor extracting the Y row category for each cell. |
|
|
692
|
+
|
|
693
|
+
### Outputs
|
|
694
|
+
|
|
695
|
+
| Name | Type | Description |
|
|
696
|
+
| --- | --- | --- |
|
|
697
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
698
|
+
|
|
699
|
+
## `ChartYAxisComponent`
|
|
700
|
+
|
|
701
|
+
Component.
|
|
702
|
+
|
|
703
|
+
Configures a Y axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes.
|
|
704
|
+
|
|
705
|
+
**Selector:** `mona-chart-y-axis`
|
|
706
|
+
|
|
707
|
+
### Inputs
|
|
708
|
+
|
|
709
|
+
| Name | Type | Default | Description |
|
|
710
|
+
| --- | --- | --- | --- |
|
|
711
|
+
| `axisId` | `string \| undefined` | `undefined` | Optional semantic identifier for the Y axis, referenced by series `yAxisId`. |
|
|
712
|
+
| `axisLine` | `boolean` | `true` | Whether the solid baseline axis border line is rendered. |
|
|
713
|
+
| `exponent` | `number` | `1` | Exponent for power scale (`type="pow"`). Must be a positive finite number. |
|
|
714
|
+
| `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for axis tick labels. |
|
|
715
|
+
| `gridLines` | `boolean \| undefined` | `undefined` | Whether horizontal grid lines aligned with Y-axis ticks are visible. Defaults to true in standard Cartesian and false for horizontal value axes. |
|
|
716
|
+
| `labelMaxWidth` | `number \| undefined` | `undefined` | Maximum unrotated width in pixels for tick labels before truncation. |
|
|
717
|
+
| `labelPadding` | `number \| undefined` | `undefined` | Spacing in pixels between the axis baseline / tick marks and tick labels. |
|
|
718
|
+
| `labelRotation` | `ChartAxisLabelRotation` | `0` | Explicit rotation angle in degrees for tick labels (-90 to 90), or 'auto' for responsive automatic angling. |
|
|
719
|
+
| `labels` | `boolean` | `true` | Whether the axis tick labels are rendered in the DOM. |
|
|
720
|
+
| `logBase` | `number` | `10` | Base logarithm for log scale (`type="log"`). Must be a positive finite number not equal to 1. |
|
|
721
|
+
| `max` | `number \| undefined` | `undefined` | Explicit upper bound for the numeric value range. |
|
|
722
|
+
| `min` | `number \| undefined` | `undefined` | Explicit lower bound for the numeric value range. |
|
|
723
|
+
| `nice` | `boolean` | `true` | Automatically extends the axis domain to round, pleasant values. |
|
|
724
|
+
| `position` | `ChartYAxisPosition` | `"start"` | Position of the Y axis relative to the plot area. `start` and `end` follow the direction; `left` and `right` stay on that side. |
|
|
725
|
+
| `symlogConstant` | `number` | `1` | Constant for symlog scale (`type="symlog"`). Must be a positive finite number. |
|
|
726
|
+
| `tickCount` | `number \| undefined` | `undefined` | Suggested number of ticks to display along the axis (acts as preferred label count for category axes). |
|
|
727
|
+
| `tickMarks` | `boolean` | `false` | Whether tick mark lines extending outward from the baseline are drawn. |
|
|
728
|
+
| `tickSize` | `number \| undefined` | `undefined` | Length in pixels of outward tick mark lines. |
|
|
729
|
+
| `title` | `string` | `""` | Title text rendered alongside the axis. |
|
|
730
|
+
| `titlePadding` | `number \| undefined` | `undefined` | Spacing in pixels between the outward extent of tick labels and the axis title. |
|
|
731
|
+
| `type` | `ChartYAxisType` | `"auto"` | Scale type for the Y axis (`"auto"`, `"category"`, `"linear"`, `"log"`, `"symlog"`, `"pow"`, or `"sqrt"`). |
|
|
732
|
+
| `visible` | `boolean` | `true` | Whether the axis and its labels are visible. |
|
|
733
|
+
|
|
734
|
+
## `BubbleSeriesComponent`
|
|
735
|
+
|
|
736
|
+
Component.
|
|
737
|
+
|
|
738
|
+
Renders 3-dimensional data points with position (X, Y) and proportionally-scaled circle areas (Size).
|
|
739
|
+
|
|
740
|
+
**Selector:** `mona-bubble-series`
|
|
741
|
+
|
|
742
|
+
### Inputs
|
|
743
|
+
|
|
744
|
+
| Name | Type | Default | Description |
|
|
745
|
+
| --- | --- | --- | --- |
|
|
746
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
747
|
+
| `color` | `string` | `""` | Explicit fill color for the bubbles. |
|
|
748
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
749
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
750
|
+
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
751
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the Y value for each data item. |
|
|
752
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity for bubbles between 0 and 1. |
|
|
753
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
754
|
+
| `maxRadius` | `number \| undefined` | `undefined` | Maximum rendered pixel radius for the largest data size value. When unset, the series reads `--mona-chart-bubble-max-radius`, or uses `24`. |
|
|
755
|
+
| `minRadius` | `number \| undefined` | `undefined` | Minimum rendered pixel radius for the smallest data size value. When unset, the series reads `--mona-chart-bubble-min-radius`, or uses `4`. |
|
|
756
|
+
| `name` | `string` | `"Bubble"` | Name of the series displayed in legends and tooltips. |
|
|
757
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
758
|
+
| `sizeField` | `ChartField` | `"size"` | Property key or accessor extracting the size magnitude for each bubble. |
|
|
759
|
+
| `sizeFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Optional custom formatter for displaying bubble size values in tooltips. |
|
|
760
|
+
| `strokeColor` | `string` | `""` | Stroke outline color for bubble markers. |
|
|
761
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for bubble marker outlines. |
|
|
762
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formats this series' values in tooltips, data labels and announcements, without changing the axis ticks. Takes precedence over the axis formatter. |
|
|
763
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
764
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
765
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
766
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
767
|
+
|
|
768
|
+
### Outputs
|
|
769
|
+
|
|
770
|
+
| Name | Type | Description |
|
|
771
|
+
| --- | --- | --- |
|
|
772
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
773
|
+
|
|
774
|
+
## `RangeAreaSeriesComponent`
|
|
775
|
+
|
|
776
|
+
Component.
|
|
777
|
+
|
|
778
|
+
Renders continuous Cartesian vertical range bands/areas bounded between lower and upper values (e.g. confidence
|
|
779
|
+
intervals, forecast envelopes, or high/low bands).
|
|
780
|
+
|
|
781
|
+
**Selector:** `mona-range-area-series`
|
|
782
|
+
|
|
783
|
+
### Inputs
|
|
784
|
+
|
|
785
|
+
| Name | Type | Default | Description |
|
|
786
|
+
| --- | --- | --- | --- |
|
|
787
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
788
|
+
| `color` | `string` | `""` | Explicit stroke and fill color override for the range area series. |
|
|
789
|
+
| `connectNulls` | `boolean` | `false` | Whether to connect points across null or invalid values without gaps. |
|
|
790
|
+
| `curve` | `ChartCurve` | `"linear"` | Curve interpolation style (`"linear"`, `"monotone-x"`, `"natural"`, `"step"`, or `"step-after"`). |
|
|
791
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
792
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
793
|
+
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
794
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Maximum opacity applied to the range area fill. |
|
|
795
|
+
| `fromField` (required) | `ChartField` | — | Property key or accessor extracting the starting range value for each data item. |
|
|
796
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
797
|
+
| `name` | `string` | `"Range Area"` | Name of the series displayed in legends, tooltips, and live region announcements. |
|
|
798
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers drawn along the boundary curves. |
|
|
799
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
800
|
+
| `showPoints` | `boolean` | `false` | Whether to draw point markers at each data coordinate along both boundary curves. |
|
|
801
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the boundary lines. |
|
|
802
|
+
| `toField` (required) | `ChartField` | — | Property key or accessor extracting the ending range value for each data item. |
|
|
803
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw range values in tooltips and live region announcements. |
|
|
804
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
805
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
806
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X coordinate, overriding the root chart X field. |
|
|
807
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
808
|
+
|
|
809
|
+
### Outputs
|
|
810
|
+
|
|
811
|
+
| Name | Type | Description |
|
|
812
|
+
| --- | --- | --- |
|
|
813
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
814
|
+
|
|
815
|
+
## `LineSeriesComponent`
|
|
816
|
+
|
|
817
|
+
Component.
|
|
818
|
+
|
|
819
|
+
Renders a continuous Cartesian line series with configurable interpolation, optional null-gap joining, point markers,
|
|
820
|
+
data labels, and multi-axis binding.
|
|
821
|
+
|
|
822
|
+
**Selector:** `mona-line-series`
|
|
823
|
+
|
|
824
|
+
### Inputs
|
|
825
|
+
|
|
826
|
+
| Name | Type | Default | Description |
|
|
827
|
+
| --- | --- | --- | --- |
|
|
828
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
829
|
+
| `color` | `string` | `""` | Explicit stroke color override for the series line. |
|
|
830
|
+
| `connectNulls` | `boolean` | `false` | Whether to connect points across null or invalid values without gaps. |
|
|
831
|
+
| `curve` | `ChartCurve` | `"linear"` | Curve interpolation style (`"linear"`, `"monotone-x"`, `"natural"`, `"step"`, or `"step-after"`). |
|
|
832
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
833
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
834
|
+
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
835
|
+
| `field` | `ChartField` | `""` | Property key or accessor extracting the Y value for each data item. |
|
|
836
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
837
|
+
| `lineStyle` | `ChartLineStyle` | `"solid"` | Stroke pattern used to render the series line (`"solid"`, `"dashed"`, or `"dotted"`). |
|
|
838
|
+
| `name` | `string` | `""` | Name of the series displayed in legends and tooltips. |
|
|
839
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers. |
|
|
840
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
841
|
+
| `showPoints` | `boolean` | `false` | Whether to draw point markers at each data coordinate along the line. |
|
|
842
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the series line. |
|
|
843
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formats this series' values in tooltips, data labels and announcements, without changing the axis ticks. Takes precedence over the axis formatter. |
|
|
844
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
845
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
846
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
847
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
848
|
+
|
|
849
|
+
### Outputs
|
|
850
|
+
|
|
851
|
+
| Name | Type | Description |
|
|
852
|
+
| --- | --- | --- |
|
|
853
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
854
|
+
|
|
855
|
+
## `BarSeriesComponent`
|
|
856
|
+
|
|
857
|
+
Component.
|
|
858
|
+
|
|
859
|
+
Renders a Cartesian bar series supporting standalone bars, grouped slots, stacked segments, and 100% normalized
|
|
860
|
+
stacks.
|
|
861
|
+
|
|
862
|
+
**Selector:** `mona-bar-series`
|
|
863
|
+
|
|
864
|
+
### Inputs
|
|
865
|
+
|
|
866
|
+
| Name | Type | Default | Description |
|
|
867
|
+
| --- | --- | --- | --- |
|
|
868
|
+
| `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels for the bar caps. |
|
|
869
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
870
|
+
| `color` | `string` | `""` | Explicit fill color override for the series bars. |
|
|
871
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
872
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
873
|
+
| `field` | `ChartField` | `""` | Property key or accessor extracting the Y/value for each bar. |
|
|
874
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to the bars. |
|
|
875
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
876
|
+
| `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for each individual bar. |
|
|
877
|
+
| `name` | `string` | `""` | Name of the series displayed in legends and tooltips. |
|
|
878
|
+
| `orientation` | `ChartBarOrientation` | `"vertical"` | Orientation of the bars ('vertical' for column bars, 'horizontal' for row bars). |
|
|
879
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
880
|
+
| `stack` | `string \| undefined` | `undefined` | Named stack group to participate in. Series with matching trimmed stack names stack together. |
|
|
881
|
+
| `stackMode` | `ChartStackMode` | `"normal"` | Stacking mode used when stack is specified: 'normal' for raw cumulative values, or 'percent' for 100% normalized segments. |
|
|
882
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw Y/data values in tooltips and live region announcements. |
|
|
883
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
884
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
885
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X/category value, overriding the root chart X field. |
|
|
886
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
887
|
+
|
|
888
|
+
### Outputs
|
|
889
|
+
|
|
890
|
+
| Name | Type | Description |
|
|
891
|
+
| --- | --- | --- |
|
|
892
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
893
|
+
|
|
894
|
+
## `ChartAnnotationComponent`
|
|
895
|
+
|
|
896
|
+
Component.
|
|
897
|
+
|
|
898
|
+
Renders callouts, milestone badges, and outlier markers anchored to specific (X, Y) coordinates.
|
|
899
|
+
|
|
900
|
+
**Selector:** `mona-chart-annotation`
|
|
901
|
+
|
|
902
|
+
### Inputs
|
|
903
|
+
|
|
904
|
+
| Name | Type | Default | Description |
|
|
905
|
+
| --- | --- | --- | --- |
|
|
906
|
+
| `class` | `string` | `""` | Custom CSS class name applied to the annotation host. |
|
|
907
|
+
| `color` | `string \| undefined` | `undefined` | Stroke and marker color for the annotation. |
|
|
908
|
+
| `connector` | `boolean` | `true` | Sets whether a connector line is drawn between the anchor point and the label. |
|
|
909
|
+
| `connectorWidth` | `number` | `1` | Connector stroke width in pixels. |
|
|
910
|
+
| `data` | `unknown` | `undefined` | Custom data object provided to template context. |
|
|
911
|
+
| `label` | `string` | `""` | Text label displayed for the annotation. |
|
|
912
|
+
| `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
|
|
913
|
+
| `labelPlacement` | `ChartAnnotationLabelPlacement` | `"top"` | Relative placement of the label from the anchor point: 'top', 'bottom', 'left', or 'right'. |
|
|
914
|
+
| `marker` | `ChartAnnotationMarker` | `"circle"` | Marker shape drawn at the anchor point: 'circle', 'diamond', or 'none'. |
|
|
915
|
+
| `markerRadius` | `number` | `4` | Marker radius in pixels. |
|
|
916
|
+
| `markerStrokeWidth` | `number` | `1.5` | Marker stroke width in pixels. |
|
|
917
|
+
| `offsetX` | `number` | `0` | Additional horizontal pixel offset for label positioning. |
|
|
918
|
+
| `offsetY` | `number` | `0` | Additional vertical pixel offset for label positioning. |
|
|
919
|
+
| `visible` | `boolean` | `true` | Sets whether the annotation is visible. |
|
|
920
|
+
| `x` (required) | `ChartAnnotationAxisValue` | — | X coordinate value or category key for the annotation anchor. |
|
|
921
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Explicit target X axis identifier. Defaults to primary X axis. |
|
|
922
|
+
| `y` (required) | `ChartAnnotationAxisValue` | — | Y coordinate value or category key for the annotation anchor. |
|
|
923
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Explicit target Y axis identifier. Defaults to primary Y axis. |
|
|
924
|
+
|
|
925
|
+
## `RangeBarSeriesComponent`
|
|
926
|
+
|
|
927
|
+
Component.
|
|
928
|
+
|
|
929
|
+
Renders floating Cartesian range bars spanning between a lower value and an upper value (e.g. min/max temperatures,
|
|
930
|
+
price spans, or SLA tolerances).
|
|
931
|
+
|
|
932
|
+
**Selector:** `mona-range-bar-series`
|
|
933
|
+
|
|
934
|
+
### Inputs
|
|
935
|
+
|
|
936
|
+
| Name | Type | Default | Description |
|
|
937
|
+
| --- | --- | --- | --- |
|
|
938
|
+
| `borderRadius` | `number \| undefined` | `undefined` | Corner radius in pixels for the floating bar caps. |
|
|
939
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
940
|
+
| `color` | `string` | `""` | Explicit fill color override for the range bars. |
|
|
941
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
942
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
943
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity applied to the range bars. |
|
|
944
|
+
| `fromField` (required) | `ChartField` | — | Property key or accessor extracting the starting range value for each bar. |
|
|
945
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
946
|
+
| `maxBarWidth` | `number \| undefined` | `undefined` | Maximum width in pixels for each individual range bar. |
|
|
947
|
+
| `name` | `string` | `"Range Bar"` | Name of the series displayed in legends, tooltips, and live region announcements. |
|
|
948
|
+
| `orientation` | `ChartBarOrientation` | `"vertical"` | Orientation of the range bars ('vertical' for vertical spans, 'horizontal' for horizontal intervals). |
|
|
949
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
950
|
+
| `toField` (required) | `ChartField` | — | Property key or accessor extracting the ending range value for each bar. |
|
|
951
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter for raw range values in tooltips and live region announcements. |
|
|
952
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
953
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
954
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X/category value, overriding the root chart X field. |
|
|
955
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
956
|
+
|
|
957
|
+
### Outputs
|
|
958
|
+
|
|
959
|
+
| Name | Type | Description |
|
|
960
|
+
| --- | --- | --- |
|
|
961
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
962
|
+
|
|
963
|
+
## `ScatterSeriesComponent`
|
|
964
|
+
|
|
965
|
+
Component.
|
|
966
|
+
|
|
967
|
+
Renders individual point markers across continuous numeric (linear) or temporal (time/utc) Cartesian coordinates.
|
|
968
|
+
|
|
969
|
+
**Selector:** `mona-scatter-series`
|
|
970
|
+
|
|
971
|
+
### Inputs
|
|
972
|
+
|
|
973
|
+
| Name | Type | Default | Description |
|
|
974
|
+
| --- | --- | --- | --- |
|
|
975
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
976
|
+
| `color` | `string` | `""` | Explicit fill color for the scatter points. |
|
|
977
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
978
|
+
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
979
|
+
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
980
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the Y value for each data item. |
|
|
981
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity for scatter points between 0 and 1. |
|
|
982
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
983
|
+
| `name` | `string` | `"Scatter"` | Name of the series displayed in legends and tooltips. |
|
|
984
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for scatter point markers. |
|
|
985
|
+
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
986
|
+
| `strokeColor` | `string` | `""` | Stroke outline color for scatter point markers. |
|
|
987
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for scatter point markers. |
|
|
988
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formats this series' values in tooltips, data labels and announcements, without changing the axis ticks. Takes precedence over the axis formatter. |
|
|
989
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
990
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
991
|
+
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
992
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
993
|
+
|
|
994
|
+
### Outputs
|
|
995
|
+
|
|
996
|
+
| Name | Type | Description |
|
|
997
|
+
| --- | --- | --- |
|
|
998
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
999
|
+
|
|
1000
|
+
## `PolarSeriesComponent`
|
|
1001
|
+
|
|
1002
|
+
Component.
|
|
1003
|
+
|
|
1004
|
+
Renders continuous polar series mapping magnitude over continuous degree angles (0° to 360°).
|
|
1005
|
+
|
|
1006
|
+
**Selector:** `mona-polar-series`
|
|
1007
|
+
|
|
1008
|
+
### Inputs
|
|
1009
|
+
|
|
1010
|
+
| Name | Type | Default | Description |
|
|
1011
|
+
| --- | --- | --- | --- |
|
|
1012
|
+
| `angleField` | `ChartField` | `"angle"` | **Deprecated.** Use `categoryField`, as on the other series. Property key or accessor function extracting the degree angle (0° to 360°) for each data item. |
|
|
1013
|
+
| `categoryField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the angle for each point. Takes precedence over `angleField`. |
|
|
1014
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
1015
|
+
| `color` | `string` | `""` | Explicit stroke and marker color override for the series. |
|
|
1016
|
+
| `connectNulls` | `boolean` | `false` | Whether to connect points across null or invalid values without gaps. |
|
|
1017
|
+
| `curve` | `ChartRadialCurve` | `"linear"` | Radial curve interpolation style (`"linear"` or `"smooth"`). |
|
|
1018
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
1019
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric radial distance/value for each data item. |
|
|
1020
|
+
| `fillMode` | `ChartRadialFillMode` | `"none"` | Fill mode applied to the area between the data curve and the chart center pole (`"none"`, `"solid"`, or `"gradient"`). |
|
|
1021
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity ratio for polar area fills (0 to 1). |
|
|
1022
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
1023
|
+
| `name` | `string` | `"Polar"` | Series name displayed in legends, tooltips, and accessibility regions. |
|
|
1024
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers. |
|
|
1025
|
+
| `showPoints` | `boolean` | `false` | Whether to draw point markers at each valid angular coordinate. |
|
|
1026
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the outer data line. |
|
|
1027
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values in tooltips and live region announcements. |
|
|
1028
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the polar series is visible on the chart. |
|
|
1029
|
+
|
|
1030
|
+
### Outputs
|
|
1031
|
+
|
|
1032
|
+
| Name | Type | Description |
|
|
1033
|
+
| --- | --- | --- |
|
|
1034
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
1035
|
+
|
|
1036
|
+
## `RadarSeriesComponent`
|
|
1037
|
+
|
|
1038
|
+
Component.
|
|
1039
|
+
|
|
1040
|
+
Renders closed polygonal radar series comparing categorical metrics across angular spokes.
|
|
1041
|
+
|
|
1042
|
+
**Selector:** `mona-radar-series`
|
|
1043
|
+
|
|
1044
|
+
### Inputs
|
|
1045
|
+
|
|
1046
|
+
| Name | Type | Default | Description |
|
|
1047
|
+
| --- | --- | --- | --- |
|
|
1048
|
+
| `categoryField` | `ChartField` | `"category"` | Property key or accessor function extracting the angular spoke category for each data item. |
|
|
1049
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
1050
|
+
| `color` | `string` | `""` | Explicit stroke and marker color override for the series. |
|
|
1051
|
+
| `connectNulls` | `boolean` | `false` | Whether to connect adjacent valid category points across missing or null categories. |
|
|
1052
|
+
| `curve` | `ChartRadialCurve` | `"linear"` | Radial interpolation curve (`"linear"` or `"smooth"`). |
|
|
1053
|
+
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
1054
|
+
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric radial value for each data item. |
|
|
1055
|
+
| `fillMode` | `ChartRadialFillMode` | `"none"` | Fill mode applied to the radar polygon (`"none"`, `"solid"`, or `"gradient"`). |
|
|
1056
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity ratio for polygon interior fills (0 to 1). |
|
|
1057
|
+
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
1058
|
+
| `name` | `string` | `"Radar"` | Series name displayed in legends, tooltips, and accessibility regions. |
|
|
1059
|
+
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers rendered at category vertices. |
|
|
1060
|
+
| `showPoints` | `boolean` | `true` | Whether to draw point markers at each category vertex along the radar polygon. |
|
|
1061
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the outer polygon boundary. |
|
|
1062
|
+
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values in tooltips and live region announcements. |
|
|
1063
|
+
| `visible` (two-way) | `boolean` | `true` | Whether the radar series is visible on the chart. |
|
|
1064
|
+
|
|
1065
|
+
### Outputs
|
|
1066
|
+
|
|
1067
|
+
| Name | Type | Description |
|
|
1068
|
+
| --- | --- | --- |
|
|
1069
|
+
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
1070
|
+
|
|
1071
|
+
## `ChartCrosshairComponent`
|
|
1072
|
+
|
|
1073
|
+
Component.
|
|
1074
|
+
|
|
1075
|
+
Renders dynamic crosshair guide lines and axis label badges for pointer and keyboard navigation in Cartesian XY
|
|
1076
|
+
charts.
|
|
1077
|
+
|
|
1078
|
+
**Selector:** `mona-chart-crosshair`
|
|
1079
|
+
|
|
1080
|
+
### Inputs
|
|
1081
|
+
|
|
1082
|
+
| Name | Type | Default | Description |
|
|
1083
|
+
| --- | --- | --- | --- |
|
|
1084
|
+
| `class` | `string` | `""` | Custom CSS class name applied to the crosshair. |
|
|
1085
|
+
| `color` | `string \| undefined` | `undefined` | Stroke color for the crosshair line. |
|
|
1086
|
+
| `enabled` | `boolean` | `true` | Sets whether crosshair interaction is enabled. |
|
|
1087
|
+
| `labelOffset` | `number` | `4` | Pixel offset between axis line and crosshair label badge. |
|
|
1088
|
+
| `lineStyle` | `ChartCrosshairLineStyle` | `"dashed"` | Line dash style for the crosshair. |
|
|
1089
|
+
| `lineWidth` | `number \| undefined` | `undefined` | Line stroke width in pixels. |
|
|
1090
|
+
| `maxSnapDistance` | `number` | `32` | Maximum pixel distance for nearest mark snapping. |
|
|
1091
|
+
| `mode` | `ChartCrosshairMode` | `"auto"` | Crosshair display mode: auto (follows interaction axis), x, y, or xy. |
|
|
1092
|
+
| `opacity` | `number \| undefined` | `undefined` | Stroke opacity for the crosshair line (0 to 1). |
|
|
1093
|
+
| `showAxisLabels` | `boolean` | `true` | Sets whether axis value badges are displayed. |
|
|
1094
|
+
| `showXLabel` | `boolean \| undefined` | `undefined` | Sets whether the X axis label badge is displayed. |
|
|
1095
|
+
| `showYLabel` | `boolean \| undefined` | `undefined` | Sets whether the Y axis label badge is displayed. |
|
|
1096
|
+
| `snap` | `ChartCrosshairSnapMode` | `"nearest"` | Snapping mode: nearest semantic mark or raw pointer position. |
|
|
1097
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Explicit target X axis identifier. |
|
|
1098
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Explicit target Y axis identifier. |
|
|
1099
|
+
|
|
1100
|
+
## `ChartReferenceBandComponent`
|
|
1101
|
+
|
|
1102
|
+
Component.
|
|
1103
|
+
|
|
1104
|
+
Renders highlighted threshold intervals and target regions in Cartesian XY charts.
|
|
1105
|
+
|
|
1106
|
+
**Selector:** `mona-chart-reference-band`
|
|
1107
|
+
|
|
1108
|
+
### Inputs
|
|
1109
|
+
|
|
1110
|
+
| Name | Type | Default | Description |
|
|
1111
|
+
| --- | --- | --- | --- |
|
|
1112
|
+
| `axis` (required) | `"x" \| "y"` | — | Target Cartesian axis dimension: 'x' or 'y'. |
|
|
1113
|
+
| `axisId` | `string \| undefined` | `undefined` | Explicit identifier of the target axis. Defaults to primary axis for the dimension. |
|
|
1114
|
+
| `borderColor` | `string \| undefined` | `undefined` | Border stroke color of the reference band. |
|
|
1115
|
+
| `borderWidth` | `number \| undefined` | `undefined` | Border stroke width of the reference band in pixels. |
|
|
1116
|
+
| `class` | `string` | `""` | Custom CSS class name applied to the reference band host. |
|
|
1117
|
+
| `fillColor` | `string \| undefined` | `undefined` | Fill color of the reference band. |
|
|
1118
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity of the reference band (0 to 1). |
|
|
1119
|
+
| `from` (required) | `ChartAnnotationAxisValue` | — | Starting coordinate value or category key for the reference band. |
|
|
1120
|
+
| `label` | `string` | `""` | Text label displayed inside or alongside the reference band. |
|
|
1121
|
+
| `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
|
|
1122
|
+
| `labelOffset` | `number` | `6` | Pixel offset between the band boundary and the label. |
|
|
1123
|
+
| `labelPosition` | `ChartReferenceLabelPosition` | `"center"` | Alignment position for the label: 'start', 'center', or 'end'. |
|
|
1124
|
+
| `layer` | `ChartOverlayLayer` | `"underlay"` | Render layer: 'underlay' (behind series) or 'overlay' (in front of series). |
|
|
1125
|
+
| `to` (required) | `ChartAnnotationAxisValue` | — | Ending coordinate value or category key for the reference band. |
|
|
1126
|
+
| `visible` | `boolean` | `true` | Sets whether the reference band is visible. |
|
|
1127
|
+
|
|
1128
|
+
## `ChartBrushComponent`
|
|
1129
|
+
|
|
1130
|
+
Component.
|
|
1131
|
+
|
|
1132
|
+
Selects a region of a Cartesian plot by dragging, or from the keyboard with `Shift` + arrows from a focused point.
|
|
1133
|
+
|
|
1134
|
+
**Selector:** `mona-chart-brush`
|
|
1135
|
+
|
|
1136
|
+
### Inputs
|
|
1137
|
+
|
|
1138
|
+
| Name | Type | Default | Description |
|
|
1139
|
+
| --- | --- | --- | --- |
|
|
1140
|
+
| `activation` | `ChartBrushActivation` | `"shift-drag"` | Activation trigger gesture ('drag' or 'shift-drag'). |
|
|
1141
|
+
| `borderColor` | `string \| undefined` | `undefined` | Border color of the brush rectangle. |
|
|
1142
|
+
| `borderWidth` | `number \| undefined` | `undefined` | Border width in pixels of the brush rectangle. |
|
|
1143
|
+
| `enabled` | `boolean` | `true` | Whether brush gesture interaction is enabled. |
|
|
1144
|
+
| `fillColor` | `string \| undefined` | `undefined` | Background fill color of the brush rectangle. |
|
|
1145
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity of the brush rectangle. |
|
|
1146
|
+
| `hitPolicy` | `ChartBrushHitPolicy` | `"intersect"` | Mark spatial hit policy ('center' or 'intersect'). |
|
|
1147
|
+
| `lineStyle` | `ChartBrushLineStyle \| undefined` | `undefined` | Stroke dash style of the brush rectangle border ('solid', 'dashed', or 'dotted'). |
|
|
1148
|
+
| `minDragDistance` | `number` | `4` | Minimum drag distance in pixels before brush gesture activates. |
|
|
1149
|
+
| `mode` | `ChartBrushMode` | `"xy"` | Brush dimension constraint mode ('x', 'y', or 'xy'). |
|
|
1150
|
+
| `selectionBehavior` | `ChartBrushSelectionBehavior` | `"none"` | Selection interaction behavior when brushing over marks. |
|
|
1151
|
+
| `xAxisId` | `string \| undefined` | `undefined` | Optional Cartesian X axis ID to target. |
|
|
1152
|
+
| `yAxisId` | `string \| undefined` | `undefined` | Optional Cartesian Y axis ID to target. |
|
|
1153
|
+
|
|
1154
|
+
### Outputs
|
|
1155
|
+
|
|
1156
|
+
| Name | Type | Description |
|
|
1157
|
+
| --- | --- | --- |
|
|
1158
|
+
| `brushChange` | `ChartBrushChangeEvent<unknown>` | Emitted during brush lifecycle phases ('start', 'update', 'end', 'cancel'). |
|
|
1159
|
+
|
|
1160
|
+
## `ChartReferenceLineComponent`
|
|
1161
|
+
|
|
1162
|
+
Component.
|
|
1163
|
+
|
|
1164
|
+
Renders static horizontal or vertical benchmark lines in Cartesian XY charts.
|
|
1165
|
+
|
|
1166
|
+
**Selector:** `mona-chart-reference-line`
|
|
1167
|
+
|
|
1168
|
+
### Inputs
|
|
1169
|
+
|
|
1170
|
+
| Name | Type | Default | Description |
|
|
1171
|
+
| --- | --- | --- | --- |
|
|
1172
|
+
| `axis` (required) | `"x" \| "y"` | — | Target Cartesian axis dimension: 'x' or 'y'. |
|
|
1173
|
+
| `axisId` | `string \| undefined` | `undefined` | Explicit identifier of the target axis. Defaults to primary axis for the dimension. |
|
|
1174
|
+
| `class` | `string` | `""` | Custom CSS class name applied to the reference line host. |
|
|
1175
|
+
| `color` | `string \| undefined` | `undefined` | Stroke color of the reference line. |
|
|
1176
|
+
| `label` | `string` | `""` | Text label displayed alongside the reference line. |
|
|
1177
|
+
| `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
|
|
1178
|
+
| `labelOffset` | `number` | `6` | Pixel offset between the reference line and the label. |
|
|
1179
|
+
| `labelPosition` | `ChartReferenceLabelPosition` | `"end"` | Alignment position for the label: 'start', 'center', or 'end'. |
|
|
1180
|
+
| `layer` | `ChartOverlayLayer` | `"overlay"` | Render layer: 'underlay' (behind series) or 'overlay' (in front of series). |
|
|
1181
|
+
| `lineStyle` | `ChartReferenceLineStyle` | `"dashed"` | Line dash style: 'dashed', 'dotted', or 'solid'. |
|
|
1182
|
+
| `opacity` | `number \| undefined` | `undefined` | Stroke opacity of the reference line (0 to 1). |
|
|
1183
|
+
| `value` (required) | `ChartAnnotationAxisValue` | — | Semantic coordinate value or category key for the reference line. |
|
|
1184
|
+
| `visible` | `boolean` | `true` | Sets whether the reference line is visible. |
|
|
1185
|
+
| `width` | `number \| undefined` | `undefined` | Stroke width of the reference line in pixels. |
|
|
1186
|
+
|
|
1187
|
+
## `ChartRadialAxisComponent`
|
|
1188
|
+
|
|
1189
|
+
Component.
|
|
1190
|
+
|
|
1191
|
+
Configures the radial numeric dimension (distance from pole) in Polar Axis charts.
|
|
1192
|
+
|
|
1193
|
+
**Selector:** `mona-chart-radial-axis`
|
|
1194
|
+
|
|
1195
|
+
### Inputs
|
|
1196
|
+
|
|
1197
|
+
| Name | Type | Default | Description |
|
|
1198
|
+
| --- | --- | --- | --- |
|
|
1199
|
+
| `axisLine` | `boolean` | `true` | Whether the pole-to-boundary axis line along the label angle is rendered. |
|
|
1200
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the axis host element. |
|
|
1201
|
+
| `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for radial tick labels. |
|
|
1202
|
+
| `gridLines` | `boolean` | `true` | Whether concentric radial grid rings or polygons are visible. |
|
|
1203
|
+
| `gridShape` | `ChartRadialGridShape` | `"auto"` | Geometry of radial grid lines (`"auto"`, `"circle"`, or `"polygon"`). |
|
|
1204
|
+
| `labelAngle` | `number` | `0` | Angle in degrees at which radial tick labels are positioned (0 = 12 o'clock). |
|
|
1205
|
+
| `labelOffset` | `number` | `6` | Pixel offset between radial tick markers and their labels. |
|
|
1206
|
+
| `labels` | `boolean` | `true` | Whether radial tick numeric labels are rendered. |
|
|
1207
|
+
| `max` | `number \| undefined` | `undefined` | Explicit upper bound for the radial scale range. |
|
|
1208
|
+
| `min` | `number \| undefined` | `undefined` | Explicit lower bound for the radial scale range. |
|
|
1209
|
+
| `nice` | `boolean` | `true` | Automatically extends the radial domain to round, pleasant intervals. |
|
|
1210
|
+
| `tickCount` | `number \| undefined` | `5` | Suggested number of concentric radial intervals. |
|
|
1211
|
+
| `visible` | `boolean` | `true` | Whether the radial axis, grid rings, and tick labels are visible. |
|
|
1212
|
+
|
|
1213
|
+
## `ChartSelectionComponent`
|
|
1214
|
+
|
|
1215
|
+
Component.
|
|
1216
|
+
|
|
1217
|
+
Lets users select marks with the pointer and keyboard, and holds the selected mark IDs.
|
|
1218
|
+
|
|
1219
|
+
**Selector:** `mona-chart-selection`
|
|
1220
|
+
|
|
1221
|
+
### Inputs
|
|
1222
|
+
|
|
1223
|
+
| Name | Type | Default | Description |
|
|
1224
|
+
| --- | --- | --- | --- |
|
|
1225
|
+
| `clearOnBackgroundClick` | `boolean` | `true` | Whether clicking plot background clears active selection. |
|
|
1226
|
+
| `clickSelection` | `boolean` | `true` | Whether clicking marks selects/toggles them. |
|
|
1227
|
+
| `color` | `string \| undefined` | `undefined` | Selection highlight stroke color override. |
|
|
1228
|
+
| `defaultSelectedMarkIds` | `readonly string[]` | `[]` | Default selected mark IDs to seed initial uncontrolled selection. |
|
|
1229
|
+
| `enabled` | `boolean` | `true` | Whether selection interaction is enabled. |
|
|
1230
|
+
| `fillOpacity` | `number \| undefined` | `undefined` | Selection highlight fill opacity override. |
|
|
1231
|
+
| `keyboardSelection` | `boolean` | `true` | Whether keyboard Enter / Space on focused marks selects/toggles them. |
|
|
1232
|
+
| `mode` | `ChartSelectionMode` | `"single"` | Selection mode ('single' or 'multiple'). |
|
|
1233
|
+
| `retainOnDataChange` | `boolean` | `true` | Whether selected mark IDs are retained across dataset changes. |
|
|
1234
|
+
| `selectedMarkIds` | `readonly string[] \| undefined` | `undefined` | Controlled selected mark IDs. When defined, component acts as controlled state. Bind `[(selectedMarkIds)]` for two-way binding. |
|
|
1235
|
+
| `strokeWidth` | `number \| undefined` | `undefined` | Selection highlight stroke width override. |
|
|
1236
|
+
|
|
1237
|
+
### Outputs
|
|
1238
|
+
|
|
1239
|
+
| Name | Type | Description |
|
|
1240
|
+
| --- | --- | --- |
|
|
1241
|
+
| `selectedMarkIdsChange` | `readonly string[]` | Emits the proposed selected mark IDs. |
|
|
1242
|
+
| `selectionChange` | `ChartSelectionChangeEvent<unknown>` | Emitted when mark selection is proposed or changed. |
|
|
1243
|
+
|
|
1244
|
+
## `ChartAngularAxisComponent`
|
|
1245
|
+
|
|
1246
|
+
Component.
|
|
1247
|
+
|
|
1248
|
+
Configures the angular dimension (spokes and continuous degrees) in Polar Axis charts.
|
|
1249
|
+
|
|
1250
|
+
**Selector:** `mona-chart-angular-axis`
|
|
1251
|
+
|
|
1252
|
+
### Inputs
|
|
1253
|
+
|
|
1254
|
+
| Name | Type | Default | Description |
|
|
1255
|
+
| --- | --- | --- | --- |
|
|
1256
|
+
| `axisLine` | `boolean` | `true` | Whether the outer circular or polygonal baseline axis boundary line is rendered. |
|
|
1257
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the axis host element. |
|
|
1258
|
+
| `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for angular tick and spoke labels. |
|
|
1259
|
+
| `gridLines` | `boolean` | `true` | Whether radial angular spokes connecting the pole to outer categories/ticks are visible. |
|
|
1260
|
+
| `labelOffset` | `number` | `10` | Radial offset in pixels between the outer chart boundary and the angular labels. |
|
|
1261
|
+
| `labels` | `boolean` | `true` | Whether angular category or degree labels are rendered. |
|
|
1262
|
+
| `rotation` | `number` | `0` | Angular rotation offset in degrees applied clockwise to all spoke positions. |
|
|
1263
|
+
| `tickCount` | `number \| undefined` | `undefined` | Suggested number of degree ticks for polar charts (defaults to 12). Radar tick count is derived from categories. |
|
|
1264
|
+
| `visible` | `boolean` | `true` | Whether the angular axis, spokes, and labels are visible. |
|
|
1265
|
+
|
|
1266
|
+
## `ChartLegendComponent`
|
|
1267
|
+
|
|
1268
|
+
Component.
|
|
1269
|
+
|
|
1270
|
+
Adds a legend. Items toggle what they represent unless `interactive` is off.
|
|
1271
|
+
|
|
1272
|
+
**Selector:** `mona-chart-legend`
|
|
1273
|
+
|
|
1274
|
+
### Inputs
|
|
1275
|
+
|
|
1276
|
+
| Name | Type | Default | Description |
|
|
1277
|
+
| --- | --- | --- | --- |
|
|
1278
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the legend container. |
|
|
1279
|
+
| `interactive` | `boolean` | `true` | Whether clicking or pressing Enter/Space on legend items toggles series visibility. |
|
|
1280
|
+
| `mode` | `ChartLegendMode` | `"auto"` | Legend display mode: 'auto' (series items for standard charts, color scale for heatmap), 'series' (always series items), or 'color' (color gradient scale). |
|
|
1281
|
+
| `position` | `ChartLegendPosition` | `"bottom"` | Layout position of the legend (`"top"`, `"bottom"`, `"start"`, `"end"`, `"left"`, or `"right"`). `start` and `end` follow the direction; `left` and `right` stay on that side. |
|
|
1282
|
+
|
|
1283
|
+
## `ChartTooltipComponent`
|
|
1284
|
+
|
|
1285
|
+
Component.
|
|
1286
|
+
|
|
1287
|
+
Adds a tooltip for pointer and keyboard interaction. Use `ng-template[monaChartTooltipTemplate]` for custom content.
|
|
1288
|
+
|
|
1289
|
+
**Selector:** `mona-chart-tooltip`
|
|
1290
|
+
|
|
1291
|
+
### Inputs
|
|
1292
|
+
|
|
1293
|
+
| Name | Type | Default | Description |
|
|
1294
|
+
| --- | --- | --- | --- |
|
|
1295
|
+
| `class` | `string` | `""` | Additional CSS classes applied to the tooltip popup container. |
|
|
1296
|
+
| `enabled` | `boolean` | `true` | Whether the tooltip is enabled and will appear during interaction. |
|
|
1297
|
+
| `shared` | `boolean` | `false` | In shared mode, displays values for all visible series matching the active X coordinate. |
|
|
1298
|
+
|
|
1299
|
+
## `ChartAnnotationLabelTemplateDirective`
|
|
1300
|
+
|
|
1301
|
+
Directive.
|
|
1302
|
+
|
|
1303
|
+
**Selector:** `ng-template[monaChartAnnotationLabelTemplate], ng-template[monaChartAnnotationLabel]`
|
|
1304
|
+
|
|
1305
|
+
### Template context
|
|
1306
|
+
|
|
1307
|
+
| Name | Type |
|
|
1308
|
+
| --- | --- |
|
|
1309
|
+
| `$implicit` | `unknown` |
|
|
1310
|
+
| `data` | `unknown` |
|
|
1311
|
+
| `formattedX` | `string` |
|
|
1312
|
+
| `formattedY` | `string` |
|
|
1313
|
+
| `point` | `ChartPoint` |
|
|
1314
|
+
| `x` | `ChartAnnotationAxisValue` |
|
|
1315
|
+
| `xAxisId` | `string` |
|
|
1316
|
+
| `y` | `ChartAnnotationAxisValue` |
|
|
1317
|
+
| `yAxisId` | `string` |
|
|
1318
|
+
|
|
1319
|
+
## `ChartAxisLabelTemplateDirective`
|
|
1320
|
+
|
|
1321
|
+
Directive.
|
|
1322
|
+
|
|
1323
|
+
**Selector:** `ng-template[monaChartAxisLabelTemplate]`
|
|
1324
|
+
|
|
1325
|
+
### Template context
|
|
1326
|
+
|
|
1327
|
+
| Name | Type |
|
|
1328
|
+
| --- | --- |
|
|
1329
|
+
| `$implicit` | `unknown` |
|
|
1330
|
+
| `axis` | `"angular" \| "radial" \| "x" \| "y"` |
|
|
1331
|
+
| `axisId?` | `string \| undefined` |
|
|
1332
|
+
| `index` | `number` |
|
|
1333
|
+
| `position?` | `ChartAxisPosition \| undefined` |
|
|
1334
|
+
| `scaleType?` | `string \| undefined` |
|
|
1335
|
+
| `value` | `unknown` |
|
|
1336
|
+
|
|
1337
|
+
## `ChartCenterTemplateDirective`
|
|
1338
|
+
|
|
1339
|
+
Directive.
|
|
1340
|
+
|
|
1341
|
+
**Selector:** `ng-template[monaChartCenterTemplate]`
|
|
1342
|
+
|
|
1343
|
+
### Template context
|
|
1344
|
+
|
|
1345
|
+
| Name | Type |
|
|
1346
|
+
| --- | --- |
|
|
1347
|
+
| `$implicit` | `number` |
|
|
1348
|
+
| `formattedTotal` | `string` |
|
|
1349
|
+
| `seriesId` | `string` |
|
|
1350
|
+
| `seriesName` | `string` |
|
|
1351
|
+
| `total` | `number` |
|
|
1352
|
+
| `visibleSliceCount` | `number` |
|
|
1353
|
+
|
|
1354
|
+
## `ChartCrosshairLabelTemplateDirective`
|
|
1355
|
+
|
|
1356
|
+
Directive.
|
|
1357
|
+
|
|
1358
|
+
**Selector:** `ng-template[monaChartCrosshairLabelTemplate], ng-template[monaChartCrosshairLabel]`
|
|
1359
|
+
|
|
1360
|
+
### Template context
|
|
1361
|
+
|
|
1362
|
+
| Name | Type |
|
|
1363
|
+
| --- | --- |
|
|
1364
|
+
| `$implicit` | `unknown` |
|
|
1365
|
+
| `axis` | `"x" \| "y"` |
|
|
1366
|
+
| `axisId` | `string` |
|
|
1367
|
+
| `coordinate` | `number` |
|
|
1368
|
+
| `formattedValue` | `string` |
|
|
1369
|
+
| `snapped` | `boolean` |
|
|
1370
|
+
| `source` | `"keyboard" \| "pointer" \| "sync"` |
|
|
1371
|
+
| `value` | `unknown` |
|
|
1372
|
+
|
|
1373
|
+
## `ChartDataLabelTemplateDirective`
|
|
1374
|
+
|
|
1375
|
+
Directive.
|
|
1376
|
+
|
|
1377
|
+
**Selector:** `ng-template[monaChartDataLabelTemplate], ng-template[monaChartDataLabel]`
|
|
1378
|
+
**Type parameters:** `T = unknown`
|
|
1379
|
+
|
|
1380
|
+
### Template context
|
|
1381
|
+
|
|
1382
|
+
| Name | Type | Description |
|
|
1383
|
+
| --- | --- | --- |
|
|
1384
|
+
| `$implicit` | `ChartDataLabelContext<T>` | The same context object, so `let-context` in the template receives every field below. |
|
|
1385
|
+
| `close?` | `number \| undefined` | The closing price of a candlestick or OHLC mark. |
|
|
1386
|
+
| `color` | `string` | The color of the mark the label belongs to. Falls back to the series color, then to black. |
|
|
1387
|
+
| `dataIndex` | `number` | The index of the data item in the series data. |
|
|
1388
|
+
| `datum` | `T` | The data item the mark was drawn from. |
|
|
1389
|
+
| `formattedClose?` | `string \| undefined` | The closing price of a candlestick or OHLC mark, formatted for display. |
|
|
1390
|
+
| `formattedFrom?` | `string \| undefined` | The start value of a range bar or range area mark, formatted for display. |
|
|
1391
|
+
| `formattedHigh?` | `string \| undefined` | The high price of a candlestick or OHLC mark, formatted for display. |
|
|
1392
|
+
| `formattedLow?` | `string \| undefined` | The low price of a candlestick or OHLC mark, formatted for display. |
|
|
1393
|
+
| `formattedOpen?` | `string \| undefined` | The opening price of a candlestick or OHLC mark, formatted for display. |
|
|
1394
|
+
| `formattedSize?` | `string \| undefined` | The size value of a bubble mark, formatted for display. |
|
|
1395
|
+
| `formattedStackPercentage?` | `string \| undefined` | The mark's share of its stack total, formatted for display. The default label text for percent-stacked bar and area series. |
|
|
1396
|
+
| `formattedStackTotal?` | `string \| undefined` | The total of the stack the mark belongs to, formatted for display. |
|
|
1397
|
+
| `formattedTo?` | `string \| undefined` | The end value of a range bar or range area mark, formatted for display. |
|
|
1398
|
+
| `formattedValue` | `string` | The value text the chart shows for the mark. For range marks it joins the start and end values; for horizontal bars it is the formatted x value. |
|
|
1399
|
+
| `formattedX` | `string` | The x value of the mark, formatted for display. Empty when the mark has no x value. |
|
|
1400
|
+
| `formattedY` | `string` | The y value of the mark, formatted for display. Empty when the mark has no y value. |
|
|
1401
|
+
| `fromValue?` | `number \| undefined` | The start value of a range bar or range area mark. |
|
|
1402
|
+
| `high?` | `number \| undefined` | The high price of a candlestick or OHLC mark. |
|
|
1403
|
+
| `low?` | `number \| undefined` | The low price of a candlestick or OHLC mark. |
|
|
1404
|
+
| `markId` | `string` | A stable identifier of the mark within the chart, the same one selection events report. |
|
|
1405
|
+
| `open?` | `number \| undefined` | The opening price of a candlestick or OHLC mark. |
|
|
1406
|
+
| `rawValue?` | `unknown` | The value read from the data item before stacking or other processing, when the series provides one. |
|
|
1407
|
+
| `selected` | `boolean` | Persistent selection state for this mark. |
|
|
1408
|
+
| `seriesId` | `string` | The identifier of the series the mark belongs to. |
|
|
1409
|
+
| `seriesName` | `string` | The display name of the series the mark belongs to. |
|
|
1410
|
+
| `seriesType` | `ChartSeriesType` | The type of the series the mark belongs to, such as `"bar"` or `"line"`. |
|
|
1411
|
+
| `sizeValue?` | `number \| undefined` | The size value of a bubble mark. |
|
|
1412
|
+
| `stackEnd?` | `number \| undefined` | The value where the mark ends on its stack. |
|
|
1413
|
+
| `stackMode?` | `ChartStackMode \| undefined` | The stacking mode of the series, when the series is stacked. |
|
|
1414
|
+
| `stackPercentage?` | `number \| undefined` | The mark's share of its stack total, as a percentage. |
|
|
1415
|
+
| `stackStart?` | `number \| undefined` | The value where the mark starts on its stack. |
|
|
1416
|
+
| `stackTotal?` | `number \| undefined` | The total of the stack the mark belongs to. |
|
|
1417
|
+
| `toValue?` | `number \| undefined` | The end value of a range bar or range area mark. |
|
|
1418
|
+
| `value?` | `unknown` | The value of the mark. A `[from, to]` pair for range marks, the aggregate value for hierarchical marks, and the y value otherwise. |
|
|
1419
|
+
| `xValue?` | `unknown` | The x value of the mark. |
|
|
1420
|
+
| `yValue?` | `unknown` | The y value of the mark. |
|
|
1421
|
+
|
|
1422
|
+
## `ChartFunnelLabelTemplateDirective`
|
|
1423
|
+
|
|
1424
|
+
Directive.
|
|
1425
|
+
|
|
1426
|
+
**Selector:** `ng-template[monaChartFunnelLabelTemplate]`
|
|
1427
|
+
|
|
1428
|
+
### Template context
|
|
1429
|
+
|
|
1430
|
+
| Name | Type |
|
|
1431
|
+
| --- | --- |
|
|
1432
|
+
| `$implicit` | `ChartFunnelStageContext<unknown>` |
|
|
1433
|
+
| `bounds` | `ChartRect` |
|
|
1434
|
+
| `category` | `unknown` |
|
|
1435
|
+
| `color` | `string` |
|
|
1436
|
+
| `conversionRate?` | `number \| undefined` |
|
|
1437
|
+
| `dataIndex` | `number` |
|
|
1438
|
+
| `datum` | `unknown` |
|
|
1439
|
+
| `dropOff?` | `number \| undefined` |
|
|
1440
|
+
| `formattedCategory` | `string` |
|
|
1441
|
+
| `formattedConversionRate?` | `string \| undefined` |
|
|
1442
|
+
| `formattedOverallConversionRate?` | `string \| undefined` |
|
|
1443
|
+
| `formattedValue` | `string` |
|
|
1444
|
+
| `overallConversionRate?` | `number \| undefined` |
|
|
1445
|
+
| `previousValue?` | `number \| undefined` |
|
|
1446
|
+
| `stage` | `ChartFunnelStageContext<unknown>` |
|
|
1447
|
+
| `stageId` | `string` |
|
|
1448
|
+
| `stageIndex` | `number` |
|
|
1449
|
+
| `textColor?` | `string \| undefined` |
|
|
1450
|
+
| `value` | `number` |
|
|
1451
|
+
|
|
1452
|
+
## `ChartGaugeCenterTemplateDirective`
|
|
1453
|
+
|
|
1454
|
+
Directive.
|
|
1455
|
+
|
|
1456
|
+
**Selector:** `ng-template[monaChartGaugeCenterTemplate]`
|
|
1457
|
+
|
|
1458
|
+
### Template context
|
|
1459
|
+
|
|
1460
|
+
| Name | Type |
|
|
1461
|
+
| --- | --- |
|
|
1462
|
+
| `$implicit` | `number` |
|
|
1463
|
+
| `formattedMax` | `string` |
|
|
1464
|
+
| `formattedMin` | `string` |
|
|
1465
|
+
| `formattedValue` | `string` |
|
|
1466
|
+
| `isClamped` | `boolean` |
|
|
1467
|
+
| `max` | `number` |
|
|
1468
|
+
| `min` | `number` |
|
|
1469
|
+
| `ratio` | `number` |
|
|
1470
|
+
| `seriesId` | `string` |
|
|
1471
|
+
| `seriesName` | `string` |
|
|
1472
|
+
| `value` | `number` |
|
|
1473
|
+
|
|
1474
|
+
## `ChartLegendItemTemplateDirective`
|
|
1475
|
+
|
|
1476
|
+
Directive.
|
|
1477
|
+
|
|
1478
|
+
**Selector:** `ng-template[monaChartLegendItemTemplate]`
|
|
1479
|
+
|
|
1480
|
+
### Template context
|
|
1481
|
+
|
|
1482
|
+
| Name | Type |
|
|
1483
|
+
| --- | --- |
|
|
1484
|
+
| `$implicit` | `ChartLegendItem` |
|
|
1485
|
+
| `color` | `string` |
|
|
1486
|
+
| `dataIndex?` | `number \| undefined` |
|
|
1487
|
+
| `datum?` | `unknown` |
|
|
1488
|
+
| `interactive?` | `boolean \| undefined` |
|
|
1489
|
+
| `itemId` | `string` |
|
|
1490
|
+
| `kind?` | `ChartLegendItemKind \| undefined` |
|
|
1491
|
+
| `name` | `string` |
|
|
1492
|
+
| `percentage?` | `number \| undefined` |
|
|
1493
|
+
| `secondaryColor?` | `string \| undefined` |
|
|
1494
|
+
| `series` | `ChartLegendItem` |
|
|
1495
|
+
| `seriesId` | `string` |
|
|
1496
|
+
| `seriesType` | `ChartSeriesType` |
|
|
1497
|
+
| `value?` | `number \| undefined` |
|
|
1498
|
+
| `visible` | `boolean` |
|
|
1499
|
+
|
|
1500
|
+
## `ChartNoDataTemplateDirective`
|
|
1501
|
+
|
|
1502
|
+
Directive.
|
|
1503
|
+
|
|
1504
|
+
**Selector:** `ng-template[monaChartNoDataTemplate]`
|
|
1505
|
+
|
|
1506
|
+
## `ChartReferenceLabelTemplateDirective`
|
|
1507
|
+
|
|
1508
|
+
Directive.
|
|
1509
|
+
|
|
1510
|
+
**Selector:** `ng-template[monaChartReferenceLabelTemplate], ng-template[monaChartReferenceLabel]`
|
|
1511
|
+
|
|
1512
|
+
### Template context
|
|
1513
|
+
|
|
1514
|
+
| Name | Type |
|
|
1515
|
+
| --- | --- |
|
|
1516
|
+
| `$implicit` | `ChartAnnotationAxisValue \| { readonly from: ChartAnnotationAxisValue; readonly to: ChartAnnotationAxisValue; }` |
|
|
1517
|
+
| `axis` | `"x" \| "y"` |
|
|
1518
|
+
| `axisId` | `string` |
|
|
1519
|
+
| `bounds?` | `ChartRect \| undefined` |
|
|
1520
|
+
| `coordinate?` | `number \| undefined` |
|
|
1521
|
+
| `formattedFrom?` | `string \| undefined` |
|
|
1522
|
+
| `formattedTo?` | `string \| undefined` |
|
|
1523
|
+
| `formattedValue?` | `string \| undefined` |
|
|
1524
|
+
| `from?` | `ChartAnnotationAxisValue \| undefined` |
|
|
1525
|
+
| `kind` | `"line" \| "band"` |
|
|
1526
|
+
| `to?` | `ChartAnnotationAxisValue \| undefined` |
|
|
1527
|
+
| `value?` | `ChartAnnotationAxisValue \| undefined` |
|
|
1528
|
+
|
|
1529
|
+
## `ChartSliceLabelTemplateDirective`
|
|
1530
|
+
|
|
1531
|
+
Directive.
|
|
1532
|
+
|
|
1533
|
+
**Selector:** `ng-template[monaChartSliceLabelTemplate]`
|
|
1534
|
+
|
|
1535
|
+
### Template context
|
|
1536
|
+
|
|
1537
|
+
| Name | Type |
|
|
1538
|
+
| --- | --- |
|
|
1539
|
+
| `$implicit` | `ChartSliceContext` |
|
|
1540
|
+
| `category` | `unknown` |
|
|
1541
|
+
| `color` | `string` |
|
|
1542
|
+
| `dataIndex` | `number` |
|
|
1543
|
+
| `datum` | `unknown` |
|
|
1544
|
+
| `formattedCategory` | `string` |
|
|
1545
|
+
| `formattedPercentage` | `string` |
|
|
1546
|
+
| `formattedValue` | `string` |
|
|
1547
|
+
| `percentage` | `number` |
|
|
1548
|
+
| `seriesId` | `string` |
|
|
1549
|
+
| `seriesName` | `string` |
|
|
1550
|
+
| `seriesType` | `"donut" \| "pie"` |
|
|
1551
|
+
| `slice` | `ChartSliceContext` |
|
|
1552
|
+
| `value` | `number` |
|
|
1553
|
+
|
|
1554
|
+
## `ChartSubtitleTemplateDirective`
|
|
1555
|
+
|
|
1556
|
+
Directive.
|
|
1557
|
+
|
|
1558
|
+
**Selector:** `ng-template[monaChartSubtitleTemplate]`
|
|
1559
|
+
|
|
1560
|
+
### Template context
|
|
1561
|
+
|
|
1562
|
+
| Name | Type |
|
|
1563
|
+
| --- | --- |
|
|
1564
|
+
| `$implicit` | `string` |
|
|
1565
|
+
| `subtitle` | `string` |
|
|
1566
|
+
|
|
1567
|
+
## `ChartTitleTemplateDirective`
|
|
1568
|
+
|
|
1569
|
+
Directive.
|
|
1570
|
+
|
|
1571
|
+
**Selector:** `ng-template[monaChartTitleTemplate]`
|
|
1572
|
+
|
|
1573
|
+
### Template context
|
|
1574
|
+
|
|
1575
|
+
| Name | Type |
|
|
1576
|
+
| --- | --- |
|
|
1577
|
+
| `$implicit` | `string` |
|
|
1578
|
+
| `title` | `string` |
|
|
1579
|
+
|
|
1580
|
+
## `ChartTooltipTemplateDirective`
|
|
1581
|
+
|
|
1582
|
+
Directive.
|
|
1583
|
+
|
|
1584
|
+
**Selector:** `ng-template[monaChartTooltipTemplate]`
|
|
1585
|
+
|
|
1586
|
+
### Template context
|
|
1587
|
+
|
|
1588
|
+
| Name | Type |
|
|
1589
|
+
| --- | --- |
|
|
1590
|
+
| `$implicit` | `ChartTooltipPointContext<unknown>` |
|
|
1591
|
+
| `point` | `ChartTooltipPointContext<unknown>` |
|
|
1592
|
+
| `points` | `readonly ChartTooltipPointContext<unknown>[]` |
|
|
1593
|
+
| `series` | `readonly string[]` |
|
|
1594
|
+
| `shared` | `boolean` |
|
|
1595
|
+
|
|
1596
|
+
## `ChartTreemapLabelTemplateDirective`
|
|
1597
|
+
|
|
1598
|
+
Directive.
|
|
1599
|
+
|
|
1600
|
+
**Selector:** `ng-template[monaChartTreemapLabelTemplate]`
|
|
1601
|
+
|
|
1602
|
+
### Template context
|
|
1603
|
+
|
|
1604
|
+
| Name | Type |
|
|
1605
|
+
| --- | --- |
|
|
1606
|
+
| `$implicit` | `ChartHierarchyNodeContext<unknown>` |
|
|
1607
|
+
| `bounds` | `ChartRect` |
|
|
1608
|
+
| `color` | `string` |
|
|
1609
|
+
| `datum` | `unknown` |
|
|
1610
|
+
| `depth` | `number` |
|
|
1611
|
+
| `formattedLabel` | `string` |
|
|
1612
|
+
| `formattedPath` | `readonly string[]` |
|
|
1613
|
+
| `formattedValue` | `string` |
|
|
1614
|
+
| `isCollapsed` | `boolean` |
|
|
1615
|
+
| `isLeaf` | `boolean` |
|
|
1616
|
+
| `label` | `unknown` |
|
|
1617
|
+
| `node` | `ChartHierarchyNodeContext<unknown>` |
|
|
1618
|
+
| `nodeId` | `string` |
|
|
1619
|
+
| `path` | `readonly unknown[]` |
|
|
1620
|
+
| `percentageOfParent?` | `number \| undefined` |
|
|
1621
|
+
| `percentageOfRoot?` | `number \| undefined` |
|
|
1622
|
+
| `textColor` | `string` |
|
|
1623
|
+
| `value` | `number` |
|
|
1624
|
+
|
|
1625
|
+
## `ChartWaterfallLabelTemplateDirective`
|
|
1626
|
+
|
|
1627
|
+
Directive.
|
|
1628
|
+
|
|
1629
|
+
**Selector:** `ng-template[monaChartWaterfallLabelTemplate]`
|
|
1630
|
+
|
|
1631
|
+
### Template context
|
|
1632
|
+
|
|
1633
|
+
| Name | Type |
|
|
1634
|
+
| --- | --- |
|
|
1635
|
+
| `$implicit` | `ChartWaterfallPointContext<unknown>` |
|
|
1636
|
+
| `barEnd` | `number` |
|
|
1637
|
+
| `barStart` | `number` |
|
|
1638
|
+
| `bounds` | `ChartRect` |
|
|
1639
|
+
| `category` | `unknown` |
|
|
1640
|
+
| `color` | `string` |
|
|
1641
|
+
| `cumulativeAfter` | `number` |
|
|
1642
|
+
| `cumulativeBefore` | `number` |
|
|
1643
|
+
| `dataIndex` | `number` |
|
|
1644
|
+
| `datum` | `unknown` |
|
|
1645
|
+
| `deltaValue?` | `number \| undefined` |
|
|
1646
|
+
| `formattedCategory` | `string` |
|
|
1647
|
+
| `formattedCumulativeAfter` | `string` |
|
|
1648
|
+
| `formattedCumulativeBefore` | `string` |
|
|
1649
|
+
| `formattedDelta?` | `string \| undefined` |
|
|
1650
|
+
| `formattedValue` | `string` |
|
|
1651
|
+
| `kind` | `ChartWaterfallDatumKind` |
|
|
1652
|
+
| `step` | `ChartWaterfallPointContext<unknown>` |
|
|
1653
|
+
| `textColor?` | `string \| undefined` |
|
|
1654
|
+
| `value` | `number` |
|
|
1655
|
+
| `visualKind` | `ChartWaterfallVisualKind` |
|
|
1656
|
+
|
|
1657
|
+
## `ChartExportError`
|
|
1658
|
+
|
|
1659
|
+
Class.
|
|
1660
|
+
|
|
1661
|
+
Error thrown when a chart export operation fails.
|
|
1662
|
+
|
|
1663
|
+
### Properties
|
|
1664
|
+
|
|
1665
|
+
| Name | Type |
|
|
1666
|
+
| --- | --- |
|
|
1667
|
+
| `code` (read-only) | `ChartExportErrorCode` |
|
|
1668
|
+
|
|
1669
|
+
## `chartItemCategoryId`
|
|
1670
|
+
|
|
1671
|
+
Function.
|
|
1672
|
+
|
|
1673
|
+
The ID of the item whose category is `category`, as a radial bar or rose series gives an item without a `keyField`
|
|
1674
|
+
value. Use it in `hiddenItemIds`. Returns `undefined` for a number that isn't finite or a date that isn't valid,
|
|
1675
|
+
which can't identify an item.
|
|
1676
|
+
|
|
1677
|
+
```typescript
|
|
1678
|
+
function chartItemCategoryId(category: boolean | string): string;
|
|
1679
|
+
function chartItemCategoryId(category: ChartItemKey): string | undefined;
|
|
1680
|
+
```
|
|
1681
|
+
|
|
1682
|
+
## `chartItemIndexId`
|
|
1683
|
+
|
|
1684
|
+
Function.
|
|
1685
|
+
|
|
1686
|
+
The ID of the item in row `index`, as a funnel stage, waterfall step, or radial bar or rose item gets it when it has
|
|
1687
|
+
no `keyField` value (and, for a radial series, no category). It follows the position, not the row.
|
|
1688
|
+
|
|
1689
|
+
```typescript
|
|
1690
|
+
function chartItemIndexId(index: number): string;
|
|
1691
|
+
```
|
|
1692
|
+
|
|
1693
|
+
## `chartItemKeyId`
|
|
1694
|
+
|
|
1695
|
+
Function.
|
|
1696
|
+
|
|
1697
|
+
The ID of the item whose `keyField` value is `key`, as funnel stages, treemap nodes, waterfall steps and radial bar
|
|
1698
|
+
and rose items use it. Use it in `hiddenStageIds`, `hiddenNodeIds` or `hiddenItemIds`, or to compare with an ID an
|
|
1699
|
+
event gives. Returns `undefined` for a number that isn't finite or a date that isn't valid, which can't be a key.
|
|
1700
|
+
|
|
1701
|
+
```typescript
|
|
1702
|
+
function chartItemKeyId(key: boolean | string): string;
|
|
1703
|
+
function chartItemKeyId(key: ChartItemKey): string | undefined;
|
|
1704
|
+
```
|
|
1705
|
+
|
|
1706
|
+
## `getChartSeriesFamily`
|
|
1707
|
+
|
|
1708
|
+
Function.
|
|
1709
|
+
|
|
1710
|
+
```typescript
|
|
1711
|
+
function getChartSeriesFamily(type: ChartSeriesType): ChartSeriesFamily;
|
|
1712
|
+
```
|
|
1713
|
+
|
|
1714
|
+
## `isCartesianCoordinateFamily`
|
|
1715
|
+
|
|
1716
|
+
Function.
|
|
1717
|
+
|
|
1718
|
+
```typescript
|
|
1719
|
+
function isCartesianCoordinateFamily(family: ChartSeriesFamily): boolean;
|
|
1720
|
+
```
|
|
1721
|
+
|
|
1722
|
+
## `isHierarchicalCoordinateFamily`
|
|
1723
|
+
|
|
1724
|
+
Function.
|
|
1725
|
+
|
|
1726
|
+
```typescript
|
|
1727
|
+
function isHierarchicalCoordinateFamily(family: ChartSeriesFamily): boolean;
|
|
1728
|
+
```
|
|
1729
|
+
|
|
1730
|
+
## `isPolarCoordinateFamily`
|
|
1731
|
+
|
|
1732
|
+
Function.
|
|
1733
|
+
|
|
1734
|
+
```typescript
|
|
1735
|
+
function isPolarCoordinateFamily(family: ChartSeriesFamily): boolean;
|
|
1736
|
+
```
|
|
1737
|
+
|
|
1738
|
+
## `CHART_DEFAULT_MESSAGES`
|
|
1739
|
+
|
|
1740
|
+
Constant.
|
|
1741
|
+
|
|
1742
|
+
```typescript
|
|
1743
|
+
const CHART_DEFAULT_MESSAGES: MonaChartMessages;
|
|
1744
|
+
```
|
|
1745
|
+
|
|
1746
|
+
## `ChartAnimationOptions`
|
|
1747
|
+
|
|
1748
|
+
Interface.
|
|
1749
|
+
|
|
1750
|
+
### Properties
|
|
1751
|
+
|
|
1752
|
+
| Name | Type |
|
|
1753
|
+
| --- | --- |
|
|
1754
|
+
| `data?` (read-only) | `boolean` |
|
|
1755
|
+
| `duration?` (read-only) | `number` |
|
|
1756
|
+
| `easing?` (read-only) | `ChartAnimationEasing` |
|
|
1757
|
+
| `enabled?` (read-only) | `boolean` |
|
|
1758
|
+
| `initial?` (read-only) | `boolean` |
|
|
1759
|
+
| `visibility?` (read-only) | `boolean` |
|
|
1760
|
+
|
|
1761
|
+
**Used by:** [`ChartAnimationInput`](chart.md#chartanimationinput)
|
|
1762
|
+
|
|
1763
|
+
## `ChartAnnotationLabelTemplateContext`
|
|
1764
|
+
|
|
1765
|
+
Interface.
|
|
1766
|
+
|
|
1767
|
+
**Type parameters:** `TData = unknown`
|
|
1768
|
+
|
|
1769
|
+
### Properties
|
|
1770
|
+
|
|
1771
|
+
| Name | Type |
|
|
1772
|
+
| --- | --- |
|
|
1773
|
+
| `$implicit` (read-only) | `TData` |
|
|
1774
|
+
| `data` (read-only) | `TData` |
|
|
1775
|
+
| `formattedX` (read-only) | `string` |
|
|
1776
|
+
| `formattedY` (read-only) | `string` |
|
|
1777
|
+
| `point` (read-only) | `ChartPoint` |
|
|
1778
|
+
| `x` (read-only) | `ChartAnnotationAxisValue` |
|
|
1779
|
+
| `xAxisId` (read-only) | `string` |
|
|
1780
|
+
| `y` (read-only) | `ChartAnnotationAxisValue` |
|
|
1781
|
+
| `yAxisId` (read-only) | `string` |
|
|
1782
|
+
|
|
1783
|
+
## `ChartAxisLabelTemplateContext`
|
|
1784
|
+
|
|
1785
|
+
Interface.
|
|
1786
|
+
|
|
1787
|
+
**Type parameters:** `T = unknown`
|
|
1788
|
+
|
|
1789
|
+
### Properties
|
|
1790
|
+
|
|
1791
|
+
| Name | Type |
|
|
1792
|
+
| --- | --- |
|
|
1793
|
+
| `$implicit` | `T` |
|
|
1794
|
+
| `axis` | `"angular" \| "radial" \| "x" \| "y"` |
|
|
1795
|
+
| `axisId?` | `string` |
|
|
1796
|
+
| `index` | `number` |
|
|
1797
|
+
| `position?` | `ChartAxisPosition` |
|
|
1798
|
+
| `scaleType?` | `ChartXAxisType \| string` |
|
|
1799
|
+
| `value` | `T` |
|
|
1800
|
+
|
|
1801
|
+
## `ChartAxisTick`
|
|
1802
|
+
|
|
1803
|
+
Interface.
|
|
1804
|
+
|
|
1805
|
+
**Type parameters:** `T = unknown`
|
|
1806
|
+
|
|
1807
|
+
### Properties
|
|
1808
|
+
|
|
1809
|
+
| Name | Type |
|
|
1810
|
+
| --- | --- |
|
|
1811
|
+
| `coordinate` | `number` |
|
|
1812
|
+
| `formattedValue` | `string` |
|
|
1813
|
+
| `index` | `number` |
|
|
1814
|
+
| `value` | `T` |
|
|
1815
|
+
|
|
1816
|
+
## `ChartBrushCategoryRange`
|
|
1817
|
+
|
|
1818
|
+
Interface.
|
|
1819
|
+
|
|
1820
|
+
### Properties
|
|
1821
|
+
|
|
1822
|
+
| Name | Type |
|
|
1823
|
+
| --- | --- |
|
|
1824
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
1825
|
+
| `axisId` (read-only) | `string` |
|
|
1826
|
+
| `fromIndex` (read-only) | `number` |
|
|
1827
|
+
| `fromValue` (read-only) | `unknown` |
|
|
1828
|
+
| `kind` (read-only) | `"category"` |
|
|
1829
|
+
| `toIndex` (read-only) | `number` |
|
|
1830
|
+
| `toValue` (read-only) | `unknown` |
|
|
1831
|
+
|
|
1832
|
+
**Used by:** [`ChartBrushAxisRange`](chart.md#chartbrushaxisrange)
|
|
1833
|
+
|
|
1834
|
+
## `ChartBrushChangeEvent`
|
|
1835
|
+
|
|
1836
|
+
Interface.
|
|
1837
|
+
|
|
1838
|
+
**Type parameters:** `T = unknown`
|
|
1839
|
+
|
|
1840
|
+
### Properties
|
|
1841
|
+
|
|
1842
|
+
| Name | Type |
|
|
1843
|
+
| --- | --- |
|
|
1844
|
+
| `cancelReason?` (read-only) | `ChartBrushCancelReason` |
|
|
1845
|
+
| `matchedMarkIds?` (read-only) | `readonly string[]` |
|
|
1846
|
+
| `matchedPoints?` (read-only) | `readonly ChartSelectedPoint<T>[]` |
|
|
1847
|
+
| `mode` (read-only) | `ChartBrushMode` |
|
|
1848
|
+
| `phase` (read-only) | `ChartBrushPhase` |
|
|
1849
|
+
| `pixelBounds` (read-only) | `ChartRect \| null` |
|
|
1850
|
+
| `xRange?` (read-only) | `ChartBrushAxisRange` |
|
|
1851
|
+
| `yRange?` (read-only) | `ChartBrushAxisRange` |
|
|
1852
|
+
|
|
1853
|
+
**Used by:** [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
1854
|
+
|
|
1855
|
+
## `ChartBrushContinuousRange`
|
|
1856
|
+
|
|
1857
|
+
Interface.
|
|
1858
|
+
|
|
1859
|
+
### Properties
|
|
1860
|
+
|
|
1861
|
+
| Name | Type |
|
|
1862
|
+
| --- | --- |
|
|
1863
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
1864
|
+
| `axisId` (read-only) | `string` |
|
|
1865
|
+
| `from` (read-only) | `number \| Date` |
|
|
1866
|
+
| `kind` (read-only) | `"continuous"` |
|
|
1867
|
+
| `scaleType` (read-only) | `"linear" \| "log" \| "pow" \| "sqrt" \| "symlog" \| "time" \| "utc"` |
|
|
1868
|
+
| `to` (read-only) | `number \| Date` |
|
|
1869
|
+
|
|
1870
|
+
**Used by:** [`ChartBrushAxisRange`](chart.md#chartbrushaxisrange)
|
|
1871
|
+
|
|
1872
|
+
## `ChartCategoryViewportWindow`
|
|
1873
|
+
|
|
1874
|
+
Interface.
|
|
1875
|
+
|
|
1876
|
+
**Extends:** `ChartViewportAxisRef`
|
|
1877
|
+
|
|
1878
|
+
### Properties
|
|
1879
|
+
|
|
1880
|
+
| Name | Type |
|
|
1881
|
+
| --- | --- |
|
|
1882
|
+
| `endIndexExclusive` (read-only) | `number` |
|
|
1883
|
+
| `kind` (read-only) | `"category"` |
|
|
1884
|
+
| `startIndex` (read-only) | `number` |
|
|
1885
|
+
|
|
1886
|
+
### Inherited from `ChartViewportAxisRef`
|
|
1887
|
+
|
|
1888
|
+
| Name | Type |
|
|
1889
|
+
| --- | --- |
|
|
1890
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
1891
|
+
| `axisId` (read-only) | `string` |
|
|
1892
|
+
|
|
1893
|
+
**Used by:** [`ChartViewportWindow`](chart.md#chartviewportwindow)
|
|
1894
|
+
|
|
1895
|
+
## `ChartCenterTemplateContext`
|
|
1896
|
+
|
|
1897
|
+
Interface.
|
|
1898
|
+
|
|
1899
|
+
### Properties
|
|
1900
|
+
|
|
1901
|
+
| Name | Type |
|
|
1902
|
+
| --- | --- |
|
|
1903
|
+
| `$implicit` | `number` |
|
|
1904
|
+
| `formattedTotal` | `string` |
|
|
1905
|
+
| `seriesId` | `string` |
|
|
1906
|
+
| `seriesName` | `string` |
|
|
1907
|
+
| `total` | `number` |
|
|
1908
|
+
| `visibleSliceCount` | `number` |
|
|
1909
|
+
|
|
1910
|
+
## `ChartColorLegendScale`
|
|
1911
|
+
|
|
1912
|
+
Interface.
|
|
1913
|
+
|
|
1914
|
+
### Properties
|
|
1915
|
+
|
|
1916
|
+
| Name | Type |
|
|
1917
|
+
| --- | --- |
|
|
1918
|
+
| `formattedMax` (read-only) | `string` |
|
|
1919
|
+
| `formattedMidpoint?` (read-only) | `string` |
|
|
1920
|
+
| `formattedMin` (read-only) | `string` |
|
|
1921
|
+
| `kind` (read-only) | `"color"` |
|
|
1922
|
+
| `midpoint?` (read-only) | `number` |
|
|
1923
|
+
| `mode` (read-only) | `ChartHeatmapColorMode` |
|
|
1924
|
+
| `stops` (read-only) | `readonly ChartColorLegendStop[]` |
|
|
1925
|
+
| `ticks` (read-only) | `readonly ChartColorLegendTick[]` |
|
|
1926
|
+
| `title` (read-only) | `string` |
|
|
1927
|
+
|
|
1928
|
+
## `ChartColorLegendStop`
|
|
1929
|
+
|
|
1930
|
+
Interface.
|
|
1931
|
+
|
|
1932
|
+
### Properties
|
|
1933
|
+
|
|
1934
|
+
| Name | Type |
|
|
1935
|
+
| --- | --- |
|
|
1936
|
+
| `color` (read-only) | `string` |
|
|
1937
|
+
| `offset` (read-only) | `number` |
|
|
1938
|
+
| `value` (read-only) | `number` |
|
|
1939
|
+
|
|
1940
|
+
**Used by:** [`ChartColorLegendScale`](chart.md#chartcolorlegendscale)
|
|
1941
|
+
|
|
1942
|
+
## `ChartColorLegendTick`
|
|
1943
|
+
|
|
1944
|
+
Interface.
|
|
1945
|
+
|
|
1946
|
+
### Properties
|
|
1947
|
+
|
|
1948
|
+
| Name | Type |
|
|
1949
|
+
| --- | --- |
|
|
1950
|
+
| `formattedValue` (read-only) | `string` |
|
|
1951
|
+
| `offset` (read-only) | `number` |
|
|
1952
|
+
| `value` (read-only) | `number` |
|
|
1953
|
+
|
|
1954
|
+
**Used by:** [`ChartColorLegendScale`](chart.md#chartcolorlegendscale)
|
|
1955
|
+
|
|
1956
|
+
## `ChartContinuousViewportWindow`
|
|
1957
|
+
|
|
1958
|
+
Interface.
|
|
1959
|
+
|
|
1960
|
+
**Extends:** `ChartViewportAxisRef`
|
|
1961
|
+
|
|
1962
|
+
### Properties
|
|
1963
|
+
|
|
1964
|
+
| Name | Type |
|
|
1965
|
+
| --- | --- |
|
|
1966
|
+
| `kind` (read-only) | `"continuous"` |
|
|
1967
|
+
| `max` (read-only) | `Date \| number` |
|
|
1968
|
+
| `min` (read-only) | `Date \| number` |
|
|
1969
|
+
|
|
1970
|
+
### Inherited from `ChartViewportAxisRef`
|
|
1971
|
+
|
|
1972
|
+
| Name | Type |
|
|
1973
|
+
| --- | --- |
|
|
1974
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
1975
|
+
| `axisId` (read-only) | `string` |
|
|
1976
|
+
|
|
1977
|
+
**Used by:** [`ChartViewportWindow`](chart.md#chartviewportwindow)
|
|
1978
|
+
|
|
1979
|
+
## `ChartCrosshairAxisLabelContext`
|
|
1980
|
+
|
|
1981
|
+
Interface.
|
|
1982
|
+
|
|
1983
|
+
**Type parameters:** `T = unknown`
|
|
1984
|
+
|
|
1985
|
+
### Properties
|
|
1986
|
+
|
|
1987
|
+
| Name | Type |
|
|
1988
|
+
| --- | --- |
|
|
1989
|
+
| `$implicit` (read-only) | `T` |
|
|
1990
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
1991
|
+
| `axisId` (read-only) | `string` |
|
|
1992
|
+
| `coordinate` (read-only) | `number` |
|
|
1993
|
+
| `formattedValue` (read-only) | `string` |
|
|
1994
|
+
| `snapped` (read-only) | `boolean` |
|
|
1995
|
+
| `source` (read-only) | `"keyboard" \| "pointer" \| "sync"` |
|
|
1996
|
+
| `value` (read-only) | `T` |
|
|
1997
|
+
|
|
1998
|
+
## `ChartCrosshairResolvedAxisValue`
|
|
1999
|
+
|
|
2000
|
+
Interface.
|
|
2001
|
+
|
|
2002
|
+
**Type parameters:** `T = unknown`
|
|
2003
|
+
|
|
2004
|
+
### Properties
|
|
2005
|
+
|
|
2006
|
+
| Name | Type |
|
|
2007
|
+
| --- | --- |
|
|
2008
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
2009
|
+
| `axisId` (read-only) | `string` |
|
|
2010
|
+
| `coordinate` (read-only) | `number` |
|
|
2011
|
+
| `formattedValue` (read-only) | `string` |
|
|
2012
|
+
| `value` (read-only) | `T` |
|
|
2013
|
+
|
|
2014
|
+
## `ChartCrosshairSynchronizationOptions`
|
|
2015
|
+
|
|
2016
|
+
Interface.
|
|
2017
|
+
|
|
2018
|
+
### Properties
|
|
2019
|
+
|
|
2020
|
+
| Name | Type |
|
|
2021
|
+
| --- | --- |
|
|
2022
|
+
| `axes?` (read-only) | `"auto" \| "x" \| "xy" \| "y"` |
|
|
2023
|
+
| `clearOnLeave?` (read-only) | `boolean` |
|
|
2024
|
+
| `enabled?` (read-only) | `boolean` |
|
|
2025
|
+
| `match?` (read-only) | `"axis-value" \| "nearest-point"` |
|
|
2026
|
+
| `mode?` (read-only) | `ChartSynchronizationMode` |
|
|
2027
|
+
| `showTooltip?` (read-only) | `boolean` |
|
|
2028
|
+
|
|
2029
|
+
**Used by:** [`ChartSynchronizationOptions`](chart.md#chartsynchronizationoptions)
|
|
2030
|
+
|
|
2031
|
+
## `ChartDataLabelContext`
|
|
2032
|
+
|
|
2033
|
+
Interface.
|
|
2034
|
+
|
|
2035
|
+
**Type parameters:** `T = unknown`
|
|
2036
|
+
|
|
2037
|
+
### Properties
|
|
2038
|
+
|
|
2039
|
+
| Name | Type | Description |
|
|
2040
|
+
| --- | --- | --- |
|
|
2041
|
+
| `$implicit` (read-only) | `ChartDataLabelContext<T>` | The same context object, so `let-context` in the template receives every field below. |
|
|
2042
|
+
| `close?` (read-only) | `number` | The closing price of a candlestick or OHLC mark. |
|
|
2043
|
+
| `color` (read-only) | `string` | The color of the mark the label belongs to. Falls back to the series color, then to black. |
|
|
2044
|
+
| `dataIndex` (read-only) | `number` | The index of the data item in the series data. |
|
|
2045
|
+
| `datum` (read-only) | `T` | The data item the mark was drawn from. |
|
|
2046
|
+
| `formattedClose?` (read-only) | `string` | The closing price of a candlestick or OHLC mark, formatted for display. |
|
|
2047
|
+
| `formattedFrom?` (read-only) | `string` | The start value of a range bar or range area mark, formatted for display. |
|
|
2048
|
+
| `formattedHigh?` (read-only) | `string` | The high price of a candlestick or OHLC mark, formatted for display. |
|
|
2049
|
+
| `formattedLow?` (read-only) | `string` | The low price of a candlestick or OHLC mark, formatted for display. |
|
|
2050
|
+
| `formattedOpen?` (read-only) | `string` | The opening price of a candlestick or OHLC mark, formatted for display. |
|
|
2051
|
+
| `formattedSize?` (read-only) | `string` | The size value of a bubble mark, formatted for display. |
|
|
2052
|
+
| `formattedStackPercentage?` (read-only) | `string` | The mark's share of its stack total, formatted for display. The default label text for percent-stacked bar and area series. |
|
|
2053
|
+
| `formattedStackTotal?` (read-only) | `string` | The total of the stack the mark belongs to, formatted for display. |
|
|
2054
|
+
| `formattedTo?` (read-only) | `string` | The end value of a range bar or range area mark, formatted for display. |
|
|
2055
|
+
| `formattedValue` (read-only) | `string` | The value text the chart shows for the mark. For range marks it joins the start and end values; for horizontal bars it is the formatted x value. |
|
|
2056
|
+
| `formattedX` (read-only) | `string` | The x value of the mark, formatted for display. Empty when the mark has no x value. |
|
|
2057
|
+
| `formattedY` (read-only) | `string` | The y value of the mark, formatted for display. Empty when the mark has no y value. |
|
|
2058
|
+
| `fromValue?` (read-only) | `number` | The start value of a range bar or range area mark. |
|
|
2059
|
+
| `high?` (read-only) | `number` | The high price of a candlestick or OHLC mark. |
|
|
2060
|
+
| `low?` (read-only) | `number` | The low price of a candlestick or OHLC mark. |
|
|
2061
|
+
| `markId` (read-only) | `string` | A stable identifier of the mark within the chart, the same one selection events report. |
|
|
2062
|
+
| `open?` (read-only) | `number` | The opening price of a candlestick or OHLC mark. |
|
|
2063
|
+
| `rawValue?` (read-only) | `unknown` | The value read from the data item before stacking or other processing, when the series provides one. |
|
|
2064
|
+
| `selected` (read-only) | `boolean` | Persistent selection state for this mark. |
|
|
2065
|
+
| `seriesId` (read-only) | `string` | The identifier of the series the mark belongs to. |
|
|
2066
|
+
| `seriesName` (read-only) | `string` | The display name of the series the mark belongs to. |
|
|
2067
|
+
| `seriesType` (read-only) | `ChartSeriesType` | The type of the series the mark belongs to, such as `"bar"` or `"line"`. |
|
|
2068
|
+
| `sizeValue?` (read-only) | `number` | The size value of a bubble mark. |
|
|
2069
|
+
| `stackEnd?` (read-only) | `number` | The value where the mark ends on its stack. |
|
|
2070
|
+
| `stackMode?` (read-only) | `ChartStackMode` | The stacking mode of the series, when the series is stacked. |
|
|
2071
|
+
| `stackPercentage?` (read-only) | `number` | The mark's share of its stack total, as a percentage. |
|
|
2072
|
+
| `stackStart?` (read-only) | `number` | The value where the mark starts on its stack. |
|
|
2073
|
+
| `stackTotal?` (read-only) | `number` | The total of the stack the mark belongs to. |
|
|
2074
|
+
| `toValue?` (read-only) | `number` | The end value of a range bar or range area mark. |
|
|
2075
|
+
| `value?` (read-only) | `unknown` | The value of the mark. A `[from, to]` pair for range marks, the aggregate value for hierarchical marks, and the y value otherwise. |
|
|
2076
|
+
| `xValue?` (read-only) | `unknown` | The x value of the mark. |
|
|
2077
|
+
| `yValue?` (read-only) | `unknown` | The y value of the mark. |
|
|
2078
|
+
|
|
2079
|
+
**Used by:** [`ChartDataLabelFormatter`](chart.md#chartdatalabelformatter), [`ChartDataLabelTemplateDirective`](chart.md#chartdatalabeltemplatedirective)
|
|
2080
|
+
|
|
2081
|
+
## `ChartDataLabelOptions`
|
|
2082
|
+
|
|
2083
|
+
Interface.
|
|
2084
|
+
|
|
2085
|
+
### Properties
|
|
2086
|
+
|
|
2087
|
+
| Name | Type | Description |
|
|
2088
|
+
| --- | --- | --- |
|
|
2089
|
+
| `allowOverlap?` | `boolean` | Whether labels may overlap other generic data labels. Default: false |
|
|
2090
|
+
| `collisionPadding?` | `number` | Collision padding around the label bounds. Default: 2 |
|
|
2091
|
+
| `color?` | `string` | Optional text color override. |
|
|
2092
|
+
| `formatter?` | `ChartDataLabelFormatter` | Optional semantic formatter. Returning null/undefined/"" suppresses that label. |
|
|
2093
|
+
| `maxLabels?` | `number` | Maximum accepted labels for this series. Default: 200 |
|
|
2094
|
+
| `offset?` | `number` | Distance in CSS pixels between the mark anchor and label. Default: 6 |
|
|
2095
|
+
| `overflow?` | `"clip" \| "hide"` | Plot-boundary behavior. Default: "hide" |
|
|
2096
|
+
| `position?` | `ChartDataLabelPosition` | Placement strategy. Default: "auto" |
|
|
2097
|
+
|
|
2098
|
+
**Used by:** [`ChartDataLabelsInput`](chart.md#chartdatalabelsinput)
|
|
2099
|
+
|
|
2100
|
+
## `ChartDownsamplingOptions`
|
|
2101
|
+
|
|
2102
|
+
Interface.
|
|
2103
|
+
|
|
2104
|
+
### Properties
|
|
2105
|
+
|
|
2106
|
+
| Name | Type |
|
|
2107
|
+
| --- | --- |
|
|
2108
|
+
| `algorithm?` (read-only) | `ChartDownsamplingAlgorithm` |
|
|
2109
|
+
| `enabled?` (read-only) | `boolean` |
|
|
2110
|
+
| `maxPoints?` (read-only) | `number` |
|
|
2111
|
+
| `samplesPerPixel?` (read-only) | `number` |
|
|
2112
|
+
| `threshold?` (read-only) | `number` |
|
|
2113
|
+
|
|
2114
|
+
**Used by:** [`ChartDownsamplingInput`](chart.md#chartdownsamplinginput)
|
|
2115
|
+
|
|
2116
|
+
## `ChartExportBaseOptions`
|
|
2117
|
+
|
|
2118
|
+
Interface.
|
|
2119
|
+
|
|
2120
|
+
Shared base options for all chart export formats.
|
|
2121
|
+
|
|
2122
|
+
### Properties
|
|
2123
|
+
|
|
2124
|
+
| Name | Type | Description |
|
|
2125
|
+
| --- | --- | --- |
|
|
2126
|
+
| `background?` (read-only) | `ChartExportBackground` | Background color policy or explicit CSS color. Default: "auto". |
|
|
2127
|
+
| `height?` (read-only) | `number` | Optional logical output height in CSS pixels. When omitted, the current chart aspect ratio or source height is preserved. |
|
|
2128
|
+
| `presentation?` (read-only) | `ChartExportPresentationOptions` | Optional presentation options controlling selection, crosshair, and brush inclusion. |
|
|
2129
|
+
| `signal?` (read-only) | `AbortSignal` | Optional AbortSignal for aborting the export operation. |
|
|
2130
|
+
| `width?` (read-only) | `number` | Optional logical output width in CSS pixels. When omitted, the current chart width is preserved. |
|
|
2131
|
+
|
|
2132
|
+
**Used by:** [`ChartPdfExportOptions`](chart.md#chartpdfexportoptions), [`ChartPngExportOptions`](chart.md#chartpngexportoptions), [`ChartSvgExportOptions`](chart.md#chartsvgexportoptions)
|
|
2133
|
+
|
|
2134
|
+
## `ChartExportPresentationOptions`
|
|
2135
|
+
|
|
2136
|
+
Interface.
|
|
2137
|
+
|
|
2138
|
+
Options controlling which interactive/presentation elements are included in the export.
|
|
2139
|
+
|
|
2140
|
+
### Properties
|
|
2141
|
+
|
|
2142
|
+
| Name | Type | Description |
|
|
2143
|
+
| --- | --- | --- |
|
|
2144
|
+
| `brush?` (read-only) | `boolean` | Whether to include active brush marquee overlay. Default: false. |
|
|
2145
|
+
| `crosshair?` (read-only) | `boolean` | Whether to include active crosshair overlay and axis badges. Default: false. |
|
|
2146
|
+
| `selection?` (read-only) | `boolean` | Whether to include persistent mark selection visuals. Default: true. |
|
|
2147
|
+
|
|
2148
|
+
**Used by:** [`ChartExportBaseOptions`](chart.md#chartexportbaseoptions)
|
|
2149
|
+
|
|
2150
|
+
## `ChartExportResult`
|
|
2151
|
+
|
|
2152
|
+
Interface.
|
|
2153
|
+
|
|
2154
|
+
Result of a chart export operation.
|
|
2155
|
+
|
|
2156
|
+
### Properties
|
|
2157
|
+
|
|
2158
|
+
| Name | Type | Description |
|
|
2159
|
+
| --- | --- | --- |
|
|
2160
|
+
| `blob` (read-only) | `Blob` | The generated binary Blob containing the exported chart. |
|
|
2161
|
+
| `format` (read-only) | `ChartExportFormat` | The export format that was produced. |
|
|
2162
|
+
| `height` (read-only) | `number` | The logical output height in CSS pixels. |
|
|
2163
|
+
| `mimeType` (read-only) | `string` | The MIME type of the exported blob (e.g. "image/png", "image/svg+xml", "application/pdf"). |
|
|
2164
|
+
| `width` (read-only) | `number` | The logical output width in CSS pixels. |
|
|
2165
|
+
|
|
2166
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
2167
|
+
|
|
2168
|
+
## `ChartFunnelLabelTemplateContext`
|
|
2169
|
+
|
|
2170
|
+
Interface.
|
|
2171
|
+
|
|
2172
|
+
**Type parameters:** `T = unknown`
|
|
2173
|
+
|
|
2174
|
+
### Properties
|
|
2175
|
+
|
|
2176
|
+
| Name | Type |
|
|
2177
|
+
| --- | --- |
|
|
2178
|
+
| `$implicit` (read-only) | `ChartFunnelStageContext<T>` |
|
|
2179
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
2180
|
+
| `category` (read-only) | `unknown` |
|
|
2181
|
+
| `color` (read-only) | `string` |
|
|
2182
|
+
| `conversionRate?` (read-only) | `number` |
|
|
2183
|
+
| `dataIndex` (read-only) | `number` |
|
|
2184
|
+
| `datum` (read-only) | `T` |
|
|
2185
|
+
| `dropOff?` (read-only) | `number` |
|
|
2186
|
+
| `formattedCategory` (read-only) | `string` |
|
|
2187
|
+
| `formattedConversionRate?` (read-only) | `string` |
|
|
2188
|
+
| `formattedOverallConversionRate?` (read-only) | `string` |
|
|
2189
|
+
| `formattedValue` (read-only) | `string` |
|
|
2190
|
+
| `overallConversionRate?` (read-only) | `number` |
|
|
2191
|
+
| `previousValue?` (read-only) | `number` |
|
|
2192
|
+
| `stage` (read-only) | `ChartFunnelStageContext<T>` |
|
|
2193
|
+
| `stageId` (read-only) | `string` |
|
|
2194
|
+
| `stageIndex` (read-only) | `number` |
|
|
2195
|
+
| `textColor?` (read-only) | `string` |
|
|
2196
|
+
| `value` (read-only) | `number` |
|
|
2197
|
+
|
|
2198
|
+
## `ChartFunnelPointMetadata`
|
|
2199
|
+
|
|
2200
|
+
Interface.
|
|
2201
|
+
|
|
2202
|
+
### Properties
|
|
2203
|
+
|
|
2204
|
+
| Name | Type |
|
|
2205
|
+
| --- | --- |
|
|
2206
|
+
| `category` (read-only) | `unknown` |
|
|
2207
|
+
| `conversionRate?` (read-only) | `number` |
|
|
2208
|
+
| `dropOff?` (read-only) | `number` |
|
|
2209
|
+
| `formattedCategory` (read-only) | `string` |
|
|
2210
|
+
| `formattedConversionRate?` (read-only) | `string` |
|
|
2211
|
+
| `formattedOverallConversionRate?` (read-only) | `string` |
|
|
2212
|
+
| `formattedValue` (read-only) | `string` |
|
|
2213
|
+
| `overallConversionRate?` (read-only) | `number` |
|
|
2214
|
+
| `previousValue?` (read-only) | `number` |
|
|
2215
|
+
| `stageId` (read-only) | `string` |
|
|
2216
|
+
| `stageIndex` (read-only) | `number` |
|
|
2217
|
+
| `value` (read-only) | `number` |
|
|
2218
|
+
|
|
2219
|
+
**Used by:** [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
2220
|
+
|
|
2221
|
+
## `ChartFunnelStageContext`
|
|
2222
|
+
|
|
2223
|
+
Interface.
|
|
2224
|
+
|
|
2225
|
+
**Type parameters:** `T = unknown`
|
|
2226
|
+
|
|
2227
|
+
### Properties
|
|
2228
|
+
|
|
2229
|
+
| Name | Type |
|
|
2230
|
+
| --- | --- |
|
|
2231
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
2232
|
+
| `category` (read-only) | `unknown` |
|
|
2233
|
+
| `color` (read-only) | `string` |
|
|
2234
|
+
| `conversionRate?` (read-only) | `number` |
|
|
2235
|
+
| `dataIndex` (read-only) | `number` |
|
|
2236
|
+
| `datum` (read-only) | `T` |
|
|
2237
|
+
| `dropOff?` (read-only) | `number` |
|
|
2238
|
+
| `formattedCategory` (read-only) | `string` |
|
|
2239
|
+
| `formattedConversionRate?` (read-only) | `string` |
|
|
2240
|
+
| `formattedOverallConversionRate?` (read-only) | `string` |
|
|
2241
|
+
| `formattedValue` (read-only) | `string` |
|
|
2242
|
+
| `overallConversionRate?` (read-only) | `number` |
|
|
2243
|
+
| `previousValue?` (read-only) | `number` |
|
|
2244
|
+
| `stageId` (read-only) | `string` |
|
|
2245
|
+
| `stageIndex` (read-only) | `number` |
|
|
2246
|
+
| `textColor?` (read-only) | `string` |
|
|
2247
|
+
| `value` (read-only) | `number` |
|
|
2248
|
+
|
|
2249
|
+
**Used by:** [`ChartFunnelLabelTemplateContext`](chart.md#chartfunnellabeltemplatecontext), [`ChartFunnelLabelTemplateDirective`](chart.md#chartfunnellabeltemplatedirective)
|
|
2250
|
+
|
|
2251
|
+
## `ChartFunnelStageVisibilityEvent`
|
|
2252
|
+
|
|
2253
|
+
Interface.
|
|
2254
|
+
|
|
2255
|
+
**Type parameters:** `T = unknown`
|
|
2256
|
+
|
|
2257
|
+
### Properties
|
|
2258
|
+
|
|
2259
|
+
| Name | Type |
|
|
2260
|
+
| --- | --- |
|
|
2261
|
+
| `category` (read-only) | `unknown` |
|
|
2262
|
+
| `dataIndex` (read-only) | `number` |
|
|
2263
|
+
| `datum` (read-only) | `T` |
|
|
2264
|
+
| `formattedCategory` (read-only) | `string` |
|
|
2265
|
+
| `seriesId` (read-only) | `string` |
|
|
2266
|
+
| `seriesName` (read-only) | `string` |
|
|
2267
|
+
| `seriesType` (read-only) | `"funnel"` |
|
|
2268
|
+
| `stageId` (read-only) | `string` |
|
|
2269
|
+
| `visible` (read-only) | `boolean` |
|
|
2270
|
+
|
|
2271
|
+
**Used by:** [`FunnelSeriesComponent`](chart.md#funnelseriescomponent)
|
|
2272
|
+
|
|
2273
|
+
## `ChartGaugeCenterTemplateContext`
|
|
2274
|
+
|
|
2275
|
+
Interface.
|
|
2276
|
+
|
|
2277
|
+
### Properties
|
|
2278
|
+
|
|
2279
|
+
| Name | Type |
|
|
2280
|
+
| --- | --- |
|
|
2281
|
+
| `$implicit` (read-only) | `number` |
|
|
2282
|
+
| `formattedMax` (read-only) | `string` |
|
|
2283
|
+
| `formattedMin` (read-only) | `string` |
|
|
2284
|
+
| `formattedValue` (read-only) | `string` |
|
|
2285
|
+
| `isClamped` (read-only) | `boolean` |
|
|
2286
|
+
| `max` (read-only) | `number` |
|
|
2287
|
+
| `min` (read-only) | `number` |
|
|
2288
|
+
| `ratio` (read-only) | `number` |
|
|
2289
|
+
| `seriesId` (read-only) | `string` |
|
|
2290
|
+
| `seriesName` (read-only) | `string` |
|
|
2291
|
+
| `value` (read-only) | `number` |
|
|
2292
|
+
|
|
2293
|
+
## `ChartHeatmapCategory`
|
|
2294
|
+
|
|
2295
|
+
Interface.
|
|
2296
|
+
|
|
2297
|
+
### Properties
|
|
2298
|
+
|
|
2299
|
+
| Name | Type |
|
|
2300
|
+
| --- | --- |
|
|
2301
|
+
| `formattedValue` (read-only) | `string` |
|
|
2302
|
+
| `index` (read-only) | `number` |
|
|
2303
|
+
| `key` (read-only) | `string` |
|
|
2304
|
+
| `value` (read-only) | `unknown` |
|
|
2305
|
+
|
|
2306
|
+
## `ChartHeatmapCellData`
|
|
2307
|
+
|
|
2308
|
+
Interface.
|
|
2309
|
+
|
|
2310
|
+
**Type parameters:** `TDatum = unknown`
|
|
2311
|
+
|
|
2312
|
+
### Properties
|
|
2313
|
+
|
|
2314
|
+
| Name | Type |
|
|
2315
|
+
| --- | --- |
|
|
2316
|
+
| `categoryX` (read-only) | `string` |
|
|
2317
|
+
| `categoryY` (read-only) | `string` |
|
|
2318
|
+
| `datum` (read-only) | `TDatum` |
|
|
2319
|
+
| `formattedValue` (read-only) | `string` |
|
|
2320
|
+
| `formattedX` (read-only) | `string` |
|
|
2321
|
+
| `formattedY` (read-only) | `string` |
|
|
2322
|
+
| `numericValue` (read-only) | `number \| null` |
|
|
2323
|
+
| `rawValue` (read-only) | `unknown` |
|
|
2324
|
+
| `xIndex` (read-only) | `number` |
|
|
2325
|
+
| `yIndex` (read-only) | `number` |
|
|
2326
|
+
|
|
2327
|
+
## `ChartHierarchyNodeContext`
|
|
2328
|
+
|
|
2329
|
+
Interface.
|
|
2330
|
+
|
|
2331
|
+
**Type parameters:** `T = unknown`
|
|
2332
|
+
|
|
2333
|
+
### Properties
|
|
2334
|
+
|
|
2335
|
+
| Name | Type |
|
|
2336
|
+
| --- | --- |
|
|
2337
|
+
| `aggregateValue` (read-only) | `number` |
|
|
2338
|
+
| `childCount` (read-only) | `number` |
|
|
2339
|
+
| `dataIndex` (read-only) | `number` |
|
|
2340
|
+
| `datum` (read-only) | `T` |
|
|
2341
|
+
| `depth` (read-only) | `number` |
|
|
2342
|
+
| `descendantCount` (read-only) | `number` |
|
|
2343
|
+
| `formattedLabel` (read-only) | `string` |
|
|
2344
|
+
| `formattedPath` (read-only) | `readonly string[]` |
|
|
2345
|
+
| `formattedValue` (read-only) | `string` |
|
|
2346
|
+
| `isCollapsed` (read-only) | `boolean` |
|
|
2347
|
+
| `isLeaf` (read-only) | `boolean` |
|
|
2348
|
+
| `label` (read-only) | `unknown` |
|
|
2349
|
+
| `nodeId` (read-only) | `string` |
|
|
2350
|
+
| `parentId?` (read-only) | `string` |
|
|
2351
|
+
| `path` (read-only) | `readonly unknown[]` |
|
|
2352
|
+
| `percentageOfParent?` (read-only) | `number` |
|
|
2353
|
+
| `percentageOfRoot?` (read-only) | `number` |
|
|
2354
|
+
| `rawValue?` (read-only) | `number` |
|
|
2355
|
+
| `siblingIndex` (read-only) | `number` |
|
|
2356
|
+
| `sourceIndexPath` (read-only) | `readonly number[]` |
|
|
2357
|
+
| `treeHeight` (read-only) | `number` |
|
|
2358
|
+
|
|
2359
|
+
**Used by:** [`ChartTreemapLabelTemplateContext`](chart.md#charttreemaplabeltemplatecontext), [`ChartTreemapLabelTemplateDirective`](chart.md#charttreemaplabeltemplatedirective)
|
|
2360
|
+
|
|
2361
|
+
## `ChartHierarchyPointMetadata`
|
|
2362
|
+
|
|
2363
|
+
Interface.
|
|
2364
|
+
|
|
2365
|
+
### Properties
|
|
2366
|
+
|
|
2367
|
+
| Name | Type |
|
|
2368
|
+
| --- | --- |
|
|
2369
|
+
| `aggregateValue` (read-only) | `number` |
|
|
2370
|
+
| `childCount` (read-only) | `number` |
|
|
2371
|
+
| `dataIndex` (read-only) | `number` |
|
|
2372
|
+
| `depth` (read-only) | `number` |
|
|
2373
|
+
| `descendantCount` (read-only) | `number` |
|
|
2374
|
+
| `formattedLabel` (read-only) | `string` |
|
|
2375
|
+
| `formattedPath` (read-only) | `readonly string[]` |
|
|
2376
|
+
| `formattedValue` (read-only) | `string` |
|
|
2377
|
+
| `isCollapsed` (read-only) | `boolean` |
|
|
2378
|
+
| `isLeaf` (read-only) | `boolean` |
|
|
2379
|
+
| `label` (read-only) | `unknown` |
|
|
2380
|
+
| `nodeId` (read-only) | `string` |
|
|
2381
|
+
| `parentId?` (read-only) | `string` |
|
|
2382
|
+
| `path` (read-only) | `readonly unknown[]` |
|
|
2383
|
+
| `percentageOfParent?` (read-only) | `number` |
|
|
2384
|
+
| `percentageOfRoot?` (read-only) | `number` |
|
|
2385
|
+
| `rawValue?` (read-only) | `number` |
|
|
2386
|
+
| `siblingIndex` (read-only) | `number` |
|
|
2387
|
+
| `sourceIndexPath` (read-only) | `readonly number[]` |
|
|
2388
|
+
| `treeHeight` (read-only) | `number` |
|
|
2389
|
+
|
|
2390
|
+
**Used by:** [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
2391
|
+
|
|
2392
|
+
## `ChartLabelMeasurement`
|
|
2393
|
+
|
|
2394
|
+
Interface.
|
|
2395
|
+
|
|
2396
|
+
### Properties
|
|
2397
|
+
|
|
2398
|
+
| Name | Type |
|
|
2399
|
+
| --- | --- |
|
|
2400
|
+
| `height` | `number` |
|
|
2401
|
+
| `width` | `number` |
|
|
2402
|
+
|
|
2403
|
+
## `ChartLegendItem`
|
|
2404
|
+
|
|
2405
|
+
Interface.
|
|
2406
|
+
|
|
2407
|
+
### Properties
|
|
2408
|
+
|
|
2409
|
+
| Name | Type |
|
|
2410
|
+
| --- | --- |
|
|
2411
|
+
| `color` (read-only) | `string` |
|
|
2412
|
+
| `dataIndex?` (read-only) | `number` |
|
|
2413
|
+
| `datum?` (read-only) | `unknown` |
|
|
2414
|
+
| `interactive?` (read-only) | `boolean` |
|
|
2415
|
+
| `itemId` (read-only) | `string` |
|
|
2416
|
+
| `kind?` (read-only) | `ChartLegendItemKind` |
|
|
2417
|
+
| `name` (read-only) | `string` |
|
|
2418
|
+
| `percentage?` (read-only) | `number` |
|
|
2419
|
+
| `secondaryColor?` (read-only) | `string` |
|
|
2420
|
+
| `seriesId` (read-only) | `string` |
|
|
2421
|
+
| `seriesType` (read-only) | `ChartSeriesType` |
|
|
2422
|
+
| `value?` (read-only) | `number` |
|
|
2423
|
+
| `visible` (read-only) | `boolean` |
|
|
2424
|
+
|
|
2425
|
+
**Used by:** [`ChartLegendItemTemplateContext`](chart.md#chartlegenditemtemplatecontext), [`ChartLegendItemTemplateDirective`](chart.md#chartlegenditemtemplatedirective)
|
|
2426
|
+
|
|
2427
|
+
## `ChartLegendItemTemplateContext`
|
|
2428
|
+
|
|
2429
|
+
Interface.
|
|
2430
|
+
|
|
2431
|
+
### Properties
|
|
2432
|
+
|
|
2433
|
+
| Name | Type |
|
|
2434
|
+
| --- | --- |
|
|
2435
|
+
| `$implicit` | `ChartLegendItem` |
|
|
2436
|
+
| `color` | `string` |
|
|
2437
|
+
| `dataIndex?` | `number` |
|
|
2438
|
+
| `datum?` | `unknown` |
|
|
2439
|
+
| `interactive?` | `boolean` |
|
|
2440
|
+
| `itemId` | `string` |
|
|
2441
|
+
| `kind?` | `ChartLegendItemKind` |
|
|
2442
|
+
| `name` | `string` |
|
|
2443
|
+
| `percentage?` | `number` |
|
|
2444
|
+
| `secondaryColor?` | `string` |
|
|
2445
|
+
| `series` | `ChartLegendItem` |
|
|
2446
|
+
| `seriesId` | `string` |
|
|
2447
|
+
| `seriesType` | `ChartSeriesType` |
|
|
2448
|
+
| `value?` | `number` |
|
|
2449
|
+
| `visible` | `boolean` |
|
|
2450
|
+
|
|
2451
|
+
## `ChartNavigationOptions`
|
|
2452
|
+
|
|
2453
|
+
Interface.
|
|
2454
|
+
|
|
2455
|
+
### Properties
|
|
2456
|
+
|
|
2457
|
+
| Name | Type |
|
|
2458
|
+
| --- | --- |
|
|
2459
|
+
| `clampToData?` (read-only) | `boolean` |
|
|
2460
|
+
| `constraints?` (read-only) | `readonly ChartViewportConstraint[]` |
|
|
2461
|
+
| `dragPan?` (read-only) | `boolean` |
|
|
2462
|
+
| `keyboard?` (read-only) | `boolean` |
|
|
2463
|
+
| `keyboardPanRatio?` (read-only) | `number` |
|
|
2464
|
+
| `keyboardZoomFactor?` (read-only) | `number` |
|
|
2465
|
+
| `linkGroups?` (read-only) | `readonly ChartViewportLinkGroup[]` |
|
|
2466
|
+
| `minVisibleCategories?` (read-only) | `number` |
|
|
2467
|
+
| `pan?` (read-only) | `boolean` |
|
|
2468
|
+
| `panAxes?` (read-only) | `ChartNavigationAxisTarget` |
|
|
2469
|
+
| `pinchZoom?` (read-only) | `boolean` |
|
|
2470
|
+
| `wheelSensitivity?` (read-only) | `number` |
|
|
2471
|
+
| `wheelZoom?` (read-only) | `boolean` |
|
|
2472
|
+
| `zoom?` (read-only) | `boolean` |
|
|
2473
|
+
| `zoomAxes?` (read-only) | `ChartNavigationAxisTarget` |
|
|
2474
|
+
|
|
2475
|
+
**Used by:** [`ChartNavigationInput`](chart.md#chartnavigationinput)
|
|
2476
|
+
|
|
2477
|
+
## `ChartOhlcPointValue`
|
|
2478
|
+
|
|
2479
|
+
Interface.
|
|
2480
|
+
|
|
2481
|
+
### Properties
|
|
2482
|
+
|
|
2483
|
+
| Name | Type |
|
|
2484
|
+
| --- | --- |
|
|
2485
|
+
| `change?` (read-only) | `number` |
|
|
2486
|
+
| `changePercentage?` (read-only) | `number` |
|
|
2487
|
+
| `close` (read-only) | `number` |
|
|
2488
|
+
| `direction` (read-only) | `ChartFinancialDirection` |
|
|
2489
|
+
| `formattedChange?` (read-only) | `string` |
|
|
2490
|
+
| `formattedChangePercentage?` (read-only) | `string` |
|
|
2491
|
+
| `formattedClose?` (read-only) | `string` |
|
|
2492
|
+
| `formattedHigh?` (read-only) | `string` |
|
|
2493
|
+
| `formattedLow?` (read-only) | `string` |
|
|
2494
|
+
| `formattedOpen?` (read-only) | `string` |
|
|
2495
|
+
| `high` (read-only) | `number` |
|
|
2496
|
+
| `low` (read-only) | `number` |
|
|
2497
|
+
| `open` (read-only) | `number` |
|
|
2498
|
+
| `valueKind` (read-only) | `"ohlc"` |
|
|
2499
|
+
|
|
2500
|
+
**Used by:** [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartPointValue`](chart.md#chartpointvalue), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
2501
|
+
|
|
2502
|
+
## `ChartPadding`
|
|
2503
|
+
|
|
2504
|
+
Interface.
|
|
2505
|
+
|
|
2506
|
+
### Properties
|
|
2507
|
+
|
|
2508
|
+
| Name | Type |
|
|
2509
|
+
| --- | --- |
|
|
2510
|
+
| `bottom` | `number` |
|
|
2511
|
+
| `left` | `number` |
|
|
2512
|
+
| `right` | `number` |
|
|
2513
|
+
| `top` | `number` |
|
|
2514
|
+
|
|
2515
|
+
## `ChartPdfExportOptions`
|
|
2516
|
+
|
|
2517
|
+
Interface.
|
|
2518
|
+
|
|
2519
|
+
Options for exporting a chart as a PDF document.
|
|
2520
|
+
|
|
2521
|
+
**Extends:** `ChartExportBaseOptions`
|
|
2522
|
+
|
|
2523
|
+
### Properties
|
|
2524
|
+
|
|
2525
|
+
| Name | Type | Description |
|
|
2526
|
+
| --- | --- | --- |
|
|
2527
|
+
| `format` (read-only) | `"pdf"` | Selects export as a PDF document. |
|
|
2528
|
+
| `mode?` (read-only) | `ChartPdfRenderMode` | PDF rendering mode ("auto", "vector", or "raster"). Default: "auto". |
|
|
2529
|
+
| `page?` (read-only) | `ChartPdfPageOptions` | PDF page configuration. |
|
|
2530
|
+
|
|
2531
|
+
### Inherited from `ChartExportBaseOptions`
|
|
2532
|
+
|
|
2533
|
+
| Name | Type | Description |
|
|
2534
|
+
| --- | --- | --- |
|
|
2535
|
+
| `background?` (read-only) | `ChartExportBackground` | Background color policy or explicit CSS color. Default: "auto". |
|
|
2536
|
+
| `height?` (read-only) | `number` | Optional logical output height in CSS pixels. When omitted, the current chart aspect ratio or source height is preserved. |
|
|
2537
|
+
| `presentation?` (read-only) | `ChartExportPresentationOptions` | Optional presentation options controlling selection, crosshair, and brush inclusion. |
|
|
2538
|
+
| `signal?` (read-only) | `AbortSignal` | Optional AbortSignal for aborting the export operation. |
|
|
2539
|
+
| `width?` (read-only) | `number` | Optional logical output width in CSS pixels. When omitted, the current chart width is preserved. |
|
|
2540
|
+
|
|
2541
|
+
**Used by:** [`ChartExportOptions`](chart.md#chartexportoptions)
|
|
2542
|
+
|
|
2543
|
+
## `ChartPdfMargins`
|
|
2544
|
+
|
|
2545
|
+
Interface.
|
|
2546
|
+
|
|
2547
|
+
PDF page margins in PDF points (72 points = 1 inch).
|
|
2548
|
+
|
|
2549
|
+
### Properties
|
|
2550
|
+
|
|
2551
|
+
| Name | Type |
|
|
2552
|
+
| --- | --- |
|
|
2553
|
+
| `bottom?` (read-only) | `number` |
|
|
2554
|
+
| `left?` (read-only) | `number` |
|
|
2555
|
+
| `right?` (read-only) | `number` |
|
|
2556
|
+
| `top?` (read-only) | `number` |
|
|
2557
|
+
|
|
2558
|
+
**Used by:** [`ChartPdfPageOptions`](chart.md#chartpdfpageoptions)
|
|
2559
|
+
|
|
2560
|
+
## `ChartPdfPageOptions`
|
|
2561
|
+
|
|
2562
|
+
Interface.
|
|
2563
|
+
|
|
2564
|
+
Page layout options for PDF export.
|
|
2565
|
+
|
|
2566
|
+
### Properties
|
|
2567
|
+
|
|
2568
|
+
| Name | Type | Description |
|
|
2569
|
+
| --- | --- | --- |
|
|
2570
|
+
| `margin?` (read-only) | `number \| ChartPdfMargins` | Page margins in PDF points. Default: 0 for "chart" page size, 24 for standard pages if not specified. |
|
|
2571
|
+
| `orientation?` (read-only) | `"auto" \| "portrait" \| "landscape"` | Page orientation. Default: "auto" (derived from the chart aspect ratio). |
|
|
2572
|
+
| `size?` (read-only) | `ChartPdfPageSize` | Target page size. Default: "chart". |
|
|
2573
|
+
|
|
2574
|
+
**Used by:** [`ChartPdfExportOptions`](chart.md#chartpdfexportoptions)
|
|
2575
|
+
|
|
2576
|
+
## `ChartPngExportOptions`
|
|
2577
|
+
|
|
2578
|
+
Interface.
|
|
2579
|
+
|
|
2580
|
+
Options for exporting a chart as a PNG raster image.
|
|
2581
|
+
|
|
2582
|
+
**Extends:** `ChartExportBaseOptions`
|
|
2583
|
+
|
|
2584
|
+
### Properties
|
|
2585
|
+
|
|
2586
|
+
| Name | Type | Description |
|
|
2587
|
+
| --- | --- | --- |
|
|
2588
|
+
| `format` (read-only) | `"png"` | Selects export as a PNG image. |
|
|
2589
|
+
| `pixelRatio?` (read-only) | `number` | Raster scaling ratio relative to logical CSS pixels. Default: 2. |
|
|
2590
|
+
|
|
2591
|
+
### Inherited from `ChartExportBaseOptions`
|
|
2592
|
+
|
|
2593
|
+
| Name | Type | Description |
|
|
2594
|
+
| --- | --- | --- |
|
|
2595
|
+
| `background?` (read-only) | `ChartExportBackground` | Background color policy or explicit CSS color. Default: "auto". |
|
|
2596
|
+
| `height?` (read-only) | `number` | Optional logical output height in CSS pixels. When omitted, the current chart aspect ratio or source height is preserved. |
|
|
2597
|
+
| `presentation?` (read-only) | `ChartExportPresentationOptions` | Optional presentation options controlling selection, crosshair, and brush inclusion. |
|
|
2598
|
+
| `signal?` (read-only) | `AbortSignal` | Optional AbortSignal for aborting the export operation. |
|
|
2599
|
+
| `width?` (read-only) | `number` | Optional logical output width in CSS pixels. When omitted, the current chart width is preserved. |
|
|
2600
|
+
|
|
2601
|
+
**Used by:** [`ChartExportOptions`](chart.md#chartexportoptions)
|
|
2602
|
+
|
|
2603
|
+
## `ChartPoint`
|
|
2604
|
+
|
|
2605
|
+
Interface.
|
|
2606
|
+
|
|
2607
|
+
### Properties
|
|
2608
|
+
|
|
2609
|
+
| Name | Type |
|
|
2610
|
+
| --- | --- |
|
|
2611
|
+
| `x` | `number` |
|
|
2612
|
+
| `y` | `number` |
|
|
2613
|
+
|
|
2614
|
+
**Used by:** [`ChartAnnotationLabelTemplateContext`](chart.md#chartannotationlabeltemplatecontext), [`ChartAnnotationLabelTemplateDirective`](chart.md#chartannotationlabeltemplatedirective), [`ChartComponent`](chart.md#chartcomponent)
|
|
2615
|
+
|
|
2616
|
+
## `ChartPointEvent`
|
|
2617
|
+
|
|
2618
|
+
Interface.
|
|
2619
|
+
|
|
2620
|
+
**Type parameters:** `T = unknown`
|
|
2621
|
+
|
|
2622
|
+
### Properties
|
|
2623
|
+
|
|
2624
|
+
| Name | Type |
|
|
2625
|
+
| --- | --- |
|
|
2626
|
+
| `category?` (read-only) | `unknown` |
|
|
2627
|
+
| `categoryX?` (read-only) | `string` |
|
|
2628
|
+
| `categoryY?` (read-only) | `string` |
|
|
2629
|
+
| `change?` (read-only) | `number` |
|
|
2630
|
+
| `changePercentage?` (read-only) | `number` |
|
|
2631
|
+
| `close?` (read-only) | `number` |
|
|
2632
|
+
| `dataIndex` (read-only) | `number` |
|
|
2633
|
+
| `datum` (read-only) | `T` |
|
|
2634
|
+
| `financial?` (read-only) | `ChartOhlcPointValue` |
|
|
2635
|
+
| `financialDirection?` (read-only) | `ChartFinancialDirection` |
|
|
2636
|
+
| `formattedChange?` (read-only) | `string` |
|
|
2637
|
+
| `formattedChangePercentage?` (read-only) | `string` |
|
|
2638
|
+
| `formattedClose?` (read-only) | `string` |
|
|
2639
|
+
| `formattedFrom?` (read-only) | `string` |
|
|
2640
|
+
| `formattedHigh?` (read-only) | `string` |
|
|
2641
|
+
| `formattedLow?` (read-only) | `string` |
|
|
2642
|
+
| `formattedOpen?` (read-only) | `string` |
|
|
2643
|
+
| `formattedTo?` (read-only) | `string` |
|
|
2644
|
+
| `formattedXValue?` (read-only) | `string` |
|
|
2645
|
+
| `formattedYCategory?` (read-only) | `string` |
|
|
2646
|
+
| `fromValue?` (read-only) | `number` |
|
|
2647
|
+
| `funnel?` (read-only) | `ChartFunnelPointMetadata` |
|
|
2648
|
+
| `hierarchy?` (read-only) | `ChartHierarchyPointMetadata` |
|
|
2649
|
+
| `high?` (read-only) | `number` |
|
|
2650
|
+
| `low?` (read-only) | `number` |
|
|
2651
|
+
| `markId?` (read-only) | `string` |
|
|
2652
|
+
| `open?` (read-only) | `number` |
|
|
2653
|
+
| `percentage?` (read-only) | `number` |
|
|
2654
|
+
| `rawValue?` (read-only) | `unknown` |
|
|
2655
|
+
| `seriesId` (read-only) | `string` |
|
|
2656
|
+
| `seriesName` (read-only) | `string` |
|
|
2657
|
+
| `seriesType` (read-only) | `ChartSeriesType` |
|
|
2658
|
+
| `sizeValue?` (read-only) | `number` |
|
|
2659
|
+
| `sliceId?` (read-only) | `string` |
|
|
2660
|
+
| `stackEnd?` (read-only) | `number` |
|
|
2661
|
+
| `stackGroup?` (read-only) | `string` |
|
|
2662
|
+
| `stackMode?` (read-only) | `ChartStackMode` |
|
|
2663
|
+
| `stackPercentage?` (read-only) | `number` |
|
|
2664
|
+
| `stackPosition?` (read-only) | `"inner" \| "outer" \| "single"` |
|
|
2665
|
+
| `stackStart?` (read-only) | `number` |
|
|
2666
|
+
| `stackTotal?` (read-only) | `number` |
|
|
2667
|
+
| `toValue?` (read-only) | `number` |
|
|
2668
|
+
| `value?` (read-only) | `unknown` |
|
|
2669
|
+
| `valueKind?` (read-only) | `ChartPointValueKind` |
|
|
2670
|
+
| `waterfall?` (read-only) | `ChartWaterfallPointValue` |
|
|
2671
|
+
| `xAxisId?` (read-only) | `string` |
|
|
2672
|
+
| `xAxisTitle?` (read-only) | `string` |
|
|
2673
|
+
| `xValue` (read-only) | `unknown` |
|
|
2674
|
+
| `yAxisId?` (read-only) | `string` |
|
|
2675
|
+
| `yAxisTitle?` (read-only) | `string` |
|
|
2676
|
+
| `yCategory?` (read-only) | `unknown` |
|
|
2677
|
+
| `yValue?` (read-only) | `number` |
|
|
2678
|
+
|
|
2679
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
2680
|
+
|
|
2681
|
+
## `ChartPointFocusEvent`
|
|
2682
|
+
|
|
2683
|
+
Interface.
|
|
2684
|
+
|
|
2685
|
+
**Type parameters:** `T = unknown`
|
|
2686
|
+
|
|
2687
|
+
### Properties
|
|
2688
|
+
|
|
2689
|
+
| Name | Type |
|
|
2690
|
+
| --- | --- |
|
|
2691
|
+
| `category?` (read-only) | `unknown` |
|
|
2692
|
+
| `categoryX?` (read-only) | `string` |
|
|
2693
|
+
| `categoryY?` (read-only) | `string` |
|
|
2694
|
+
| `change?` (read-only) | `number` |
|
|
2695
|
+
| `changePercentage?` (read-only) | `number` |
|
|
2696
|
+
| `close?` (read-only) | `number` |
|
|
2697
|
+
| `dataIndex` (read-only) | `number` |
|
|
2698
|
+
| `datum` (read-only) | `T` |
|
|
2699
|
+
| `financial?` (read-only) | `ChartOhlcPointValue` |
|
|
2700
|
+
| `financialDirection?` (read-only) | `ChartFinancialDirection` |
|
|
2701
|
+
| `formattedChange?` (read-only) | `string` |
|
|
2702
|
+
| `formattedChangePercentage?` (read-only) | `string` |
|
|
2703
|
+
| `formattedClose?` (read-only) | `string` |
|
|
2704
|
+
| `formattedFrom?` (read-only) | `string` |
|
|
2705
|
+
| `formattedHigh?` (read-only) | `string` |
|
|
2706
|
+
| `formattedLow?` (read-only) | `string` |
|
|
2707
|
+
| `formattedOpen?` (read-only) | `string` |
|
|
2708
|
+
| `formattedTo?` (read-only) | `string` |
|
|
2709
|
+
| `formattedXValue?` (read-only) | `string` |
|
|
2710
|
+
| `formattedYCategory?` (read-only) | `string` |
|
|
2711
|
+
| `fromValue?` (read-only) | `number` |
|
|
2712
|
+
| `funnel?` (read-only) | `ChartFunnelPointMetadata` |
|
|
2713
|
+
| `hierarchy?` (read-only) | `ChartHierarchyPointMetadata` |
|
|
2714
|
+
| `high?` (read-only) | `number` |
|
|
2715
|
+
| `low?` (read-only) | `number` |
|
|
2716
|
+
| `markId?` (read-only) | `string` |
|
|
2717
|
+
| `open?` (read-only) | `number` |
|
|
2718
|
+
| `percentage?` (read-only) | `number` |
|
|
2719
|
+
| `rawValue?` (read-only) | `unknown` |
|
|
2720
|
+
| `seriesId` (read-only) | `string` |
|
|
2721
|
+
| `seriesName` (read-only) | `string` |
|
|
2722
|
+
| `seriesType` (read-only) | `ChartSeriesType` |
|
|
2723
|
+
| `sizeValue?` (read-only) | `number` |
|
|
2724
|
+
| `sliceId?` (read-only) | `string` |
|
|
2725
|
+
| `stackEnd?` (read-only) | `number` |
|
|
2726
|
+
| `stackGroup?` (read-only) | `string` |
|
|
2727
|
+
| `stackMode?` (read-only) | `ChartStackMode` |
|
|
2728
|
+
| `stackPercentage?` (read-only) | `number` |
|
|
2729
|
+
| `stackPosition?` (read-only) | `"inner" \| "outer" \| "single"` |
|
|
2730
|
+
| `stackStart?` (read-only) | `number` |
|
|
2731
|
+
| `stackTotal?` (read-only) | `number` |
|
|
2732
|
+
| `toValue?` (read-only) | `number` |
|
|
2733
|
+
| `value?` (read-only) | `unknown` |
|
|
2734
|
+
| `valueKind?` (read-only) | `ChartPointValueKind` |
|
|
2735
|
+
| `waterfall?` (read-only) | `ChartWaterfallPointValue` |
|
|
2736
|
+
| `xAxisId?` (read-only) | `string` |
|
|
2737
|
+
| `xAxisTitle?` (read-only) | `string` |
|
|
2738
|
+
| `xValue` (read-only) | `unknown` |
|
|
2739
|
+
| `yAxisId?` (read-only) | `string` |
|
|
2740
|
+
| `yAxisTitle?` (read-only) | `string` |
|
|
2741
|
+
| `yCategory?` (read-only) | `unknown` |
|
|
2742
|
+
| `yValue?` (read-only) | `number` |
|
|
2743
|
+
|
|
2744
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
2745
|
+
|
|
2746
|
+
## `ChartRadialDatumVisibilityEvent`
|
|
2747
|
+
|
|
2748
|
+
Interface.
|
|
2749
|
+
|
|
2750
|
+
### Properties
|
|
2751
|
+
|
|
2752
|
+
| Name | Type |
|
|
2753
|
+
| --- | --- |
|
|
2754
|
+
| `category` (read-only) | `unknown` |
|
|
2755
|
+
| `dataIndex` (read-only) | `number` |
|
|
2756
|
+
| `datum` (read-only) | `unknown` |
|
|
2757
|
+
| `itemId` (read-only) | `string` |
|
|
2758
|
+
| `seriesId` (read-only) | `string` |
|
|
2759
|
+
| `seriesName` (read-only) | `string` |
|
|
2760
|
+
| `seriesType` (read-only) | `"radialBar" \| "rose"` |
|
|
2761
|
+
| `visible` (read-only) | `boolean` |
|
|
2762
|
+
|
|
2763
|
+
**Used by:** [`RadialBarSeriesComponent`](chart.md#radialbarseriescomponent), [`RoseSeriesComponent`](chart.md#roseseriescomponent)
|
|
2764
|
+
|
|
2765
|
+
## `ChartRangePointValue`
|
|
2766
|
+
|
|
2767
|
+
Interface.
|
|
2768
|
+
|
|
2769
|
+
### Properties
|
|
2770
|
+
|
|
2771
|
+
| Name | Type |
|
|
2772
|
+
| --- | --- |
|
|
2773
|
+
| `formattedFrom` (read-only) | `string` |
|
|
2774
|
+
| `formattedTo` (read-only) | `string` |
|
|
2775
|
+
| `fromValue` (read-only) | `number` |
|
|
2776
|
+
| `toValue` (read-only) | `number` |
|
|
2777
|
+
| `valueKind` (read-only) | `"range"` |
|
|
2778
|
+
|
|
2779
|
+
**Used by:** [`ChartPointValue`](chart.md#chartpointvalue)
|
|
2780
|
+
|
|
2781
|
+
## `ChartRect`
|
|
2782
|
+
|
|
2783
|
+
Interface.
|
|
2784
|
+
|
|
2785
|
+
### Properties
|
|
2786
|
+
|
|
2787
|
+
| Name | Type |
|
|
2788
|
+
| --- | --- |
|
|
2789
|
+
| `height` | `number` |
|
|
2790
|
+
| `width` | `number` |
|
|
2791
|
+
| `x` | `number` |
|
|
2792
|
+
| `y` | `number` |
|
|
2793
|
+
|
|
2794
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent), [`ChartFunnelLabelTemplateContext`](chart.md#chartfunnellabeltemplatecontext), [`ChartFunnelLabelTemplateDirective`](chart.md#chartfunnellabeltemplatedirective), [`ChartFunnelStageContext`](chart.md#chartfunnelstagecontext), [`ChartReferenceBandLabelContext`](chart.md#chartreferencebandlabelcontext), [`ChartReferenceLabelTemplateDirective`](chart.md#chartreferencelabeltemplatedirective), [`ChartTreemapLabelTemplateContext`](chart.md#charttreemaplabeltemplatecontext), [`ChartTreemapLabelTemplateDirective`](chart.md#charttreemaplabeltemplatedirective), [`ChartWaterfallLabelTemplateContext`](chart.md#chartwaterfalllabeltemplatecontext), [`ChartWaterfallLabelTemplateDirective`](chart.md#chartwaterfalllabeltemplatedirective), [`ChartWaterfallPointContext`](chart.md#chartwaterfallpointcontext)
|
|
2795
|
+
|
|
2796
|
+
## `ChartReferenceBandLabelContext`
|
|
2797
|
+
|
|
2798
|
+
Interface.
|
|
2799
|
+
|
|
2800
|
+
**Type parameters:** `TFrom extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`, `TTo extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`
|
|
2801
|
+
|
|
2802
|
+
### Properties
|
|
2803
|
+
|
|
2804
|
+
| Name | Type |
|
|
2805
|
+
| --- | --- |
|
|
2806
|
+
| `$implicit` (read-only) | `{ readonly from: TFrom; readonly to: TTo }` |
|
|
2807
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
2808
|
+
| `axisId` (read-only) | `string` |
|
|
2809
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
2810
|
+
| `coordinate?` (read-only) | `undefined` |
|
|
2811
|
+
| `formattedFrom` (read-only) | `string` |
|
|
2812
|
+
| `formattedTo` (read-only) | `string` |
|
|
2813
|
+
| `formattedValue?` (read-only) | `undefined` |
|
|
2814
|
+
| `from` (read-only) | `TFrom` |
|
|
2815
|
+
| `kind` (read-only) | `"band"` |
|
|
2816
|
+
| `to` (read-only) | `TTo` |
|
|
2817
|
+
| `value?` (read-only) | `undefined` |
|
|
2818
|
+
|
|
2819
|
+
**Used by:** [`ChartReferenceLabelTemplateContext`](chart.md#chartreferencelabeltemplatecontext)
|
|
2820
|
+
|
|
2821
|
+
## `ChartReferenceLineLabelContext`
|
|
2822
|
+
|
|
2823
|
+
Interface.
|
|
2824
|
+
|
|
2825
|
+
**Type parameters:** `T extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`
|
|
2826
|
+
|
|
2827
|
+
### Properties
|
|
2828
|
+
|
|
2829
|
+
| Name | Type |
|
|
2830
|
+
| --- | --- |
|
|
2831
|
+
| `$implicit` (read-only) | `T` |
|
|
2832
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
2833
|
+
| `axisId` (read-only) | `string` |
|
|
2834
|
+
| `bounds?` (read-only) | `undefined` |
|
|
2835
|
+
| `coordinate` (read-only) | `number` |
|
|
2836
|
+
| `formattedFrom?` (read-only) | `undefined` |
|
|
2837
|
+
| `formattedTo?` (read-only) | `undefined` |
|
|
2838
|
+
| `formattedValue` (read-only) | `string` |
|
|
2839
|
+
| `from?` (read-only) | `undefined` |
|
|
2840
|
+
| `kind` (read-only) | `"line"` |
|
|
2841
|
+
| `to?` (read-only) | `undefined` |
|
|
2842
|
+
| `value` (read-only) | `T` |
|
|
2843
|
+
|
|
2844
|
+
**Used by:** [`ChartReferenceLabelTemplateContext`](chart.md#chartreferencelabeltemplatecontext)
|
|
2845
|
+
|
|
2846
|
+
## `ChartScalarPointValue`
|
|
2847
|
+
|
|
2848
|
+
Interface.
|
|
2849
|
+
|
|
2850
|
+
### Properties
|
|
2851
|
+
|
|
2852
|
+
| Name | Type |
|
|
2853
|
+
| --- | --- |
|
|
2854
|
+
| `valueKind` (read-only) | `"scalar"` |
|
|
2855
|
+
| `yValue` (read-only) | `number` |
|
|
2856
|
+
|
|
2857
|
+
**Used by:** [`ChartPointValue`](chart.md#chartpointvalue)
|
|
2858
|
+
|
|
2859
|
+
## `ChartSelectedPoint`
|
|
2860
|
+
|
|
2861
|
+
Interface.
|
|
2862
|
+
|
|
2863
|
+
**Type parameters:** `T = unknown`
|
|
2864
|
+
|
|
2865
|
+
### Properties
|
|
2866
|
+
|
|
2867
|
+
| Name | Type |
|
|
2868
|
+
| --- | --- |
|
|
2869
|
+
| `close?` (read-only) | `number` |
|
|
2870
|
+
| `dataIndex` (read-only) | `number` |
|
|
2871
|
+
| `datum` (read-only) | `T` |
|
|
2872
|
+
| `fromValue?` (read-only) | `number` |
|
|
2873
|
+
| `high?` (read-only) | `number` |
|
|
2874
|
+
| `low?` (read-only) | `number` |
|
|
2875
|
+
| `markId` (read-only) | `string` |
|
|
2876
|
+
| `open?` (read-only) | `number` |
|
|
2877
|
+
| `rawValue?` (read-only) | `unknown` |
|
|
2878
|
+
| `seriesId` (read-only) | `string` |
|
|
2879
|
+
| `seriesName` (read-only) | `string` |
|
|
2880
|
+
| `seriesType` (read-only) | `ChartSeriesType` |
|
|
2881
|
+
| `stackEnd?` (read-only) | `number` |
|
|
2882
|
+
| `stackPercentage?` (read-only) | `number` |
|
|
2883
|
+
| `stackStart?` (read-only) | `number` |
|
|
2884
|
+
| `toValue?` (read-only) | `number` |
|
|
2885
|
+
| `value?` (read-only) | `unknown` |
|
|
2886
|
+
| `xValue?` (read-only) | `unknown` |
|
|
2887
|
+
| `yValue?` (read-only) | `unknown` |
|
|
2888
|
+
|
|
2889
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent), [`ChartSelectionChangeEvent`](chart.md#chartselectionchangeevent)
|
|
2890
|
+
|
|
2891
|
+
## `ChartSelectionChangeEvent`
|
|
2892
|
+
|
|
2893
|
+
Interface.
|
|
2894
|
+
|
|
2895
|
+
**Type parameters:** `T = unknown`
|
|
2896
|
+
|
|
2897
|
+
### Properties
|
|
2898
|
+
|
|
2899
|
+
| Name | Type |
|
|
2900
|
+
| --- | --- |
|
|
2901
|
+
| `addedMarkIds` (read-only) | `readonly string[]` |
|
|
2902
|
+
| `changedPoints` (read-only) | `readonly ChartSelectedPoint<T>[]` |
|
|
2903
|
+
| `previousSelectedMarkIds` (read-only) | `readonly string[]` |
|
|
2904
|
+
| `removedMarkIds` (read-only) | `readonly string[]` |
|
|
2905
|
+
| `selectedMarkIds` (read-only) | `readonly string[]` |
|
|
2906
|
+
| `source` (read-only) | `ChartSelectionChangeSource` |
|
|
2907
|
+
| `visibleSelectedPoints` (read-only) | `readonly ChartSelectedPoint<T>[]` |
|
|
2908
|
+
|
|
2909
|
+
**Used by:** [`ChartSelectionComponent`](chart.md#chartselectioncomponent)
|
|
2910
|
+
|
|
2911
|
+
## `ChartSeriesStyle`
|
|
2912
|
+
|
|
2913
|
+
Interface.
|
|
2914
|
+
|
|
2915
|
+
### Properties
|
|
2916
|
+
|
|
2917
|
+
| Name | Type |
|
|
2918
|
+
| --- | --- |
|
|
2919
|
+
| `areaFillColor` | `string` |
|
|
2920
|
+
| `areaFillOpacity` | `number` |
|
|
2921
|
+
| `color` | `string` |
|
|
2922
|
+
| `fillOpacity` | `number` |
|
|
2923
|
+
| `lineStyle?` | `ChartLineStyle` |
|
|
2924
|
+
| `lineWidth` | `number` |
|
|
2925
|
+
| `opacity` | `number` |
|
|
2926
|
+
| `pointRadius` | `number` |
|
|
2927
|
+
|
|
2928
|
+
## `ChartSeriesVisibilityEvent`
|
|
2929
|
+
|
|
2930
|
+
Interface.
|
|
2931
|
+
|
|
2932
|
+
### Properties
|
|
2933
|
+
|
|
2934
|
+
| Name | Type |
|
|
2935
|
+
| --- | --- |
|
|
2936
|
+
| `seriesId` (read-only) | `string` |
|
|
2937
|
+
| `seriesName` (read-only) | `string` |
|
|
2938
|
+
| `visible` (read-only) | `boolean` |
|
|
2939
|
+
|
|
2940
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
2941
|
+
|
|
2942
|
+
## `ChartSize`
|
|
2943
|
+
|
|
2944
|
+
Interface.
|
|
2945
|
+
|
|
2946
|
+
### Properties
|
|
2947
|
+
|
|
2948
|
+
| Name | Type |
|
|
2949
|
+
| --- | --- |
|
|
2950
|
+
| `height` | `number` |
|
|
2951
|
+
| `width` | `number` |
|
|
2952
|
+
|
|
2953
|
+
## `ChartSliceContext`
|
|
2954
|
+
|
|
2955
|
+
Interface.
|
|
2956
|
+
|
|
2957
|
+
### Properties
|
|
2958
|
+
|
|
2959
|
+
| Name | Type |
|
|
2960
|
+
| --- | --- |
|
|
2961
|
+
| `category` | `unknown` |
|
|
2962
|
+
| `color` | `string` |
|
|
2963
|
+
| `dataIndex` | `number` |
|
|
2964
|
+
| `datum` | `unknown` |
|
|
2965
|
+
| `formattedCategory` | `string` |
|
|
2966
|
+
| `formattedPercentage` | `string` |
|
|
2967
|
+
| `formattedValue` | `string` |
|
|
2968
|
+
| `percentage` | `number` |
|
|
2969
|
+
| `seriesId` | `string` |
|
|
2970
|
+
| `seriesName` | `string` |
|
|
2971
|
+
| `seriesType` | `"donut" \| "pie"` |
|
|
2972
|
+
| `value` | `number` |
|
|
2973
|
+
|
|
2974
|
+
**Used by:** [`ChartSliceLabelTemplateContext`](chart.md#chartslicelabeltemplatecontext), [`ChartSliceLabelTemplateDirective`](chart.md#chartslicelabeltemplatedirective)
|
|
2975
|
+
|
|
2976
|
+
## `ChartSliceLabelTemplateContext`
|
|
2977
|
+
|
|
2978
|
+
Interface.
|
|
2979
|
+
|
|
2980
|
+
### Properties
|
|
2981
|
+
|
|
2982
|
+
| Name | Type |
|
|
2983
|
+
| --- | --- |
|
|
2984
|
+
| `$implicit` | `ChartSliceContext` |
|
|
2985
|
+
| `category` | `unknown` |
|
|
2986
|
+
| `color` | `string` |
|
|
2987
|
+
| `dataIndex` | `number` |
|
|
2988
|
+
| `datum` | `unknown` |
|
|
2989
|
+
| `formattedCategory` | `string` |
|
|
2990
|
+
| `formattedPercentage` | `string` |
|
|
2991
|
+
| `formattedValue` | `string` |
|
|
2992
|
+
| `percentage` | `number` |
|
|
2993
|
+
| `seriesId` | `string` |
|
|
2994
|
+
| `seriesName` | `string` |
|
|
2995
|
+
| `seriesType` | `"donut" \| "pie"` |
|
|
2996
|
+
| `slice` | `ChartSliceContext` |
|
|
2997
|
+
| `value` | `number` |
|
|
2998
|
+
|
|
2999
|
+
## `ChartSliceVisibilityEvent`
|
|
3000
|
+
|
|
3001
|
+
Interface.
|
|
3002
|
+
|
|
3003
|
+
### Properties
|
|
3004
|
+
|
|
3005
|
+
| Name | Type |
|
|
3006
|
+
| --- | --- |
|
|
3007
|
+
| `category` | `unknown` |
|
|
3008
|
+
| `dataIndex` | `number` |
|
|
3009
|
+
| `datum` | `unknown` |
|
|
3010
|
+
| `seriesId` | `string` |
|
|
3011
|
+
| `seriesName` | `string` |
|
|
3012
|
+
| `seriesType` | `"donut" \| "pie"` |
|
|
3013
|
+
| `visible` | `boolean` |
|
|
3014
|
+
|
|
3015
|
+
**Used by:** [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent)
|
|
3016
|
+
|
|
3017
|
+
## `ChartSubtitleTemplateContext`
|
|
3018
|
+
|
|
3019
|
+
Interface.
|
|
3020
|
+
|
|
3021
|
+
### Properties
|
|
3022
|
+
|
|
3023
|
+
| Name | Type |
|
|
3024
|
+
| --- | --- |
|
|
3025
|
+
| `$implicit` (read-only) | `string` |
|
|
3026
|
+
| `subtitle` (read-only) | `string` |
|
|
3027
|
+
|
|
3028
|
+
## `ChartSvgExportOptions`
|
|
3029
|
+
|
|
3030
|
+
Interface.
|
|
3031
|
+
|
|
3032
|
+
Options for exporting a chart as a standalone SVG vector document.
|
|
3033
|
+
|
|
3034
|
+
**Extends:** `ChartExportBaseOptions`
|
|
3035
|
+
|
|
3036
|
+
### Properties
|
|
3037
|
+
|
|
3038
|
+
| Name | Type | Description |
|
|
3039
|
+
| --- | --- | --- |
|
|
3040
|
+
| `accessibility?` (read-only) | `boolean` | Whether to include accessibility metadata (\<title>, \<desc>, and ARIA attributes). Default: true. |
|
|
3041
|
+
| `format` (read-only) | `"svg"` | Selects export as a SVG document. |
|
|
3042
|
+
|
|
3043
|
+
### Inherited from `ChartExportBaseOptions`
|
|
3044
|
+
|
|
3045
|
+
| Name | Type | Description |
|
|
3046
|
+
| --- | --- | --- |
|
|
3047
|
+
| `background?` (read-only) | `ChartExportBackground` | Background color policy or explicit CSS color. Default: "auto". |
|
|
3048
|
+
| `height?` (read-only) | `number` | Optional logical output height in CSS pixels. When omitted, the current chart aspect ratio or source height is preserved. |
|
|
3049
|
+
| `presentation?` (read-only) | `ChartExportPresentationOptions` | Optional presentation options controlling selection, crosshair, and brush inclusion. |
|
|
3050
|
+
| `signal?` (read-only) | `AbortSignal` | Optional AbortSignal for aborting the export operation. |
|
|
3051
|
+
| `width?` (read-only) | `number` | Optional logical output width in CSS pixels. When omitted, the current chart width is preserved. |
|
|
3052
|
+
|
|
3053
|
+
**Used by:** [`ChartExportOptions`](chart.md#chartexportoptions)
|
|
3054
|
+
|
|
3055
|
+
## `ChartSynchronizationAxisMapping`
|
|
3056
|
+
|
|
3057
|
+
Interface.
|
|
3058
|
+
|
|
3059
|
+
### Properties
|
|
3060
|
+
|
|
3061
|
+
| Name | Type |
|
|
3062
|
+
| --- | --- |
|
|
3063
|
+
| `source` (read-only) | `ChartViewportAxisRef` |
|
|
3064
|
+
| `target` (read-only) | `ChartViewportAxisRef` |
|
|
3065
|
+
|
|
3066
|
+
**Used by:** [`ChartSynchronizationOptions`](chart.md#chartsynchronizationoptions)
|
|
3067
|
+
|
|
3068
|
+
## `ChartSynchronizationOptions`
|
|
3069
|
+
|
|
3070
|
+
Interface.
|
|
3071
|
+
|
|
3072
|
+
### Properties
|
|
3073
|
+
|
|
3074
|
+
| Name | Type |
|
|
3075
|
+
| --- | --- |
|
|
3076
|
+
| `axisMappings?` (read-only) | `readonly ChartSynchronizationAxisMapping[]` |
|
|
3077
|
+
| `crosshair?` (read-only) | `boolean \| ChartCrosshairSynchronizationOptions` |
|
|
3078
|
+
| `group` (read-only) | `string` |
|
|
3079
|
+
| `viewport?` (read-only) | `boolean \| ChartViewportSynchronizationOptions` |
|
|
3080
|
+
|
|
3081
|
+
**Used by:** [`ChartSynchronizationInput`](chart.md#chartsynchronizationinput)
|
|
3082
|
+
|
|
3083
|
+
## `ChartTitleTemplateContext`
|
|
3084
|
+
|
|
3085
|
+
Interface.
|
|
3086
|
+
|
|
3087
|
+
### Properties
|
|
3088
|
+
|
|
3089
|
+
| Name | Type |
|
|
3090
|
+
| --- | --- |
|
|
3091
|
+
| `$implicit` (read-only) | `string` |
|
|
3092
|
+
| `title` (read-only) | `string` |
|
|
3093
|
+
|
|
3094
|
+
## `ChartTooltipPointContext`
|
|
3095
|
+
|
|
3096
|
+
Interface.
|
|
3097
|
+
|
|
3098
|
+
**Type parameters:** `T = unknown`
|
|
3099
|
+
|
|
3100
|
+
### Properties
|
|
3101
|
+
|
|
3102
|
+
| Name | Type |
|
|
3103
|
+
| --- | --- |
|
|
3104
|
+
| `category?` | `unknown` |
|
|
3105
|
+
| `categoryX?` | `string` |
|
|
3106
|
+
| `categoryY?` | `string` |
|
|
3107
|
+
| `change?` | `number` |
|
|
3108
|
+
| `changePercentage?` | `number` |
|
|
3109
|
+
| `close?` | `number` |
|
|
3110
|
+
| `color` | `string` |
|
|
3111
|
+
| `dataIndex` | `number` |
|
|
3112
|
+
| `datum` | `T` |
|
|
3113
|
+
| `financial?` | `ChartOhlcPointValue` |
|
|
3114
|
+
| `financialDirection?` | `ChartFinancialDirection` |
|
|
3115
|
+
| `formattedCategory?` | `string` |
|
|
3116
|
+
| `formattedChange?` | `string` |
|
|
3117
|
+
| `formattedChangePercentage?` | `string` |
|
|
3118
|
+
| `formattedClose?` | `string` |
|
|
3119
|
+
| `formattedFrom?` | `string` |
|
|
3120
|
+
| `formattedHigh?` | `string` |
|
|
3121
|
+
| `formattedLow?` | `string` |
|
|
3122
|
+
| `formattedOpen?` | `string` |
|
|
3123
|
+
| `formattedPercentage?` | `string` |
|
|
3124
|
+
| `formattedRadialMax?` | `string` |
|
|
3125
|
+
| `formattedRadialMin?` | `string` |
|
|
3126
|
+
| `formattedSize?` | `string` |
|
|
3127
|
+
| `formattedStackPercentage?` | `string` |
|
|
3128
|
+
| `formattedStackTotal?` | `string` |
|
|
3129
|
+
| `formattedTo?` | `string` |
|
|
3130
|
+
| `formattedX` | `string` |
|
|
3131
|
+
| `formattedXValue?` | `string` |
|
|
3132
|
+
| `formattedY` | `string` |
|
|
3133
|
+
| `formattedYCategory?` | `string` |
|
|
3134
|
+
| `fromValue?` | `number` |
|
|
3135
|
+
| `funnel?` | `ChartFunnelPointMetadata` |
|
|
3136
|
+
| `hierarchy?` | `ChartHierarchyPointMetadata` |
|
|
3137
|
+
| `high?` | `number` |
|
|
3138
|
+
| `isClamped?` | `boolean` |
|
|
3139
|
+
| `low?` | `number` |
|
|
3140
|
+
| `markId` | `string` |
|
|
3141
|
+
| `open?` | `number` |
|
|
3142
|
+
| `percentage?` | `number` |
|
|
3143
|
+
| `radialMax?` | `number` |
|
|
3144
|
+
| `radialMin?` | `number` |
|
|
3145
|
+
| `radialRatio?` | `number` |
|
|
3146
|
+
| `rawValue?` | `unknown` |
|
|
3147
|
+
| `seriesId` | `string` |
|
|
3148
|
+
| `seriesName` | `string` |
|
|
3149
|
+
| `seriesType` | `ChartSeriesType` |
|
|
3150
|
+
| `sizeValue?` | `number` |
|
|
3151
|
+
| `sliceId?` | `string` |
|
|
3152
|
+
| `stackEnd?` | `number` |
|
|
3153
|
+
| `stackGroup?` | `string` |
|
|
3154
|
+
| `stackMode?` | `ChartStackMode` |
|
|
3155
|
+
| `stackPercentage?` | `number` |
|
|
3156
|
+
| `stackPosition?` | `"inner" \| "outer" \| "single"` |
|
|
3157
|
+
| `stackStart?` | `number` |
|
|
3158
|
+
| `stackTotal?` | `number` |
|
|
3159
|
+
| `toValue?` | `number` |
|
|
3160
|
+
| `value?` | `unknown` |
|
|
3161
|
+
| `valueKind?` | `ChartPointValueKind` |
|
|
3162
|
+
| `waterfall?` | `ChartWaterfallPointValue` |
|
|
3163
|
+
| `xAxisId?` | `string` |
|
|
3164
|
+
| `xAxisTitle?` | `string` |
|
|
3165
|
+
| `xValue` | `unknown` |
|
|
3166
|
+
| `yAxisId?` | `string` |
|
|
3167
|
+
| `yAxisTitle?` | `string` |
|
|
3168
|
+
| `yCategory?` | `unknown` |
|
|
3169
|
+
| `yValue?` | `number` |
|
|
3170
|
+
|
|
3171
|
+
**Used by:** [`ChartTooltipTemplateContext`](chart.md#charttooltiptemplatecontext), [`ChartTooltipTemplateDirective`](chart.md#charttooltiptemplatedirective)
|
|
3172
|
+
|
|
3173
|
+
## `ChartTooltipTemplateContext`
|
|
3174
|
+
|
|
3175
|
+
Interface.
|
|
3176
|
+
|
|
3177
|
+
**Type parameters:** `T = unknown`
|
|
3178
|
+
|
|
3179
|
+
### Properties
|
|
3180
|
+
|
|
3181
|
+
| Name | Type |
|
|
3182
|
+
| --- | --- |
|
|
3183
|
+
| `$implicit` | `ChartTooltipPointContext<T>` |
|
|
3184
|
+
| `point` | `ChartTooltipPointContext<T>` |
|
|
3185
|
+
| `points` | `readonly ChartTooltipPointContext<T>[]` |
|
|
3186
|
+
| `series` | `readonly string[]` |
|
|
3187
|
+
| `shared` | `boolean` |
|
|
3188
|
+
|
|
3189
|
+
## `ChartTreemapLabelTemplateContext`
|
|
3190
|
+
|
|
3191
|
+
Interface.
|
|
3192
|
+
|
|
3193
|
+
**Type parameters:** `T = unknown`
|
|
3194
|
+
|
|
3195
|
+
### Properties
|
|
3196
|
+
|
|
3197
|
+
| Name | Type |
|
|
3198
|
+
| --- | --- |
|
|
3199
|
+
| `$implicit` (read-only) | `ChartHierarchyNodeContext<T>` |
|
|
3200
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
3201
|
+
| `color` (read-only) | `string` |
|
|
3202
|
+
| `datum` (read-only) | `T` |
|
|
3203
|
+
| `depth` (read-only) | `number` |
|
|
3204
|
+
| `formattedLabel` (read-only) | `string` |
|
|
3205
|
+
| `formattedPath` (read-only) | `readonly string[]` |
|
|
3206
|
+
| `formattedValue` (read-only) | `string` |
|
|
3207
|
+
| `isCollapsed` (read-only) | `boolean` |
|
|
3208
|
+
| `isLeaf` (read-only) | `boolean` |
|
|
3209
|
+
| `label` (read-only) | `unknown` |
|
|
3210
|
+
| `node` (read-only) | `ChartHierarchyNodeContext<T>` |
|
|
3211
|
+
| `nodeId` (read-only) | `string` |
|
|
3212
|
+
| `path` (read-only) | `readonly unknown[]` |
|
|
3213
|
+
| `percentageOfParent?` (read-only) | `number` |
|
|
3214
|
+
| `percentageOfRoot?` (read-only) | `number` |
|
|
3215
|
+
| `textColor` (read-only) | `string` |
|
|
3216
|
+
| `value` (read-only) | `number` |
|
|
3217
|
+
|
|
3218
|
+
## `ChartTreemapNodeVisibilityEvent`
|
|
3219
|
+
|
|
3220
|
+
Interface.
|
|
3221
|
+
|
|
3222
|
+
**Type parameters:** `T = unknown`
|
|
3223
|
+
|
|
3224
|
+
### Properties
|
|
3225
|
+
|
|
3226
|
+
| Name | Type |
|
|
3227
|
+
| --- | --- |
|
|
3228
|
+
| `dataIndex?` (read-only) | `number` |
|
|
3229
|
+
| `datum?` (read-only) | `T` |
|
|
3230
|
+
| `depth?` (read-only) | `number` |
|
|
3231
|
+
| `formattedLabel?` (read-only) | `string` |
|
|
3232
|
+
| `label?` (read-only) | `unknown` |
|
|
3233
|
+
| `nodeId` (read-only) | `string` |
|
|
3234
|
+
| `seriesId` (read-only) | `string` |
|
|
3235
|
+
| `seriesName` (read-only) | `string` |
|
|
3236
|
+
| `seriesType` (read-only) | `"treemap"` |
|
|
3237
|
+
| `visible` (read-only) | `boolean` |
|
|
3238
|
+
|
|
3239
|
+
**Used by:** [`TreemapSeriesComponent`](chart.md#treemapseriescomponent)
|
|
3240
|
+
|
|
3241
|
+
## `ChartViewportAxisRef`
|
|
3242
|
+
|
|
3243
|
+
Interface.
|
|
3244
|
+
|
|
3245
|
+
### Properties
|
|
3246
|
+
|
|
3247
|
+
| Name | Type |
|
|
3248
|
+
| --- | --- |
|
|
3249
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
3250
|
+
| `axisId` (read-only) | `string` |
|
|
3251
|
+
|
|
3252
|
+
**Used by:** [`ChartCategoryViewportWindow`](chart.md#chartcategoryviewportwindow), [`ChartContinuousViewportWindow`](chart.md#chartcontinuousviewportwindow), [`ChartNavigationAxisTarget`](chart.md#chartnavigationaxistarget), [`ChartSynchronizationAxisMapping`](chart.md#chartsynchronizationaxismapping), [`ChartViewportChangeEvent`](chart.md#chartviewportchangeevent), [`ChartViewportConstraint`](chart.md#chartviewportconstraint), [`ChartViewportLinkGroup`](chart.md#chartviewportlinkgroup)
|
|
3253
|
+
|
|
3254
|
+
## `ChartViewportChangeEvent`
|
|
3255
|
+
|
|
3256
|
+
Interface.
|
|
3257
|
+
|
|
3258
|
+
### Properties
|
|
3259
|
+
|
|
3260
|
+
| Name | Type |
|
|
3261
|
+
| --- | --- |
|
|
3262
|
+
| `changedAxes` (read-only) | `readonly ChartViewportAxisRef[]` |
|
|
3263
|
+
| `phase` (read-only) | `ChartViewportChangePhase` |
|
|
3264
|
+
| `previousViewport` (read-only) | `ChartViewportState` |
|
|
3265
|
+
| `source` (read-only) | `ChartViewportChangeSource` |
|
|
3266
|
+
| `viewport` (read-only) | `ChartViewportState` |
|
|
3267
|
+
|
|
3268
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
3269
|
+
|
|
3270
|
+
## `ChartViewportConstraint`
|
|
3271
|
+
|
|
3272
|
+
Interface.
|
|
3273
|
+
|
|
3274
|
+
**Extends:** `ChartViewportAxisRef`
|
|
3275
|
+
|
|
3276
|
+
### Properties
|
|
3277
|
+
|
|
3278
|
+
| Name | Type |
|
|
3279
|
+
| --- | --- |
|
|
3280
|
+
| `maxSpan?` (read-only) | `number` |
|
|
3281
|
+
| `maxVisibleCategories?` (read-only) | `number` |
|
|
3282
|
+
| `maxZoom?` (read-only) | `number` |
|
|
3283
|
+
| `minSpan?` (read-only) | `number` |
|
|
3284
|
+
| `minVisibleCategories?` (read-only) | `number` |
|
|
3285
|
+
|
|
3286
|
+
### Inherited from `ChartViewportAxisRef`
|
|
3287
|
+
|
|
3288
|
+
| Name | Type |
|
|
3289
|
+
| --- | --- |
|
|
3290
|
+
| `axis` (read-only) | `"x" \| "y"` |
|
|
3291
|
+
| `axisId` (read-only) | `string` |
|
|
3292
|
+
|
|
3293
|
+
**Used by:** [`ChartNavigationOptions`](chart.md#chartnavigationoptions)
|
|
3294
|
+
|
|
3295
|
+
## `ChartViewportLinkGroup`
|
|
3296
|
+
|
|
3297
|
+
Interface.
|
|
3298
|
+
|
|
3299
|
+
### Properties
|
|
3300
|
+
|
|
3301
|
+
| Name | Type |
|
|
3302
|
+
| --- | --- |
|
|
3303
|
+
| `axes` (read-only) | `readonly ChartViewportAxisRef[]` |
|
|
3304
|
+
| `id` (read-only) | `string` |
|
|
3305
|
+
| `mode` (read-only) | `ChartViewportLinkMode` |
|
|
3306
|
+
|
|
3307
|
+
**Used by:** [`ChartNavigationOptions`](chart.md#chartnavigationoptions)
|
|
3308
|
+
|
|
3309
|
+
## `ChartViewportState`
|
|
3310
|
+
|
|
3311
|
+
Interface.
|
|
3312
|
+
|
|
3313
|
+
### Properties
|
|
3314
|
+
|
|
3315
|
+
| Name | Type |
|
|
3316
|
+
| --- | --- |
|
|
3317
|
+
| `axes` (read-only) | `readonly ChartViewportWindow[]` |
|
|
3318
|
+
|
|
3319
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent), [`ChartViewportChangeEvent`](chart.md#chartviewportchangeevent)
|
|
3320
|
+
|
|
3321
|
+
## `ChartViewportSynchronizationOptions`
|
|
3322
|
+
|
|
3323
|
+
Interface.
|
|
3324
|
+
|
|
3325
|
+
### Properties
|
|
3326
|
+
|
|
3327
|
+
| Name | Type |
|
|
3328
|
+
| --- | --- |
|
|
3329
|
+
| `axes?` (read-only) | `ChartNavigationAxisTarget` |
|
|
3330
|
+
| `enabled?` (read-only) | `boolean` |
|
|
3331
|
+
| `mode?` (read-only) | `ChartSynchronizationMode` |
|
|
3332
|
+
| `phase?` (read-only) | `"continuous" \| "end"` |
|
|
3333
|
+
|
|
3334
|
+
**Used by:** [`ChartSynchronizationOptions`](chart.md#chartsynchronizationoptions)
|
|
3335
|
+
|
|
3336
|
+
## `ChartWaterfallLabelTemplateContext`
|
|
3337
|
+
|
|
3338
|
+
Interface.
|
|
3339
|
+
|
|
3340
|
+
**Type parameters:** `T = unknown`
|
|
3341
|
+
|
|
3342
|
+
### Properties
|
|
3343
|
+
|
|
3344
|
+
| Name | Type |
|
|
3345
|
+
| --- | --- |
|
|
3346
|
+
| `$implicit` (read-only) | `ChartWaterfallPointContext<T>` |
|
|
3347
|
+
| `barEnd` (read-only) | `number` |
|
|
3348
|
+
| `barStart` (read-only) | `number` |
|
|
3349
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
3350
|
+
| `category` (read-only) | `unknown` |
|
|
3351
|
+
| `color` (read-only) | `string` |
|
|
3352
|
+
| `cumulativeAfter` (read-only) | `number` |
|
|
3353
|
+
| `cumulativeBefore` (read-only) | `number` |
|
|
3354
|
+
| `dataIndex` (read-only) | `number` |
|
|
3355
|
+
| `datum` (read-only) | `T` |
|
|
3356
|
+
| `deltaValue?` (read-only) | `number` |
|
|
3357
|
+
| `formattedCategory` (read-only) | `string` |
|
|
3358
|
+
| `formattedCumulativeAfter` (read-only) | `string` |
|
|
3359
|
+
| `formattedCumulativeBefore` (read-only) | `string` |
|
|
3360
|
+
| `formattedDelta?` (read-only) | `string` |
|
|
3361
|
+
| `formattedValue` (read-only) | `string` |
|
|
3362
|
+
| `kind` (read-only) | `ChartWaterfallDatumKind` |
|
|
3363
|
+
| `step` (read-only) | `ChartWaterfallPointContext<T>` |
|
|
3364
|
+
| `textColor?` (read-only) | `string` |
|
|
3365
|
+
| `value` (read-only) | `number` |
|
|
3366
|
+
| `visualKind` (read-only) | `ChartWaterfallVisualKind` |
|
|
3367
|
+
|
|
3368
|
+
## `ChartWaterfallPointContext`
|
|
3369
|
+
|
|
3370
|
+
Interface.
|
|
3371
|
+
|
|
3372
|
+
**Type parameters:** `T = unknown`
|
|
3373
|
+
|
|
3374
|
+
### Properties
|
|
3375
|
+
|
|
3376
|
+
| Name | Type |
|
|
3377
|
+
| --- | --- |
|
|
3378
|
+
| `barEnd` (read-only) | `number` |
|
|
3379
|
+
| `barStart` (read-only) | `number` |
|
|
3380
|
+
| `bounds` (read-only) | `ChartRect` |
|
|
3381
|
+
| `category` (read-only) | `unknown` |
|
|
3382
|
+
| `color` (read-only) | `string` |
|
|
3383
|
+
| `cumulativeAfter` (read-only) | `number` |
|
|
3384
|
+
| `cumulativeBefore` (read-only) | `number` |
|
|
3385
|
+
| `dataIndex` (read-only) | `number` |
|
|
3386
|
+
| `datum` (read-only) | `T` |
|
|
3387
|
+
| `deltaValue?` (read-only) | `number` |
|
|
3388
|
+
| `formattedCategory` (read-only) | `string` |
|
|
3389
|
+
| `formattedCumulativeAfter` (read-only) | `string` |
|
|
3390
|
+
| `formattedCumulativeBefore` (read-only) | `string` |
|
|
3391
|
+
| `formattedDelta?` (read-only) | `string` |
|
|
3392
|
+
| `formattedValue` (read-only) | `string` |
|
|
3393
|
+
| `kind` (read-only) | `ChartWaterfallDatumKind` |
|
|
3394
|
+
| `textColor?` (read-only) | `string` |
|
|
3395
|
+
| `value` (read-only) | `number` |
|
|
3396
|
+
| `visualKind` (read-only) | `ChartWaterfallVisualKind` |
|
|
3397
|
+
|
|
3398
|
+
**Used by:** [`ChartWaterfallLabelTemplateContext`](chart.md#chartwaterfalllabeltemplatecontext), [`ChartWaterfallLabelTemplateDirective`](chart.md#chartwaterfalllabeltemplatedirective)
|
|
3399
|
+
|
|
3400
|
+
## `ChartWaterfallPointValue`
|
|
3401
|
+
|
|
3402
|
+
Interface.
|
|
3403
|
+
|
|
3404
|
+
### Properties
|
|
3405
|
+
|
|
3406
|
+
| Name | Type |
|
|
3407
|
+
| --- | --- |
|
|
3408
|
+
| `barEnd` (read-only) | `number` |
|
|
3409
|
+
| `barStart` (read-only) | `number` |
|
|
3410
|
+
| `cumulativeAfter` (read-only) | `number` |
|
|
3411
|
+
| `cumulativeBefore` (read-only) | `number` |
|
|
3412
|
+
| `deltaValue?` (read-only) | `number` |
|
|
3413
|
+
| `formattedCumulativeAfter` (read-only) | `string` |
|
|
3414
|
+
| `formattedCumulativeBefore` (read-only) | `string` |
|
|
3415
|
+
| `formattedDelta?` (read-only) | `string` |
|
|
3416
|
+
| `kind` (read-only) | `ChartWaterfallDatumKind` |
|
|
3417
|
+
| `valueKind` (read-only) | `"waterfall"` |
|
|
3418
|
+
|
|
3419
|
+
**Used by:** [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartPointValue`](chart.md#chartpointvalue), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
3420
|
+
|
|
3421
|
+
## `HeatmapCellClickEvent`
|
|
3422
|
+
|
|
3423
|
+
Interface.
|
|
3424
|
+
|
|
3425
|
+
**Deprecated.** Nothing emits this. Use `pointClick` on the chart.
|
|
3426
|
+
|
|
3427
|
+
**Type parameters:** `T = unknown`
|
|
3428
|
+
|
|
3429
|
+
### Properties
|
|
3430
|
+
|
|
3431
|
+
| Name | Type |
|
|
3432
|
+
| --- | --- |
|
|
3433
|
+
| `categoryX` (read-only) | `string` |
|
|
3434
|
+
| `categoryY` (read-only) | `string` |
|
|
3435
|
+
| `datum` (read-only) | `T` |
|
|
3436
|
+
| `formattedValue` (read-only) | `string` |
|
|
3437
|
+
| `rawValue` (read-only) | `unknown` |
|
|
3438
|
+
| `seriesId` (read-only) | `string` |
|
|
3439
|
+
| `seriesName` (read-only) | `string` |
|
|
3440
|
+
| `seriesType` (read-only) | `"heatmap"` |
|
|
3441
|
+
| `value` (read-only) | `number \| null` |
|
|
3442
|
+
| `xIndex` (read-only) | `number` |
|
|
3443
|
+
| `yIndex` (read-only) | `number` |
|
|
3444
|
+
|
|
3445
|
+
## `HeatmapColorStop`
|
|
3446
|
+
|
|
3447
|
+
Interface.
|
|
3448
|
+
|
|
3449
|
+
**Deprecated.** No chart input takes this.
|
|
3450
|
+
|
|
3451
|
+
### Properties
|
|
3452
|
+
|
|
3453
|
+
| Name | Type |
|
|
3454
|
+
| --- | --- |
|
|
3455
|
+
| `color` (read-only) | `string` |
|
|
3456
|
+
| `offset` (read-only) | `number` |
|
|
3457
|
+
|
|
3458
|
+
## `ChartAnimationEasing`
|
|
3459
|
+
|
|
3460
|
+
Type alias.
|
|
3461
|
+
|
|
3462
|
+
```typescript
|
|
3463
|
+
type ChartAnimationEasing = "linear" | "ease-in" | "ease-out" | "ease-in-out";
|
|
3464
|
+
```
|
|
3465
|
+
|
|
3466
|
+
**Used by:** [`ChartAnimationOptions`](chart.md#chartanimationoptions)
|
|
3467
|
+
|
|
3468
|
+
## `ChartAnimationInput`
|
|
3469
|
+
|
|
3470
|
+
Type alias.
|
|
3471
|
+
|
|
3472
|
+
```typescript
|
|
3473
|
+
type ChartAnimationInput = boolean | ChartAnimationOptions;
|
|
3474
|
+
```
|
|
3475
|
+
|
|
3476
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
3477
|
+
|
|
3478
|
+
## `ChartAnnotationAxisValue`
|
|
3479
|
+
|
|
3480
|
+
Type alias.
|
|
3481
|
+
|
|
3482
|
+
```typescript
|
|
3483
|
+
type ChartAnnotationAxisValue = Date | number | string;
|
|
3484
|
+
```
|
|
3485
|
+
|
|
3486
|
+
**Used by:** [`ChartAnnotationComponent`](chart.md#chartannotationcomponent), [`ChartAnnotationLabelTemplateContext`](chart.md#chartannotationlabeltemplatecontext), [`ChartAnnotationLabelTemplateDirective`](chart.md#chartannotationlabeltemplatedirective), [`ChartReferenceBandComponent`](chart.md#chartreferencebandcomponent), [`ChartReferenceLabelTemplateDirective`](chart.md#chartreferencelabeltemplatedirective), [`ChartReferenceLineComponent`](chart.md#chartreferencelinecomponent)
|
|
3487
|
+
|
|
3488
|
+
## `ChartAnnotationLabelPlacement`
|
|
3489
|
+
|
|
3490
|
+
Type alias.
|
|
3491
|
+
|
|
3492
|
+
```typescript
|
|
3493
|
+
type ChartAnnotationLabelPlacement = "bottom" | "left" | "right" | "top";
|
|
3494
|
+
```
|
|
3495
|
+
|
|
3496
|
+
**Used by:** [`ChartAnnotationComponent`](chart.md#chartannotationcomponent)
|
|
3497
|
+
|
|
3498
|
+
## `ChartAnnotationMarker`
|
|
3499
|
+
|
|
3500
|
+
Type alias.
|
|
3501
|
+
|
|
3502
|
+
```typescript
|
|
3503
|
+
type ChartAnnotationMarker = "circle" | "diamond" | "none";
|
|
3504
|
+
```
|
|
3505
|
+
|
|
3506
|
+
**Used by:** [`ChartAnnotationComponent`](chart.md#chartannotationcomponent)
|
|
3507
|
+
|
|
3508
|
+
## `ChartAreaFillMode`
|
|
3509
|
+
|
|
3510
|
+
Type alias.
|
|
3511
|
+
|
|
3512
|
+
```typescript
|
|
3513
|
+
type ChartAreaFillMode = "gradient" | "solid";
|
|
3514
|
+
```
|
|
3515
|
+
|
|
3516
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent)
|
|
3517
|
+
|
|
3518
|
+
## `ChartAxisFormatter`
|
|
3519
|
+
|
|
3520
|
+
Type alias.
|
|
3521
|
+
|
|
3522
|
+
```typescript
|
|
3523
|
+
type ChartAxisFormatter<T = unknown> = (value: T, index: number) => string;
|
|
3524
|
+
```
|
|
3525
|
+
|
|
3526
|
+
**Used by:** [`CandlestickSeriesComponent`](chart.md#candlestickseriescomponent), [`ChartAngularAxisComponent`](chart.md#chartangularaxiscomponent), [`ChartRadialAxisComponent`](chart.md#chartradialaxiscomponent), [`ChartXAxisComponent`](chart.md#chartxaxiscomponent), [`ChartYAxisComponent`](chart.md#chartyaxiscomponent), [`OhlcSeriesComponent`](chart.md#ohlcseriescomponent)
|
|
3527
|
+
|
|
3528
|
+
## `ChartAxisLabelRotation`
|
|
3529
|
+
|
|
3530
|
+
Type alias.
|
|
3531
|
+
|
|
3532
|
+
```typescript
|
|
3533
|
+
type ChartAxisLabelRotation = "auto" | number;
|
|
3534
|
+
```
|
|
3535
|
+
|
|
3536
|
+
**Used by:** [`ChartXAxisComponent`](chart.md#chartxaxiscomponent), [`ChartYAxisComponent`](chart.md#chartyaxiscomponent)
|
|
3537
|
+
|
|
3538
|
+
## `ChartAxisPosition`
|
|
3539
|
+
|
|
3540
|
+
Type alias.
|
|
3541
|
+
|
|
3542
|
+
```typescript
|
|
3543
|
+
type ChartAxisPosition = ChartXAxisPosition | ChartYAxisSide;
|
|
3544
|
+
```
|
|
3545
|
+
|
|
3546
|
+
**Used by:** [`ChartAxisLabelTemplateContext`](chart.md#chartaxislabeltemplatecontext), [`ChartAxisLabelTemplateDirective`](chart.md#chartaxislabeltemplatedirective)
|
|
3547
|
+
|
|
3548
|
+
## `ChartBarOrientation`
|
|
3549
|
+
|
|
3550
|
+
Type alias.
|
|
3551
|
+
|
|
3552
|
+
```typescript
|
|
3553
|
+
type ChartBarOrientation = "horizontal" | "vertical";
|
|
3554
|
+
```
|
|
3555
|
+
|
|
3556
|
+
**Used by:** [`BarSeriesComponent`](chart.md#barseriescomponent), [`RangeBarSeriesComponent`](chart.md#rangebarseriescomponent)
|
|
3557
|
+
|
|
3558
|
+
## `ChartBrushActivation`
|
|
3559
|
+
|
|
3560
|
+
Type alias.
|
|
3561
|
+
|
|
3562
|
+
```typescript
|
|
3563
|
+
type ChartBrushActivation = "drag" | "shift-drag";
|
|
3564
|
+
```
|
|
3565
|
+
|
|
3566
|
+
**Used by:** [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
3567
|
+
|
|
3568
|
+
## `ChartBrushAxisRange`
|
|
3569
|
+
|
|
3570
|
+
Type alias.
|
|
3571
|
+
|
|
3572
|
+
```typescript
|
|
3573
|
+
type ChartBrushAxisRange = ChartBrushCategoryRange | ChartBrushContinuousRange;
|
|
3574
|
+
```
|
|
3575
|
+
|
|
3576
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent)
|
|
3577
|
+
|
|
3578
|
+
## `ChartBrushCancelReason`
|
|
3579
|
+
|
|
3580
|
+
Type alias.
|
|
3581
|
+
|
|
3582
|
+
```typescript
|
|
3583
|
+
type ChartBrushCancelReason = | "authority-change" | "component-disabled" | "data-change" | "destroyed" | "disabled" | "escape" | "lost-pointer-capture" | "pointer-cancel" | "pointer-leave" | "viewport-change";
|
|
3584
|
+
```
|
|
3585
|
+
|
|
3586
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent)
|
|
3587
|
+
|
|
3588
|
+
## `ChartBrushHitPolicy`
|
|
3589
|
+
|
|
3590
|
+
Type alias.
|
|
3591
|
+
|
|
3592
|
+
```typescript
|
|
3593
|
+
type ChartBrushHitPolicy = "center" | "intersect";
|
|
3594
|
+
```
|
|
3595
|
+
|
|
3596
|
+
**Used by:** [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
3597
|
+
|
|
3598
|
+
## `ChartBrushLineStyle`
|
|
3599
|
+
|
|
3600
|
+
Type alias.
|
|
3601
|
+
|
|
3602
|
+
```typescript
|
|
3603
|
+
type ChartBrushLineStyle = "solid" | "dashed" | "dotted";
|
|
3604
|
+
```
|
|
3605
|
+
|
|
3606
|
+
**Used by:** [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
3607
|
+
|
|
3608
|
+
## `ChartBrushMode`
|
|
3609
|
+
|
|
3610
|
+
Type alias.
|
|
3611
|
+
|
|
3612
|
+
```typescript
|
|
3613
|
+
type ChartBrushMode = "x" | "y" | "xy";
|
|
3614
|
+
```
|
|
3615
|
+
|
|
3616
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent), [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
3617
|
+
|
|
3618
|
+
## `ChartBrushPhase`
|
|
3619
|
+
|
|
3620
|
+
Type alias.
|
|
3621
|
+
|
|
3622
|
+
```typescript
|
|
3623
|
+
type ChartBrushPhase = "start" | "update" | "end" | "cancel";
|
|
3624
|
+
```
|
|
3625
|
+
|
|
3626
|
+
**Used by:** [`ChartBrushChangeEvent`](chart.md#chartbrushchangeevent)
|
|
3627
|
+
|
|
3628
|
+
## `ChartBrushSelectionBehavior`
|
|
3629
|
+
|
|
3630
|
+
Type alias.
|
|
3631
|
+
|
|
3632
|
+
```typescript
|
|
3633
|
+
type ChartBrushSelectionBehavior = "none" | "replace" | "add" | "remove" | "toggle";
|
|
3634
|
+
```
|
|
3635
|
+
|
|
3636
|
+
**Used by:** [`ChartBrushComponent`](chart.md#chartbrushcomponent)
|
|
3637
|
+
|
|
3638
|
+
## `ChartCoordinateSystem`
|
|
3639
|
+
|
|
3640
|
+
Type alias.
|
|
3641
|
+
|
|
3642
|
+
```typescript
|
|
3643
|
+
type ChartCoordinateSystem = "cartesian" | "hierarchical" | "polar";
|
|
3644
|
+
```
|
|
3645
|
+
|
|
3646
|
+
## `ChartCrosshairLineStyle`
|
|
3647
|
+
|
|
3648
|
+
Type alias.
|
|
3649
|
+
|
|
3650
|
+
```typescript
|
|
3651
|
+
type ChartCrosshairLineStyle = "dashed" | "dotted" | "solid";
|
|
3652
|
+
```
|
|
3653
|
+
|
|
3654
|
+
**Used by:** [`ChartCrosshairComponent`](chart.md#chartcrosshaircomponent)
|
|
3655
|
+
|
|
3656
|
+
## `ChartCrosshairMode`
|
|
3657
|
+
|
|
3658
|
+
Type alias.
|
|
3659
|
+
|
|
3660
|
+
```typescript
|
|
3661
|
+
type ChartCrosshairMode = "auto" | "x" | "xy" | "y";
|
|
3662
|
+
```
|
|
3663
|
+
|
|
3664
|
+
**Used by:** [`ChartCrosshairComponent`](chart.md#chartcrosshaircomponent)
|
|
3665
|
+
|
|
3666
|
+
## `ChartCrosshairSnapMode`
|
|
3667
|
+
|
|
3668
|
+
Type alias.
|
|
3669
|
+
|
|
3670
|
+
```typescript
|
|
3671
|
+
type ChartCrosshairSnapMode = "nearest" | "pointer";
|
|
3672
|
+
```
|
|
3673
|
+
|
|
3674
|
+
**Used by:** [`ChartCrosshairComponent`](chart.md#chartcrosshaircomponent)
|
|
3675
|
+
|
|
3676
|
+
## `ChartCurve`
|
|
3677
|
+
|
|
3678
|
+
Type alias.
|
|
3679
|
+
|
|
3680
|
+
```typescript
|
|
3681
|
+
type ChartCurve = "linear" | "monotone-x" | "natural" | "step" | "step-after";
|
|
3682
|
+
```
|
|
3683
|
+
|
|
3684
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`LineSeriesComponent`](chart.md#lineseriescomponent), [`RangeAreaSeriesComponent`](chart.md#rangeareaseriescomponent)
|
|
3685
|
+
|
|
3686
|
+
## `ChartDataLabelFormatter`
|
|
3687
|
+
|
|
3688
|
+
Type alias.
|
|
3689
|
+
|
|
3690
|
+
```typescript
|
|
3691
|
+
type ChartDataLabelFormatter<T = unknown> = (context: ChartDataLabelContext<T>) => string | null | undefined;
|
|
3692
|
+
```
|
|
3693
|
+
|
|
3694
|
+
**Used by:** [`ChartDataLabelOptions`](chart.md#chartdatalabeloptions)
|
|
3695
|
+
|
|
3696
|
+
## `ChartDataLabelPosition`
|
|
3697
|
+
|
|
3698
|
+
Type alias.
|
|
3699
|
+
|
|
3700
|
+
```typescript
|
|
3701
|
+
type ChartDataLabelPosition = | "auto" | "top" | "bottom" | "left" | "right" | "center" | "inside-start" | "inside-center" | "inside-end" | "outside-start" | "outside-end";
|
|
3702
|
+
```
|
|
3703
|
+
|
|
3704
|
+
**Used by:** [`ChartDataLabelOptions`](chart.md#chartdatalabeloptions)
|
|
3705
|
+
|
|
3706
|
+
## `ChartDataLabelsInput`
|
|
3707
|
+
|
|
3708
|
+
Type alias.
|
|
3709
|
+
|
|
3710
|
+
```typescript
|
|
3711
|
+
type ChartDataLabelsInput = boolean | ChartDataLabelOptions;
|
|
3712
|
+
```
|
|
3713
|
+
|
|
3714
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`BarSeriesComponent`](chart.md#barseriescomponent), [`BubbleSeriesComponent`](chart.md#bubbleseriescomponent), [`CandlestickSeriesComponent`](chart.md#candlestickseriescomponent), [`LineSeriesComponent`](chart.md#lineseriescomponent), [`OhlcSeriesComponent`](chart.md#ohlcseriescomponent), [`RangeAreaSeriesComponent`](chart.md#rangeareaseriescomponent), [`RangeBarSeriesComponent`](chart.md#rangebarseriescomponent), [`ScatterSeriesComponent`](chart.md#scatterseriescomponent)
|
|
3715
|
+
|
|
3716
|
+
## `ChartDownloadOptions`
|
|
3717
|
+
|
|
3718
|
+
Type alias.
|
|
3719
|
+
|
|
3720
|
+
Options for downloading a chart export.
|
|
3721
|
+
|
|
3722
|
+
```typescript
|
|
3723
|
+
type ChartDownloadOptions = ChartExportOptions & { readonly fileName?: string; };
|
|
3724
|
+
```
|
|
3725
|
+
|
|
3726
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
3727
|
+
|
|
3728
|
+
## `ChartDownsamplingAlgorithm`
|
|
3729
|
+
|
|
3730
|
+
Type alias.
|
|
3731
|
+
|
|
3732
|
+
```typescript
|
|
3733
|
+
type ChartDownsamplingAlgorithm = "auto" | "lttb" | "minmax" | "pixel";
|
|
3734
|
+
```
|
|
3735
|
+
|
|
3736
|
+
**Used by:** [`ChartDownsamplingOptions`](chart.md#chartdownsamplingoptions)
|
|
3737
|
+
|
|
3738
|
+
## `ChartDownsamplingInput`
|
|
3739
|
+
|
|
3740
|
+
Type alias.
|
|
3741
|
+
|
|
3742
|
+
```typescript
|
|
3743
|
+
type ChartDownsamplingInput = boolean | ChartDownsamplingOptions;
|
|
3744
|
+
```
|
|
3745
|
+
|
|
3746
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`BubbleSeriesComponent`](chart.md#bubbleseriescomponent), [`ChartComponent`](chart.md#chartcomponent), [`LineSeriesComponent`](chart.md#lineseriescomponent), [`RangeAreaSeriesComponent`](chart.md#rangeareaseriescomponent), [`ScatterSeriesComponent`](chart.md#scatterseriescomponent)
|
|
3747
|
+
|
|
3748
|
+
## `ChartExportBackground`
|
|
3749
|
+
|
|
3750
|
+
Type alias.
|
|
3751
|
+
|
|
3752
|
+
Chart export background policy.
|
|
3753
|
+
- "auto": Resolves the effective chart background color from the chart container/theme.
|
|
3754
|
+
- "transparent": Creates a transparent background.
|
|
3755
|
+
- CSS color string: Uses an explicit background color.
|
|
3756
|
+
|
|
3757
|
+
```typescript
|
|
3758
|
+
type ChartExportBackground = "auto" | "transparent" | string;
|
|
3759
|
+
```
|
|
3760
|
+
|
|
3761
|
+
**Used by:** [`ChartExportBaseOptions`](chart.md#chartexportbaseoptions)
|
|
3762
|
+
|
|
3763
|
+
## `ChartExportErrorCode`
|
|
3764
|
+
|
|
3765
|
+
Type alias.
|
|
3766
|
+
|
|
3767
|
+
Error code identifying the cause of a chart export failure.
|
|
3768
|
+
|
|
3769
|
+
```typescript
|
|
3770
|
+
type ChartExportErrorCode = | "not-ready" | "unsupported-environment" | "unsupported-template" | "invalid-size" | "too-large" | "resource-load-failed" | "template-rasterization-failed" | "svg-composition-failed" | "svg-serialization-failed" | "png-rasterization-failed" | "pdf-vector-unsupported" | "pdf-generation-failed";
|
|
3771
|
+
```
|
|
3772
|
+
|
|
3773
|
+
**Used by:** [`ChartExportError`](chart.md#chartexporterror)
|
|
3774
|
+
|
|
3775
|
+
## `ChartExportFormat`
|
|
3776
|
+
|
|
3777
|
+
Type alias.
|
|
3778
|
+
|
|
3779
|
+
Supported chart export formats.
|
|
3780
|
+
|
|
3781
|
+
```typescript
|
|
3782
|
+
type ChartExportFormat = "png" | "svg" | "pdf";
|
|
3783
|
+
```
|
|
3784
|
+
|
|
3785
|
+
**Used by:** [`ChartExportResult`](chart.md#chartexportresult)
|
|
3786
|
+
|
|
3787
|
+
## `ChartExportOptions`
|
|
3788
|
+
|
|
3789
|
+
Type alias.
|
|
3790
|
+
|
|
3791
|
+
Discriminated union of chart export options.
|
|
3792
|
+
|
|
3793
|
+
```typescript
|
|
3794
|
+
type ChartExportOptions = ChartPngExportOptions | ChartSvgExportOptions | ChartPdfExportOptions;
|
|
3795
|
+
```
|
|
3796
|
+
|
|
3797
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent), [`ChartDownloadOptions`](chart.md#chartdownloadoptions)
|
|
3798
|
+
|
|
3799
|
+
## `ChartField`
|
|
3800
|
+
|
|
3801
|
+
Type alias.
|
|
3802
|
+
|
|
3803
|
+
```typescript
|
|
3804
|
+
type ChartField<T = any, TResult = unknown> = string | ChartValueAccessor<T, TResult>;
|
|
3805
|
+
```
|
|
3806
|
+
|
|
3807
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`BarSeriesComponent`](chart.md#barseriescomponent), [`BubbleSeriesComponent`](chart.md#bubbleseriescomponent), [`CandlestickSeriesComponent`](chart.md#candlestickseriescomponent), [`ChartComponent`](chart.md#chartcomponent), [`ChartXAxisComponent`](chart.md#chartxaxiscomponent), [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`FunnelSeriesComponent`](chart.md#funnelseriescomponent), [`GaugeSeriesComponent`](chart.md#gaugeseriescomponent), [`HeatmapSeriesComponent`](chart.md#heatmapseriescomponent), [`LineSeriesComponent`](chart.md#lineseriescomponent), [`OhlcSeriesComponent`](chart.md#ohlcseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent), [`PolarSeriesComponent`](chart.md#polarseriescomponent), [`RadarSeriesComponent`](chart.md#radarseriescomponent), [`RadialBarSeriesComponent`](chart.md#radialbarseriescomponent), [`RangeAreaSeriesComponent`](chart.md#rangeareaseriescomponent), [`RangeBarSeriesComponent`](chart.md#rangebarseriescomponent), [`RoseSeriesComponent`](chart.md#roseseriescomponent), [`ScatterSeriesComponent`](chart.md#scatterseriescomponent), [`TreemapSeriesComponent`](chart.md#treemapseriescomponent), [`WaterfallSeriesComponent`](chart.md#waterfallseriescomponent)
|
|
3808
|
+
|
|
3809
|
+
## `ChartFinancialDirection`
|
|
3810
|
+
|
|
3811
|
+
Type alias.
|
|
3812
|
+
|
|
3813
|
+
```typescript
|
|
3814
|
+
type ChartFinancialDirection = "falling" | "neutral" | "rising";
|
|
3815
|
+
```
|
|
3816
|
+
|
|
3817
|
+
**Used by:** [`ChartOhlcPointValue`](chart.md#chartohlcpointvalue), [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
3818
|
+
|
|
3819
|
+
## `ChartFinancialFillMode`
|
|
3820
|
+
|
|
3821
|
+
Type alias.
|
|
3822
|
+
|
|
3823
|
+
```typescript
|
|
3824
|
+
type ChartFinancialFillMode = "filled" | "hollow";
|
|
3825
|
+
```
|
|
3826
|
+
|
|
3827
|
+
**Used by:** [`CandlestickSeriesComponent`](chart.md#candlestickseriescomponent)
|
|
3828
|
+
|
|
3829
|
+
## `ChartFunnelLabelContent`
|
|
3830
|
+
|
|
3831
|
+
Type alias.
|
|
3832
|
+
|
|
3833
|
+
```typescript
|
|
3834
|
+
type ChartFunnelLabelContent = "category" | "category-value" | "category-value-conversion" | "value";
|
|
3835
|
+
```
|
|
3836
|
+
|
|
3837
|
+
**Used by:** [`FunnelSeriesComponent`](chart.md#funnelseriescomponent)
|
|
3838
|
+
|
|
3839
|
+
## `ChartFunnelOrientation`
|
|
3840
|
+
|
|
3841
|
+
Type alias.
|
|
3842
|
+
|
|
3843
|
+
```typescript
|
|
3844
|
+
type ChartFunnelOrientation = "horizontal" | "vertical";
|
|
3845
|
+
```
|
|
3846
|
+
|
|
3847
|
+
**Used by:** [`FunnelSeriesComponent`](chart.md#funnelseriescomponent)
|
|
3848
|
+
|
|
3849
|
+
## `ChartGaugeIndicator`
|
|
3850
|
+
|
|
3851
|
+
Type alias.
|
|
3852
|
+
|
|
3853
|
+
```typescript
|
|
3854
|
+
type ChartGaugeIndicator = "arc" | "both" | "needle";
|
|
3855
|
+
```
|
|
3856
|
+
|
|
3857
|
+
**Used by:** [`GaugeSeriesComponent`](chart.md#gaugeseriescomponent)
|
|
3858
|
+
|
|
3859
|
+
## `ChartHeaderAlignment`
|
|
3860
|
+
|
|
3861
|
+
Type alias.
|
|
3862
|
+
|
|
3863
|
+
How the title and subtitle align: `start` and `end` follow the direction, `left` and `right` don't.
|
|
3864
|
+
|
|
3865
|
+
```typescript
|
|
3866
|
+
type ChartHeaderAlignment = "center" | "end" | "left" | "right" | "start";
|
|
3867
|
+
```
|
|
3868
|
+
|
|
3869
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
3870
|
+
|
|
3871
|
+
## `ChartHeatmapColorMode`
|
|
3872
|
+
|
|
3873
|
+
Type alias.
|
|
3874
|
+
|
|
3875
|
+
```typescript
|
|
3876
|
+
type ChartHeatmapColorMode = "diverging" | "sequential";
|
|
3877
|
+
```
|
|
3878
|
+
|
|
3879
|
+
**Used by:** [`ChartColorLegendScale`](chart.md#chartcolorlegendscale), [`HeatmapSeriesComponent`](chart.md#heatmapseriescomponent)
|
|
3880
|
+
|
|
3881
|
+
## `ChartHierarchicalKind`
|
|
3882
|
+
|
|
3883
|
+
Type alias.
|
|
3884
|
+
|
|
3885
|
+
```typescript
|
|
3886
|
+
type ChartHierarchicalKind = "treemap";
|
|
3887
|
+
```
|
|
3888
|
+
|
|
3889
|
+
## `ChartItemKey`
|
|
3890
|
+
|
|
3891
|
+
Type alias.
|
|
3892
|
+
|
|
3893
|
+
A value that can identify a chart item: a `keyField` value or a category.
|
|
3894
|
+
|
|
3895
|
+
```typescript
|
|
3896
|
+
type ChartItemKey = boolean | Date | number | string;
|
|
3897
|
+
```
|
|
3898
|
+
|
|
3899
|
+
**Used by:** [`chartItemCategoryId`](chart.md#chartitemcategoryid), [`chartItemKeyId`](chart.md#chartitemkeyid)
|
|
3900
|
+
|
|
3901
|
+
## `ChartLegendItemKind`
|
|
3902
|
+
|
|
3903
|
+
Type alias.
|
|
3904
|
+
|
|
3905
|
+
```typescript
|
|
3906
|
+
type ChartLegendItemKind = "datum" | "semantic" | "series";
|
|
3907
|
+
```
|
|
3908
|
+
|
|
3909
|
+
**Used by:** [`ChartLegendItem`](chart.md#chartlegenditem), [`ChartLegendItemTemplateContext`](chart.md#chartlegenditemtemplatecontext), [`ChartLegendItemTemplateDirective`](chart.md#chartlegenditemtemplatedirective)
|
|
3910
|
+
|
|
3911
|
+
## `ChartLegendMode`
|
|
3912
|
+
|
|
3913
|
+
Type alias.
|
|
3914
|
+
|
|
3915
|
+
```typescript
|
|
3916
|
+
type ChartLegendMode = "auto" | "color" | "series";
|
|
3917
|
+
```
|
|
3918
|
+
|
|
3919
|
+
**Used by:** [`ChartLegendComponent`](chart.md#chartlegendcomponent)
|
|
3920
|
+
|
|
3921
|
+
## `ChartLegendPosition`
|
|
3922
|
+
|
|
3923
|
+
Type alias.
|
|
3924
|
+
|
|
3925
|
+
Where a legend goes: `start` and `end` follow the direction, `left` and `right` don't.
|
|
3926
|
+
|
|
3927
|
+
```typescript
|
|
3928
|
+
type ChartLegendPosition = "bottom" | "end" | "left" | "right" | "start" | "top";
|
|
3929
|
+
```
|
|
3930
|
+
|
|
3931
|
+
**Used by:** [`ChartLegendComponent`](chart.md#chartlegendcomponent)
|
|
3932
|
+
|
|
3933
|
+
## `ChartLineStyle`
|
|
3934
|
+
|
|
3935
|
+
Type alias.
|
|
3936
|
+
|
|
3937
|
+
```typescript
|
|
3938
|
+
type ChartLineStyle = "solid" | "dashed" | "dotted";
|
|
3939
|
+
```
|
|
3940
|
+
|
|
3941
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`ChartSeriesStyle`](chart.md#chartseriesstyle), [`LineSeriesComponent`](chart.md#lineseriescomponent)
|
|
3942
|
+
|
|
3943
|
+
## `ChartNavigationAxisTarget`
|
|
3944
|
+
|
|
3945
|
+
Type alias.
|
|
3946
|
+
|
|
3947
|
+
```typescript
|
|
3948
|
+
type ChartNavigationAxisTarget = "auto" | "x" | "xy" | "y" | readonly ChartViewportAxisRef[];
|
|
3949
|
+
```
|
|
3950
|
+
|
|
3951
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent), [`ChartNavigationOptions`](chart.md#chartnavigationoptions), [`ChartViewportSynchronizationOptions`](chart.md#chartviewportsynchronizationoptions)
|
|
3952
|
+
|
|
3953
|
+
## `ChartNavigationInput`
|
|
3954
|
+
|
|
3955
|
+
Type alias.
|
|
3956
|
+
|
|
3957
|
+
```typescript
|
|
3958
|
+
type ChartNavigationInput = boolean | ChartNavigationOptions;
|
|
3959
|
+
```
|
|
3960
|
+
|
|
3961
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
3962
|
+
|
|
3963
|
+
## `ChartNumericScaleType`
|
|
3964
|
+
|
|
3965
|
+
Type alias.
|
|
3966
|
+
|
|
3967
|
+
```typescript
|
|
3968
|
+
type ChartNumericScaleType = "linear" | "log" | "symlog" | "pow" | "sqrt";
|
|
3969
|
+
```
|
|
3970
|
+
|
|
3971
|
+
**Used by:** [`ChartXAxisType`](chart.md#chartxaxistype), [`ChartYAxisType`](chart.md#chartyaxistype)
|
|
3972
|
+
|
|
3973
|
+
## `ChartOverlayLayer`
|
|
3974
|
+
|
|
3975
|
+
Type alias.
|
|
3976
|
+
|
|
3977
|
+
```typescript
|
|
3978
|
+
type ChartOverlayLayer = "overlay" | "underlay";
|
|
3979
|
+
```
|
|
3980
|
+
|
|
3981
|
+
**Used by:** [`ChartReferenceBandComponent`](chart.md#chartreferencebandcomponent), [`ChartReferenceLineComponent`](chart.md#chartreferencelinecomponent)
|
|
3982
|
+
|
|
3983
|
+
## `ChartPdfPageSize`
|
|
3984
|
+
|
|
3985
|
+
Type alias.
|
|
3986
|
+
|
|
3987
|
+
Standard or custom PDF page size.
|
|
3988
|
+
- "chart": Custom page dimensions sized to exactly match the chart dimensions in PDF points.
|
|
3989
|
+
- "a4": Standard ISO A4 page (595.28 x 841.89 pt).
|
|
3990
|
+
- "letter": Standard North American Letter page (612 x 792 pt).
|
|
3991
|
+
- Custom object: Explicit width and height in PDF points (72 points = 1 inch).
|
|
3992
|
+
|
|
3993
|
+
```typescript
|
|
3994
|
+
type ChartPdfPageSize = | "chart" | "a4" | "letter" | { readonly height: number; readonly width: number; };
|
|
3995
|
+
```
|
|
3996
|
+
|
|
3997
|
+
**Used by:** [`ChartPdfPageOptions`](chart.md#chartpdfpageoptions)
|
|
3998
|
+
|
|
3999
|
+
## `ChartPdfRenderMode`
|
|
4000
|
+
|
|
4001
|
+
Type alias.
|
|
4002
|
+
|
|
4003
|
+
PDF generation rendering mode.
|
|
4004
|
+
- "auto": Prefers vector output, falling back to embedded high-resolution raster image when vector fidelity cannot be guaranteed.
|
|
4005
|
+
- "vector": Requires strict vector conversion; rejects if vector conversion is unsupported.
|
|
4006
|
+
- "raster": Directly renders a rasterized chart image onto the PDF page.
|
|
4007
|
+
|
|
4008
|
+
```typescript
|
|
4009
|
+
type ChartPdfRenderMode = "auto" | "vector" | "raster";
|
|
4010
|
+
```
|
|
4011
|
+
|
|
4012
|
+
**Used by:** [`ChartPdfExportOptions`](chart.md#chartpdfexportoptions)
|
|
4013
|
+
|
|
4014
|
+
## `ChartPointValue`
|
|
4015
|
+
|
|
4016
|
+
Type alias.
|
|
4017
|
+
|
|
4018
|
+
```typescript
|
|
4019
|
+
type ChartPointValue = ChartOhlcPointValue | ChartRangePointValue | ChartScalarPointValue | ChartWaterfallPointValue;
|
|
4020
|
+
```
|
|
4021
|
+
|
|
4022
|
+
## `ChartPointValueKind`
|
|
4023
|
+
|
|
4024
|
+
Type alias.
|
|
4025
|
+
|
|
4026
|
+
```typescript
|
|
4027
|
+
type ChartPointValueKind = "ohlc" | "range" | "scalar" | "waterfall";
|
|
4028
|
+
```
|
|
4029
|
+
|
|
4030
|
+
**Used by:** [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
4031
|
+
|
|
4032
|
+
## `ChartPolarFillMode`
|
|
4033
|
+
|
|
4034
|
+
Type alias.
|
|
4035
|
+
|
|
4036
|
+
```typescript
|
|
4037
|
+
type ChartPolarFillMode = "gradient" | "solid";
|
|
4038
|
+
```
|
|
4039
|
+
|
|
4040
|
+
**Used by:** [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent)
|
|
4041
|
+
|
|
4042
|
+
## `ChartPolarLabelContent`
|
|
4043
|
+
|
|
4044
|
+
Type alias.
|
|
4045
|
+
|
|
4046
|
+
```typescript
|
|
4047
|
+
type ChartPolarLabelContent = "category" | "category-percentage" | "percentage" | "value";
|
|
4048
|
+
```
|
|
4049
|
+
|
|
4050
|
+
**Used by:** [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent)
|
|
4051
|
+
|
|
4052
|
+
## `ChartPolarLabelPosition`
|
|
4053
|
+
|
|
4054
|
+
Type alias.
|
|
4055
|
+
|
|
4056
|
+
```typescript
|
|
4057
|
+
type ChartPolarLabelPosition = "inside" | "outside";
|
|
4058
|
+
```
|
|
4059
|
+
|
|
4060
|
+
**Used by:** [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent)
|
|
4061
|
+
|
|
4062
|
+
## `ChartPolarLabelSide`
|
|
4063
|
+
|
|
4064
|
+
Type alias.
|
|
4065
|
+
|
|
4066
|
+
```typescript
|
|
4067
|
+
type ChartPolarLabelSide = "left" | "right";
|
|
4068
|
+
```
|
|
4069
|
+
|
|
4070
|
+
## `ChartRadialArcFillMode`
|
|
4071
|
+
|
|
4072
|
+
Type alias.
|
|
4073
|
+
|
|
4074
|
+
```typescript
|
|
4075
|
+
type ChartRadialArcFillMode = "gradient" | "solid";
|
|
4076
|
+
```
|
|
4077
|
+
|
|
4078
|
+
**Used by:** [`GaugeSeriesComponent`](chart.md#gaugeseriescomponent), [`RadialBarSeriesComponent`](chart.md#radialbarseriescomponent), [`RoseSeriesComponent`](chart.md#roseseriescomponent)
|
|
4079
|
+
|
|
4080
|
+
## `ChartRadialCurve`
|
|
4081
|
+
|
|
4082
|
+
Type alias.
|
|
4083
|
+
|
|
4084
|
+
```typescript
|
|
4085
|
+
type ChartRadialCurve = "linear" | "smooth";
|
|
4086
|
+
```
|
|
4087
|
+
|
|
4088
|
+
**Used by:** [`PolarSeriesComponent`](chart.md#polarseriescomponent), [`RadarSeriesComponent`](chart.md#radarseriescomponent)
|
|
4089
|
+
|
|
4090
|
+
## `ChartRadialFillMode`
|
|
4091
|
+
|
|
4092
|
+
Type alias.
|
|
4093
|
+
|
|
4094
|
+
```typescript
|
|
4095
|
+
type ChartRadialFillMode = "gradient" | "none" | "solid";
|
|
4096
|
+
```
|
|
4097
|
+
|
|
4098
|
+
**Used by:** [`PolarSeriesComponent`](chart.md#polarseriescomponent), [`RadarSeriesComponent`](chart.md#radarseriescomponent)
|
|
4099
|
+
|
|
4100
|
+
## `ChartRadialGridShape`
|
|
4101
|
+
|
|
4102
|
+
Type alias.
|
|
4103
|
+
|
|
4104
|
+
```typescript
|
|
4105
|
+
type ChartRadialGridShape = "auto" | "circle" | "polygon";
|
|
4106
|
+
```
|
|
4107
|
+
|
|
4108
|
+
**Used by:** [`ChartRadialAxisComponent`](chart.md#chartradialaxiscomponent)
|
|
4109
|
+
|
|
4110
|
+
## `ChartReferenceLabelPosition`
|
|
4111
|
+
|
|
4112
|
+
Type alias.
|
|
4113
|
+
|
|
4114
|
+
```typescript
|
|
4115
|
+
type ChartReferenceLabelPosition = "center" | "end" | "start";
|
|
4116
|
+
```
|
|
4117
|
+
|
|
4118
|
+
**Used by:** [`ChartReferenceBandComponent`](chart.md#chartreferencebandcomponent), [`ChartReferenceLineComponent`](chart.md#chartreferencelinecomponent)
|
|
4119
|
+
|
|
4120
|
+
## `ChartReferenceLabelTemplateContext`
|
|
4121
|
+
|
|
4122
|
+
Type alias.
|
|
4123
|
+
|
|
4124
|
+
```typescript
|
|
4125
|
+
type ChartReferenceLabelTemplateContext = ChartReferenceLineLabelContext | ChartReferenceBandLabelContext;
|
|
4126
|
+
```
|
|
4127
|
+
|
|
4128
|
+
## `ChartReferenceLineStyle`
|
|
4129
|
+
|
|
4130
|
+
Type alias.
|
|
4131
|
+
|
|
4132
|
+
```typescript
|
|
4133
|
+
type ChartReferenceLineStyle = "dashed" | "dotted" | "solid";
|
|
4134
|
+
```
|
|
4135
|
+
|
|
4136
|
+
**Used by:** [`ChartReferenceLineComponent`](chart.md#chartreferencelinecomponent)
|
|
4137
|
+
|
|
4138
|
+
## `ChartRendererMode`
|
|
4139
|
+
|
|
4140
|
+
Type alias.
|
|
4141
|
+
|
|
4142
|
+
```typescript
|
|
4143
|
+
type ChartRendererMode = "canvas" | "svg";
|
|
4144
|
+
```
|
|
4145
|
+
|
|
4146
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
4147
|
+
|
|
4148
|
+
## `ChartRoseScaleMode`
|
|
4149
|
+
|
|
4150
|
+
Type alias.
|
|
4151
|
+
|
|
4152
|
+
```typescript
|
|
4153
|
+
type ChartRoseScaleMode = "area" | "radius";
|
|
4154
|
+
```
|
|
4155
|
+
|
|
4156
|
+
**Used by:** [`RoseSeriesComponent`](chart.md#roseseriescomponent)
|
|
4157
|
+
|
|
4158
|
+
## `ChartSelectionChangeSource`
|
|
4159
|
+
|
|
4160
|
+
Type alias.
|
|
4161
|
+
|
|
4162
|
+
```typescript
|
|
4163
|
+
type ChartSelectionChangeSource = "brush" | "click" | "keyboard" | "programmatic";
|
|
4164
|
+
```
|
|
4165
|
+
|
|
4166
|
+
**Used by:** [`ChartSelectionChangeEvent`](chart.md#chartselectionchangeevent)
|
|
4167
|
+
|
|
4168
|
+
## `ChartSelectionMode`
|
|
4169
|
+
|
|
4170
|
+
Type alias.
|
|
4171
|
+
|
|
4172
|
+
```typescript
|
|
4173
|
+
type ChartSelectionMode = "single" | "multiple";
|
|
4174
|
+
```
|
|
4175
|
+
|
|
4176
|
+
**Used by:** [`ChartSelectionComponent`](chart.md#chartselectioncomponent)
|
|
4177
|
+
|
|
4178
|
+
## `ChartSeriesFamily`
|
|
4179
|
+
|
|
4180
|
+
Type alias.
|
|
4181
|
+
|
|
4182
|
+
```typescript
|
|
4183
|
+
type ChartSeriesFamily = "cartesian" | "funnel" | "heatmap" | "hierarchy" | "polar" | "radar" | "radialArc" | "sector" | "waterfall";
|
|
4184
|
+
```
|
|
4185
|
+
|
|
4186
|
+
**Used by:** [`getChartSeriesFamily`](chart.md#getchartseriesfamily), [`isCartesianCoordinateFamily`](chart.md#iscartesiancoordinatefamily), [`isHierarchicalCoordinateFamily`](chart.md#ishierarchicalcoordinatefamily), [`isPolarCoordinateFamily`](chart.md#ispolarcoordinatefamily)
|
|
4187
|
+
|
|
4188
|
+
## `ChartSeriesType`
|
|
4189
|
+
|
|
4190
|
+
Type alias.
|
|
4191
|
+
|
|
4192
|
+
```typescript
|
|
4193
|
+
type ChartSeriesType = | "area" | "bar" | "bubble" | "candlestick" | "donut" | "funnel" | "gauge" | "heatmap" | "line" | "ohlc" | "pie" | "polar" | "radar" | "radialBar" | "rangeArea" | "rangeBar" | "rose" | "scatter" | "treemap" | "waterfall";
|
|
4194
|
+
```
|
|
4195
|
+
|
|
4196
|
+
**Used by:** [`ChartDataLabelContext`](chart.md#chartdatalabelcontext), [`ChartDataLabelTemplateDirective`](chart.md#chartdatalabeltemplatedirective), [`ChartLegendItem`](chart.md#chartlegenditem), [`ChartLegendItemTemplateContext`](chart.md#chartlegenditemtemplatecontext), [`ChartLegendItemTemplateDirective`](chart.md#chartlegenditemtemplatedirective), [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartSelectedPoint`](chart.md#chartselectedpoint), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext), [`getChartSeriesFamily`](chart.md#getchartseriesfamily)
|
|
4197
|
+
|
|
4198
|
+
## `ChartStackMode`
|
|
4199
|
+
|
|
4200
|
+
Type alias.
|
|
4201
|
+
|
|
4202
|
+
```typescript
|
|
4203
|
+
type ChartStackMode = "normal" | "percent";
|
|
4204
|
+
```
|
|
4205
|
+
|
|
4206
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`BarSeriesComponent`](chart.md#barseriescomponent), [`ChartDataLabelContext`](chart.md#chartdatalabelcontext), [`ChartDataLabelTemplateDirective`](chart.md#chartdatalabeltemplatedirective), [`ChartPointEvent`](chart.md#chartpointevent), [`ChartPointFocusEvent`](chart.md#chartpointfocusevent), [`ChartTooltipPointContext`](chart.md#charttooltippointcontext)
|
|
4207
|
+
|
|
4208
|
+
## `ChartSynchronizationInput`
|
|
4209
|
+
|
|
4210
|
+
Type alias.
|
|
4211
|
+
|
|
4212
|
+
```typescript
|
|
4213
|
+
type ChartSynchronizationInput = false | string | ChartSynchronizationOptions;
|
|
4214
|
+
```
|
|
4215
|
+
|
|
4216
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent)
|
|
4217
|
+
|
|
4218
|
+
## `ChartSynchronizationMode`
|
|
4219
|
+
|
|
4220
|
+
Type alias.
|
|
4221
|
+
|
|
4222
|
+
```typescript
|
|
4223
|
+
type ChartSynchronizationMode = "domain" | "relative";
|
|
4224
|
+
```
|
|
4225
|
+
|
|
4226
|
+
**Used by:** [`ChartCrosshairSynchronizationOptions`](chart.md#chartcrosshairsynchronizationoptions), [`ChartViewportSynchronizationOptions`](chart.md#chartviewportsynchronizationoptions)
|
|
4227
|
+
|
|
4228
|
+
## `ChartTreemapSort`
|
|
4229
|
+
|
|
4230
|
+
Type alias.
|
|
4231
|
+
|
|
4232
|
+
```typescript
|
|
4233
|
+
type ChartTreemapSort = "ascending" | "descending" | "none";
|
|
4234
|
+
```
|
|
4235
|
+
|
|
4236
|
+
**Used by:** [`TreemapSeriesComponent`](chart.md#treemapseriescomponent)
|
|
4237
|
+
|
|
4238
|
+
## `ChartTreemapTile`
|
|
4239
|
+
|
|
4240
|
+
Type alias.
|
|
4241
|
+
|
|
4242
|
+
```typescript
|
|
4243
|
+
type ChartTreemapTile = "binary" | "dice" | "slice" | "slice-dice" | "squarify";
|
|
4244
|
+
```
|
|
4245
|
+
|
|
4246
|
+
**Used by:** [`TreemapSeriesComponent`](chart.md#treemapseriescomponent)
|
|
4247
|
+
|
|
4248
|
+
## `ChartValueAccessor`
|
|
4249
|
+
|
|
4250
|
+
Type alias.
|
|
4251
|
+
|
|
4252
|
+
```typescript
|
|
4253
|
+
type ChartValueAccessor<T = any, TResult = unknown> = (item: T, index: number) => TResult;
|
|
4254
|
+
```
|
|
4255
|
+
|
|
4256
|
+
**Used by:** [`ChartField`](chart.md#chartfield)
|
|
4257
|
+
|
|
4258
|
+
## `ChartValueFormatter`
|
|
4259
|
+
|
|
4260
|
+
Type alias.
|
|
4261
|
+
|
|
4262
|
+
```typescript
|
|
4263
|
+
type ChartValueFormatter<T = unknown> = (value: T, index: number) => string;
|
|
4264
|
+
```
|
|
4265
|
+
|
|
4266
|
+
**Used by:** [`AreaSeriesComponent`](chart.md#areaseriescomponent), [`BarSeriesComponent`](chart.md#barseriescomponent), [`BubbleSeriesComponent`](chart.md#bubbleseriescomponent), [`DonutSeriesComponent`](chart.md#donutseriescomponent), [`FunnelSeriesComponent`](chart.md#funnelseriescomponent), [`GaugeSeriesComponent`](chart.md#gaugeseriescomponent), [`HeatmapSeriesComponent`](chart.md#heatmapseriescomponent), [`LineSeriesComponent`](chart.md#lineseriescomponent), [`PieSeriesComponent`](chart.md#pieseriescomponent), [`PolarSeriesComponent`](chart.md#polarseriescomponent), [`RadarSeriesComponent`](chart.md#radarseriescomponent), [`RadialBarSeriesComponent`](chart.md#radialbarseriescomponent), [`RangeAreaSeriesComponent`](chart.md#rangeareaseriescomponent), [`RangeBarSeriesComponent`](chart.md#rangebarseriescomponent), [`RoseSeriesComponent`](chart.md#roseseriescomponent), [`ScatterSeriesComponent`](chart.md#scatterseriescomponent), [`TreemapSeriesComponent`](chart.md#treemapseriescomponent), [`WaterfallSeriesComponent`](chart.md#waterfallseriescomponent)
|
|
4267
|
+
|
|
4268
|
+
## `ChartViewportChangePhase`
|
|
4269
|
+
|
|
4270
|
+
Type alias.
|
|
4271
|
+
|
|
4272
|
+
```typescript
|
|
4273
|
+
type ChartViewportChangePhase = "end" | "start" | "update";
|
|
4274
|
+
```
|
|
4275
|
+
|
|
4276
|
+
**Used by:** [`ChartViewportChangeEvent`](chart.md#chartviewportchangeevent)
|
|
4277
|
+
|
|
4278
|
+
## `ChartViewportChangeSource`
|
|
4279
|
+
|
|
4280
|
+
Type alias.
|
|
4281
|
+
|
|
4282
|
+
```typescript
|
|
4283
|
+
type ChartViewportChangeSource = "data-reconcile" | "drag" | "fit" | "keyboard" | "pinch" | "programmatic" | "reset" | "sync" | "wheel";
|
|
4284
|
+
```
|
|
4285
|
+
|
|
4286
|
+
**Used by:** [`ChartViewportChangeEvent`](chart.md#chartviewportchangeevent)
|
|
4287
|
+
|
|
4288
|
+
## `ChartViewportLinkMode`
|
|
4289
|
+
|
|
4290
|
+
Type alias.
|
|
4291
|
+
|
|
4292
|
+
```typescript
|
|
4293
|
+
type ChartViewportLinkMode = "domain" | "relative";
|
|
4294
|
+
```
|
|
4295
|
+
|
|
4296
|
+
**Used by:** [`ChartViewportLinkGroup`](chart.md#chartviewportlinkgroup)
|
|
4297
|
+
|
|
4298
|
+
## `ChartViewportWindow`
|
|
4299
|
+
|
|
4300
|
+
Type alias.
|
|
4301
|
+
|
|
4302
|
+
```typescript
|
|
4303
|
+
type ChartViewportWindow = ChartCategoryViewportWindow | ChartContinuousViewportWindow;
|
|
4304
|
+
```
|
|
4305
|
+
|
|
4306
|
+
**Used by:** [`ChartComponent`](chart.md#chartcomponent), [`ChartViewportState`](chart.md#chartviewportstate)
|
|
4307
|
+
|
|
4308
|
+
## `ChartWaterfallDatumKind`
|
|
4309
|
+
|
|
4310
|
+
Type alias.
|
|
4311
|
+
|
|
4312
|
+
```typescript
|
|
4313
|
+
type ChartWaterfallDatumKind = "change" | "subtotal" | "total";
|
|
4314
|
+
```
|
|
4315
|
+
|
|
4316
|
+
**Used by:** [`ChartWaterfallLabelTemplateContext`](chart.md#chartwaterfalllabeltemplatecontext), [`ChartWaterfallLabelTemplateDirective`](chart.md#chartwaterfalllabeltemplatedirective), [`ChartWaterfallPointContext`](chart.md#chartwaterfallpointcontext), [`ChartWaterfallPointValue`](chart.md#chartwaterfallpointvalue)
|
|
4317
|
+
|
|
4318
|
+
## `ChartWaterfallVisualKind`
|
|
4319
|
+
|
|
4320
|
+
Type alias.
|
|
4321
|
+
|
|
4322
|
+
```typescript
|
|
4323
|
+
type ChartWaterfallVisualKind = "decrease" | "increase" | "neutral" | "subtotal" | "total";
|
|
4324
|
+
```
|
|
4325
|
+
|
|
4326
|
+
**Used by:** [`ChartWaterfallLabelTemplateContext`](chart.md#chartwaterfalllabeltemplatecontext), [`ChartWaterfallLabelTemplateDirective`](chart.md#chartwaterfalllabeltemplatedirective), [`ChartWaterfallPointContext`](chart.md#chartwaterfallpointcontext)
|
|
4327
|
+
|
|
4328
|
+
## `ChartXAxisPosition`
|
|
4329
|
+
|
|
4330
|
+
Type alias.
|
|
4331
|
+
|
|
4332
|
+
```typescript
|
|
4333
|
+
type ChartXAxisPosition = "bottom" | "top";
|
|
4334
|
+
```
|
|
4335
|
+
|
|
4336
|
+
**Used by:** [`ChartAxisPosition`](chart.md#chartaxisposition), [`ChartXAxisComponent`](chart.md#chartxaxiscomponent)
|
|
4337
|
+
|
|
4338
|
+
## `ChartXAxisType`
|
|
4339
|
+
|
|
4340
|
+
Type alias.
|
|
4341
|
+
|
|
4342
|
+
```typescript
|
|
4343
|
+
type ChartXAxisType = "auto" | "category" | ChartNumericScaleType | "time" | "utc";
|
|
4344
|
+
```
|
|
4345
|
+
|
|
4346
|
+
**Used by:** [`ChartAxisLabelTemplateContext`](chart.md#chartaxislabeltemplatecontext), [`ChartXAxisComponent`](chart.md#chartxaxiscomponent)
|
|
4347
|
+
|
|
4348
|
+
## `ChartYAxisPosition`
|
|
4349
|
+
|
|
4350
|
+
Type alias.
|
|
4351
|
+
|
|
4352
|
+
Where a Y axis goes: `start` and `end` follow the direction, `left` and `right` don't.
|
|
4353
|
+
|
|
4354
|
+
```typescript
|
|
4355
|
+
type ChartYAxisPosition = ChartYAxisSide | "end" | "start";
|
|
4356
|
+
```
|
|
4357
|
+
|
|
4358
|
+
**Used by:** [`ChartYAxisComponent`](chart.md#chartyaxiscomponent)
|
|
4359
|
+
|
|
4360
|
+
## `ChartYAxisSide`
|
|
4361
|
+
|
|
4362
|
+
Type alias.
|
|
4363
|
+
|
|
4364
|
+
The physical side a Y axis is drawn on.
|
|
4365
|
+
|
|
4366
|
+
```typescript
|
|
4367
|
+
type ChartYAxisSide = "left" | "right";
|
|
4368
|
+
```
|
|
4369
|
+
|
|
4370
|
+
**Used by:** [`ChartAxisPosition`](chart.md#chartaxisposition), [`ChartYAxisPosition`](chart.md#chartyaxisposition)
|
|
4371
|
+
|
|
4372
|
+
## `ChartYAxisType`
|
|
4373
|
+
|
|
4374
|
+
Type alias.
|
|
4375
|
+
|
|
4376
|
+
```typescript
|
|
4377
|
+
type ChartYAxisType = "auto" | "category" | ChartNumericScaleType;
|
|
4378
|
+
```
|
|
4379
|
+
|
|
4380
|
+
**Used by:** [`ChartYAxisComponent`](chart.md#chartyaxiscomponent)
|