@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.
Files changed (168) hide show
  1. package/docs/api/auto-complete.md +67 -0
  2. package/docs/api/avatar.md +31 -0
  3. package/docs/api/breadcrumb.md +74 -0
  4. package/docs/api/button-group.md +71 -0
  5. package/docs/api/button.md +84 -0
  6. package/docs/api/calendar.md +123 -0
  7. package/docs/api/card.md +97 -0
  8. package/docs/api/chart.md +4380 -0
  9. package/docs/api/check-box.md +70 -0
  10. package/docs/api/chip.md +55 -0
  11. package/docs/api/circular-progress-bar.md +71 -0
  12. package/docs/api/collapsible.md +71 -0
  13. package/docs/api/color-gradient.md +54 -0
  14. package/docs/api/color-palette.md +52 -0
  15. package/docs/api/color-picker.md +89 -0
  16. package/docs/api/combo-box.md +69 -0
  17. package/docs/api/command.md +282 -0
  18. package/docs/api/common.md +599 -0
  19. package/docs/api/contextmenu.md +239 -0
  20. package/docs/api/date-input.md +119 -0
  21. package/docs/api/date-picker.md +67 -0
  22. package/docs/api/datetime-picker.md +72 -0
  23. package/docs/api/dialog.md +291 -0
  24. package/docs/api/dropdown-button.md +248 -0
  25. package/docs/api/dropdown-list.md +72 -0
  26. package/docs/api/dropdowns.md +172 -0
  27. package/docs/api/editor.md +117 -0
  28. package/docs/api/expansion-panel.md +85 -0
  29. package/docs/api/fieldset.md +33 -0
  30. package/docs/api/filter.md +116 -0
  31. package/docs/api/grid.md +1445 -0
  32. package/docs/api/i18n.md +1699 -0
  33. package/docs/api/label.md +58 -0
  34. package/docs/api/list-box.md +301 -0
  35. package/docs/api/list-view.md +294 -0
  36. package/docs/api/list.md +119 -0
  37. package/docs/api/locales.md +134 -0
  38. package/docs/api/menubar.md +275 -0
  39. package/docs/api/multi-select.md +92 -0
  40. package/docs/api/notification.md +164 -0
  41. package/docs/api/numeric-text-box.md +130 -0
  42. package/docs/api/otp-input.md +100 -0
  43. package/docs/api/pager.md +371 -0
  44. package/docs/api/placeholder.md +18 -0
  45. package/docs/api/popover.md +170 -0
  46. package/docs/api/popup-menu.md +328 -0
  47. package/docs/api/popup.md +299 -0
  48. package/docs/api/progress-bar.md +79 -0
  49. package/docs/api/query.md +367 -0
  50. package/docs/api/radio-button.md +113 -0
  51. package/docs/api/rating.md +187 -0
  52. package/docs/api/scroll-view.md +93 -0
  53. package/docs/api/segmented.md +114 -0
  54. package/docs/api/sheet.md +65 -0
  55. package/docs/api/sidebar.md +583 -0
  56. package/docs/api/skeleton.md +26 -0
  57. package/docs/api/slider.md +173 -0
  58. package/docs/api/spinner.md +132 -0
  59. package/docs/api/split-button.md +261 -0
  60. package/docs/api/splitter.md +57 -0
  61. package/docs/api/stepper.md +148 -0
  62. package/docs/api/switch.md +78 -0
  63. package/docs/api/tabs.md +139 -0
  64. package/docs/api/text-area.md +20 -0
  65. package/docs/api/text-box.md +106 -0
  66. package/docs/api/theme.md +627 -0
  67. package/docs/api/time-picker.md +69 -0
  68. package/docs/api/time-selector.md +54 -0
  69. package/docs/api/tooltip.md +112 -0
  70. package/docs/api/tree-view.md +631 -0
  71. package/docs/api/window.md +245 -0
  72. package/docs/auto-complete.md +28 -329
  73. package/docs/avatar.md +4 -24
  74. package/docs/breadcrumb.md +10 -65
  75. package/docs/button-group.md +7 -60
  76. package/docs/button.md +8 -67
  77. package/docs/calendar.md +16 -121
  78. package/docs/card.md +16 -79
  79. package/docs/chart-bar.md +16 -234
  80. package/docs/chart-financial.md +10 -121
  81. package/docs/chart-funnel.md +13 -176
  82. package/docs/chart-heatmap.md +15 -131
  83. package/docs/chart-line-area.md +12 -137
  84. package/docs/chart-pie.md +17 -221
  85. package/docs/chart-radar.md +13 -129
  86. package/docs/chart-radial.md +13 -211
  87. package/docs/chart-scatter.md +6 -74
  88. package/docs/chart-treemap.md +14 -196
  89. package/docs/chart.md +154 -1892
  90. package/docs/checkbox.md +5 -61
  91. package/docs/chip.md +7 -42
  92. package/docs/circular-progress-bar.md +9 -61
  93. package/docs/collapsible.md +5 -87
  94. package/docs/color-gradient.md +8 -81
  95. package/docs/color-palette.md +7 -69
  96. package/docs/color-picker.md +9 -105
  97. package/docs/combo-box.md +28 -331
  98. package/docs/command.md +25 -236
  99. package/docs/contextmenu.md +15 -140
  100. package/docs/date-picker.md +7 -110
  101. package/docs/datetime-picker.md +7 -129
  102. package/docs/decimal-textbox.md +6 -69
  103. package/docs/dialog.md +23 -263
  104. package/docs/dropdown-button.md +15 -146
  105. package/docs/dropdown-list.md +29 -332
  106. package/docs/editor.md +8 -164
  107. package/docs/expansion-panel.md +7 -69
  108. package/docs/fieldset.md +5 -24
  109. package/docs/grid-columns.md +12 -92
  110. package/docs/grid-editing.md +29 -291
  111. package/docs/grid-grouping.md +11 -50
  112. package/docs/grid-rows.md +10 -74
  113. package/docs/grid-selection.md +7 -36
  114. package/docs/grid-server.md +8 -293
  115. package/docs/grid-sorting-filtering.md +10 -333
  116. package/docs/grid-state-export.md +17 -228
  117. package/docs/grid.md +23 -216
  118. package/docs/input.md +7 -19
  119. package/docs/label.md +8 -39
  120. package/docs/list-box.md +21 -253
  121. package/docs/list-view.md +25 -232
  122. package/docs/menubar.md +21 -167
  123. package/docs/multi-select.md +31 -350
  124. package/docs/notification.md +17 -116
  125. package/docs/numeric-textbox.md +9 -78
  126. package/docs/otp-input.md +9 -95
  127. package/docs/pager.md +19 -239
  128. package/docs/placeholder.md +5 -18
  129. package/docs/popover.md +13 -123
  130. package/docs/popup-menu.md +22 -243
  131. package/docs/popup.md +24 -248
  132. package/docs/progress-bar.md +10 -75
  133. package/docs/radio-button.md +8 -96
  134. package/docs/range-slider.md +9 -82
  135. package/docs/rating.md +15 -163
  136. package/docs/scroll-view.md +9 -86
  137. package/docs/segmented.md +8 -90
  138. package/docs/sheet.md +10 -74
  139. package/docs/sidebar-menus.md +413 -0
  140. package/docs/sidebar-state.md +401 -0
  141. package/docs/sidebar.md +32 -876
  142. package/docs/skeleton.md +5 -26
  143. package/docs/slider.md +9 -97
  144. package/docs/spinner.md +15 -95
  145. package/docs/split-button.md +21 -166
  146. package/docs/splitter.md +9 -56
  147. package/docs/stepper.md +13 -127
  148. package/docs/switch.md +8 -58
  149. package/docs/tabs.md +13 -111
  150. package/docs/textarea.md +4 -13
  151. package/docs/textbox.md +10 -77
  152. package/docs/time-picker.md +7 -112
  153. package/docs/tooltip-directive.md +12 -96
  154. package/docs/tooltip.md +12 -96
  155. package/docs/tree-view.md +42 -495
  156. package/docs/window.md +19 -230
  157. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +1 -0
  158. package/fesm2022/nanahoshi-mona-ui-common.mjs +3 -0
  159. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +13 -1
  160. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +5 -0
  161. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +9 -0
  162. package/llms.txt +76 -0
  163. package/package.json +1 -1
  164. package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -0
  165. package/types/nanahoshi-mona-ui-common.d.ts +6 -0
  166. package/types/nanahoshi-mona-ui-date-input.d.ts +18 -1
  167. package/types/nanahoshi-mona-ui-dropdowns.d.ts +6 -0
  168. package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
package/docs/chart.md CHANGED
@@ -565,1901 +565,163 @@ Keys pressed inside the legend or other projected content are left to that conte
565
565
 
566
566
  ## API
567
567
 
568
- Everything below is imported from `@nanahoshi/mona-ui/chart`.
568
+ Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
569
569
 
570
- ### `ChartComponent`
571
-
572
- Root visualization container coordinating coordinate layouts, canvas rendering, theme styles, and interactions.
573
-
574
- **Selector:** `mona-chart`
575
-
576
- #### Inputs
577
-
578
- | Name | Type | Default | Description |
579
- | --- | --- | --- | --- |
580
- | `animation` | `ChartAnimationInput` | `true` | Animation settings for initial render and subsequent data or visibility transitions. |
581
- | `aria-description` | `string` | `""` | Detailed accessible description explaining the chart's purpose and trends. |
582
- | `aria-label` | `string` | `""` | Accessible name for the chart container. |
583
- | `class` | `string` | `""` | Additional CSS classes applied to chart root container. |
584
- | `data` | `readonly unknown[]` | `[]` | Primary dataset shared across all child series. |
585
- | `dataTable` | `boolean` | `false` | Renders a visually hidden table of the chart's data (its first 100 rows) for screen readers. |
586
- | `defaultViewport` | `ChartViewportState \| undefined` | `undefined` | Initial default viewport window state for chart axes. |
587
- | `downsampling` | `ChartDownsamplingInput` | `true` | High-density downsampling policy for eligible dense series. |
588
- | `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. |
589
- | `navigation` | `ChartNavigationInput` | `false` | Navigation, panning, and zooming options for the chart. |
590
- | `renderer` | `ChartRendererMode` | `"canvas"` | The rendering engine used to draw the chart surface ("canvas" \| "svg"). |
591
- | `subtitle` | `string` | `""` | Subtitle text rendered beneath the title. |
592
- | `synchronization` | `ChartSynchronizationInput` | `false` | Cross-chart synchronization configuration. Accepts `false`, a group name shorthand, or full options. |
593
- | `title` | `string` | `""` | Title text rendered above the plot area. |
594
- | `titleAlign` | `ChartHeaderAlignment` | `"start"` | Horizontal alignment of the title and subtitle ('center', 'left', or 'right'). |
595
- | `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. |
596
- | `xField` | `ChartField` | `""` | Property key or accessor extracting the X-axis coordinate for each data item. |
597
-
598
- #### Outputs
599
-
600
- | Name | Type | Description |
601
- | --- | --- | --- |
602
- | `pointClick` | `ChartPointEvent<unknown>` | Emits when a data point, vertex, or bar in the chart is clicked. |
603
- | `pointFocusChange` | `ChartPointFocusEvent<unknown>` | Emits when the keyboard focus moves to a new data point, spoke, or series. |
604
- | `seriesVisibilityChange` | `ChartSeriesVisibilityEvent` | Emits when a series visibility state is toggled via legend interaction. |
605
- | `viewportChange` | `ChartViewportState` | Emits the new viewport state when it changes via pan, zoom, fit, reset, or keyboard navigation. |
606
- | `viewportChangeDetails` | `ChartViewportChangeEvent` | Emits with each viewport change, along with the previous state, source, gesture phase and changed axes. |
607
-
608
- #### Methods
609
-
610
- | Signature | Description |
611
- | --- | --- |
612
- | `downloadChart(options: ChartDownloadOptions): Promise<ChartExportResult>` | Exports and triggers a browser file download of the chart in PNG, SVG, or PDF format. |
613
- | `exportChart(options: ChartExportOptions): Promise<ChartExportResult>` | Exports the chart as a binary Blob in PNG, SVG, or PDF format. |
614
- | `fit(window: ChartViewportWindow \| readonly ChartViewportWindow[]): void` | **Deprecated.** Use 'setViewportWindow' instead. Fits the viewport window to a specified continuous range or category indices. |
615
- | `fitViewport(target?: ChartNavigationAxisTarget): void` | Fits target axes (or all axes) to full canonical base domain. |
616
- | `getViewport(): ChartViewportState \| null` | Returns the current active viewport window state, or null if chart is not Cartesian XY. |
617
- | `invalidate(): void` | Schedules a new layout and paint, for changes the chart can't see, such as a mutated data array. |
618
- | `pan(delta: { x: number; y: number }, target?: ChartNavigationAxisTarget): void` | Pans the viewport by pixel delta vector { x, y }. |
619
- | `resetViewport(target?: ChartNavigationAxisTarget): void` | Resets the viewport window back to the default viewport (or base domain) for target axes. |
620
- | `setViewport(viewport: ChartViewportState): void` | Sets the active viewport window state (full replacement). |
621
- | `setViewportWindow(window: ChartViewportWindow \| readonly ChartViewportWindow[]): void` | Sets the viewport window for specific axis/axes (partial mutation). |
622
- | `toggleSeriesVisibility(seriesId: string): void` | Toggles the visibility of a series. |
623
- | `zoom(factor: number, anchor?: ChartPoint, target?: ChartNavigationAxisTarget): void` | Zooms the viewport by a scale factor around an optional pixel anchor point. |
624
-
625
- ### `ChartXAxisComponent`
626
-
627
- Configures an X axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes.
628
-
629
- **Selector:** `mona-chart-x-axis`
630
-
631
- #### Inputs
632
-
633
- | Name | Type | Default | Description |
634
- | --- | --- | --- | --- |
635
- | `axisId` | `string \| undefined` | `undefined` | Optional semantic identifier for the X axis, referenced by series `xAxisId`. |
636
- | `axisLine` | `boolean` | `true` | Whether the solid baseline axis border line is rendered. |
637
- | `exponent` | `number` | `1` | Exponent for power scale (`type="pow"`). Must be a positive finite number. |
638
- | `field` | `ChartField \| undefined` | `undefined` | Optional data field name for the X axis categories or values. |
639
- | `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for axis tick labels. |
640
- | `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. |
641
- | `labelMaxWidth` | `number \| undefined` | `undefined` | Maximum unrotated width in pixels for tick labels before truncation. |
642
- | `labelPadding` | `number \| undefined` | `undefined` | Spacing in pixels between the axis baseline / tick marks and tick labels. |
643
- | `labelRotation` | `ChartAxisLabelRotation` | `0` | Explicit rotation angle in degrees for tick labels (-90 to 90), or 'auto' for responsive automatic angling. |
644
- | `labels` | `boolean` | `true` | Whether the axis tick labels are rendered in the DOM. |
645
- | `logBase` | `number` | `10` | Base logarithm for log scale (`type="log"`). Must be a positive finite number not equal to 1. |
646
- | `max` | `number \| Date \| undefined` | `undefined` | Explicit upper bound for the axis range. |
647
- | `min` | `number \| Date \| undefined` | `undefined` | Explicit lower bound for the axis range. |
648
- | `nice` | `boolean` | `true` | Automatically extends the axis domain to round, pleasant values. |
649
- | `position` | `ChartXAxisPosition` | `"bottom"` | Position of the X axis relative to the plot area. |
650
- | `symlogConstant` | `number` | `1` | Constant for symlog scale (`type="symlog"`). Must be a positive finite number. |
651
- | `tickCount` | `number \| undefined` | `undefined` | Suggested number of ticks to display along the axis (acts as preferred label count for category axes). |
652
- | `tickMarks` | `boolean` | `false` | Whether tick mark lines extending outward from the baseline are drawn. |
653
- | `tickSize` | `number \| undefined` | `undefined` | Length in pixels of outward tick mark lines. |
654
- | `title` | `string` | `""` | Title text rendered alongside the axis. |
655
- | `titlePadding` | `number \| undefined` | `undefined` | Spacing in pixels between the outward extent of tick labels and the axis title. |
656
- | `type` | `ChartXAxisType` | `"auto"` | Scale type for the X axis (`"auto"`, `"category"`, `"linear"`, `"log"`, `"symlog"`, `"pow"`, `"sqrt"`, `"time"`, or `"utc"`). |
657
- | `visible` | `boolean` | `true` | Whether the axis and its labels are visible. |
658
-
659
- ### `ChartYAxisComponent`
660
-
661
- Configures a Y axis in Cartesian charts. Add more than one with distinct `axisId` values for multiple axes.
662
-
663
- **Selector:** `mona-chart-y-axis`
664
-
665
- #### Inputs
666
-
667
- | Name | Type | Default | Description |
668
- | --- | --- | --- | --- |
669
- | `axisId` | `string \| undefined` | `undefined` | Optional semantic identifier for the Y axis, referenced by series `yAxisId`. |
670
- | `axisLine` | `boolean` | `true` | Whether the solid baseline axis border line is rendered. |
671
- | `exponent` | `number` | `1` | Exponent for power scale (`type="pow"`). Must be a positive finite number. |
672
- | `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for axis tick labels. |
673
- | `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. |
674
- | `labelMaxWidth` | `number \| undefined` | `undefined` | Maximum unrotated width in pixels for tick labels before truncation. |
675
- | `labelPadding` | `number \| undefined` | `undefined` | Spacing in pixels between the axis baseline / tick marks and tick labels. |
676
- | `labelRotation` | `ChartAxisLabelRotation` | `0` | Explicit rotation angle in degrees for tick labels (-90 to 90), or 'auto' for responsive automatic angling. |
677
- | `labels` | `boolean` | `true` | Whether the axis tick labels are rendered in the DOM. |
678
- | `logBase` | `number` | `10` | Base logarithm for log scale (`type="log"`). Must be a positive finite number not equal to 1. |
679
- | `max` | `number \| undefined` | `undefined` | Explicit upper bound for the numeric value range. |
680
- | `min` | `number \| undefined` | `undefined` | Explicit lower bound for the numeric value range. |
681
- | `nice` | `boolean` | `true` | Automatically extends the axis domain to round, pleasant values. |
682
- | `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. |
683
- | `symlogConstant` | `number` | `1` | Constant for symlog scale (`type="symlog"`). Must be a positive finite number. |
684
- | `tickCount` | `number \| undefined` | `undefined` | Suggested number of ticks to display along the axis (acts as preferred label count for category axes). |
685
- | `tickMarks` | `boolean` | `false` | Whether tick mark lines extending outward from the baseline are drawn. |
686
- | `tickSize` | `number \| undefined` | `undefined` | Length in pixels of outward tick mark lines. |
687
- | `title` | `string` | `""` | Title text rendered alongside the axis. |
688
- | `titlePadding` | `number \| undefined` | `undefined` | Spacing in pixels between the outward extent of tick labels and the axis title. |
689
- | `type` | `ChartYAxisType` | `"auto"` | Scale type for the Y axis (`"auto"`, `"category"`, `"linear"`, `"log"`, `"symlog"`, `"pow"`, or `"sqrt"`). |
690
- | `visible` | `boolean` | `true` | Whether the axis and its labels are visible. |
691
-
692
- ### `ChartAnnotationComponent`
693
-
694
- Renders callouts, milestone badges, and outlier markers anchored to specific (X, Y) coordinates.
695
-
696
- **Selector:** `mona-chart-annotation`
697
-
698
- #### Inputs
699
-
700
- | Name | Type | Default | Description |
701
- | --- | --- | --- | --- |
702
- | `class` | `string` | `""` | Custom CSS class name applied to the annotation host. |
703
- | `color` | `string \| undefined` | `undefined` | Stroke and marker color for the annotation. |
704
- | `connector` | `boolean` | `true` | Sets whether a connector line is drawn between the anchor point and the label. |
705
- | `connectorWidth` | `number` | `1` | Connector stroke width in pixels. |
706
- | `data` | `unknown` | `undefined` | Custom data object provided to template context. |
707
- | `label` | `string` | `""` | Text label displayed for the annotation. |
708
- | `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
709
- | `labelPlacement` | `ChartAnnotationLabelPlacement` | `"top"` | Relative placement of the label from the anchor point: 'top', 'bottom', 'left', or 'right'. |
710
- | `marker` | `ChartAnnotationMarker` | `"circle"` | Marker shape drawn at the anchor point: 'circle', 'diamond', or 'none'. |
711
- | `markerRadius` | `number` | `4` | Marker radius in pixels. |
712
- | `markerStrokeWidth` | `number` | `1.5` | Marker stroke width in pixels. |
713
- | `offsetX` | `number` | `0` | Additional horizontal pixel offset for label positioning. |
714
- | `offsetY` | `number` | `0` | Additional vertical pixel offset for label positioning. |
715
- | `visible` | `boolean` | `true` | Sets whether the annotation is visible. |
716
- | `x` (required) | `ChartAnnotationAxisValue` | — | X coordinate value or category key for the annotation anchor. |
717
- | `xAxisId` | `string \| undefined` | `undefined` | Explicit target X axis identifier. Defaults to primary X axis. |
718
- | `y` (required) | `ChartAnnotationAxisValue` | — | Y coordinate value or category key for the annotation anchor. |
719
- | `yAxisId` | `string \| undefined` | `undefined` | Explicit target Y axis identifier. Defaults to primary Y axis. |
720
-
721
- ### `ChartCrosshairComponent`
722
-
723
- Renders dynamic crosshair guide lines and axis label badges for pointer and keyboard navigation in Cartesian XY
724
- charts.
725
-
726
- **Selector:** `mona-chart-crosshair`
727
-
728
- #### Inputs
729
-
730
- | Name | Type | Default | Description |
731
- | --- | --- | --- | --- |
732
- | `class` | `string` | `""` | Custom CSS class name applied to the crosshair. |
733
- | `color` | `string \| undefined` | `undefined` | Stroke color for the crosshair line. |
734
- | `enabled` | `boolean` | `true` | Sets whether crosshair interaction is enabled. |
735
- | `labelOffset` | `number` | `4` | Pixel offset between axis line and crosshair label badge. |
736
- | `lineStyle` | `ChartCrosshairLineStyle` | `"dashed"` | Line dash style for the crosshair. |
737
- | `lineWidth` | `number \| undefined` | `undefined` | Line stroke width in pixels. |
738
- | `maxSnapDistance` | `number` | `32` | Maximum pixel distance for nearest mark snapping. |
739
- | `mode` | `ChartCrosshairMode` | `"auto"` | Crosshair display mode: auto (follows interaction axis), x, y, or xy. |
740
- | `opacity` | `number \| undefined` | `undefined` | Stroke opacity for the crosshair line (0 to 1). |
741
- | `showAxisLabels` | `boolean` | `true` | Sets whether axis value badges are displayed. |
742
- | `showXLabel` | `boolean \| undefined` | `undefined` | Sets whether the X axis label badge is displayed. |
743
- | `showYLabel` | `boolean \| undefined` | `undefined` | Sets whether the Y axis label badge is displayed. |
744
- | `snap` | `ChartCrosshairSnapMode` | `"nearest"` | Snapping mode: nearest semantic mark or raw pointer position. |
745
- | `xAxisId` | `string \| undefined` | `undefined` | Explicit target X axis identifier. |
746
- | `yAxisId` | `string \| undefined` | `undefined` | Explicit target Y axis identifier. |
747
-
748
- ### `ChartReferenceBandComponent`
749
-
750
- Renders highlighted threshold intervals and target regions in Cartesian XY charts.
751
-
752
- **Selector:** `mona-chart-reference-band`
753
-
754
- #### Inputs
755
-
756
- | Name | Type | Default | Description |
757
- | --- | --- | --- | --- |
758
- | `axis` (required) | `"x" \| "y"` | — | Target Cartesian axis dimension: 'x' or 'y'. |
759
- | `axisId` | `string \| undefined` | `undefined` | Explicit identifier of the target axis. Defaults to primary axis for the dimension. |
760
- | `borderColor` | `string \| undefined` | `undefined` | Border stroke color of the reference band. |
761
- | `borderWidth` | `number \| undefined` | `undefined` | Border stroke width of the reference band in pixels. |
762
- | `class` | `string` | `""` | Custom CSS class name applied to the reference band host. |
763
- | `fillColor` | `string \| undefined` | `undefined` | Fill color of the reference band. |
764
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity of the reference band (0 to 1). |
765
- | `from` (required) | `ChartAnnotationAxisValue` | — | Starting coordinate value or category key for the reference band. |
766
- | `label` | `string` | `""` | Text label displayed inside or alongside the reference band. |
767
- | `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
768
- | `labelOffset` | `number` | `6` | Pixel offset between the band boundary and the label. |
769
- | `labelPosition` | `ChartReferenceLabelPosition` | `"center"` | Alignment position for the label: 'start', 'center', or 'end'. |
770
- | `layer` | `ChartOverlayLayer` | `"underlay"` | Render layer: 'underlay' (behind series) or 'overlay' (in front of series). |
771
- | `to` (required) | `ChartAnnotationAxisValue` | — | Ending coordinate value or category key for the reference band. |
772
- | `visible` | `boolean` | `true` | Sets whether the reference band is visible. |
773
-
774
- ### `ChartBrushComponent`
775
-
776
- Selects a region of a Cartesian plot by dragging, or from the keyboard with `Shift` + arrows from a focused point.
777
-
778
- **Selector:** `mona-chart-brush`
779
-
780
- #### Inputs
781
-
782
- | Name | Type | Default | Description |
783
- | --- | --- | --- | --- |
784
- | `activation` | `ChartBrushActivation` | `"shift-drag"` | Activation trigger gesture ('drag' or 'shift-drag'). |
785
- | `borderColor` | `string \| undefined` | `undefined` | Border color of the brush rectangle. |
786
- | `borderWidth` | `number \| undefined` | `undefined` | Border width in pixels of the brush rectangle. |
787
- | `enabled` | `boolean` | `true` | Whether brush gesture interaction is enabled. |
788
- | `fillColor` | `string \| undefined` | `undefined` | Background fill color of the brush rectangle. |
789
- | `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity of the brush rectangle. |
790
- | `hitPolicy` | `ChartBrushHitPolicy` | `"intersect"` | Mark spatial hit policy ('center' or 'intersect'). |
791
- | `lineStyle` | `ChartBrushLineStyle \| undefined` | `undefined` | Stroke dash style of the brush rectangle border ('solid', 'dashed', or 'dotted'). |
792
- | `minDragDistance` | `number` | `4` | Minimum drag distance in pixels before brush gesture activates. |
793
- | `mode` | `ChartBrushMode` | `"xy"` | Brush dimension constraint mode ('x', 'y', or 'xy'). |
794
- | `selectionBehavior` | `ChartBrushSelectionBehavior` | `"none"` | Selection interaction behavior when brushing over marks. |
795
- | `xAxisId` | `string \| undefined` | `undefined` | Optional Cartesian X axis ID to target. |
796
- | `yAxisId` | `string \| undefined` | `undefined` | Optional Cartesian Y axis ID to target. |
797
-
798
- #### Outputs
799
-
800
- | Name | Type | Description |
801
- | --- | --- | --- |
802
- | `brushChange` | `ChartBrushChangeEvent<unknown>` | Emitted during brush lifecycle phases ('start', 'update', 'end', 'cancel'). |
803
-
804
- ### `ChartReferenceLineComponent`
805
-
806
- Renders static horizontal or vertical benchmark lines in Cartesian XY charts.
807
-
808
- **Selector:** `mona-chart-reference-line`
809
-
810
- #### Inputs
811
-
812
- | Name | Type | Default | Description |
813
- | --- | --- | --- | --- |
814
- | `axis` (required) | `"x" \| "y"` | — | Target Cartesian axis dimension: 'x' or 'y'. |
815
- | `axisId` | `string \| undefined` | `undefined` | Explicit identifier of the target axis. Defaults to primary axis for the dimension. |
816
- | `class` | `string` | `""` | Custom CSS class name applied to the reference line host. |
817
- | `color` | `string \| undefined` | `undefined` | Stroke color of the reference line. |
818
- | `label` | `string` | `""` | Text label displayed alongside the reference line. |
819
- | `labelClass` | `string` | `""` | Custom CSS class name applied to the label badge. |
820
- | `labelOffset` | `number` | `6` | Pixel offset between the reference line and the label. |
821
- | `labelPosition` | `ChartReferenceLabelPosition` | `"end"` | Alignment position for the label: 'start', 'center', or 'end'. |
822
- | `layer` | `ChartOverlayLayer` | `"overlay"` | Render layer: 'underlay' (behind series) or 'overlay' (in front of series). |
823
- | `lineStyle` | `ChartReferenceLineStyle` | `"dashed"` | Line dash style: 'dashed', 'dotted', or 'solid'. |
824
- | `opacity` | `number \| undefined` | `undefined` | Stroke opacity of the reference line (0 to 1). |
825
- | `value` (required) | `ChartAnnotationAxisValue` | — | Semantic coordinate value or category key for the reference line. |
826
- | `visible` | `boolean` | `true` | Sets whether the reference line is visible. |
827
- | `width` | `number \| undefined` | `undefined` | Stroke width of the reference line in pixels. |
828
-
829
- ### `ChartSelectionComponent`
830
-
831
- Lets users select marks with the pointer and keyboard, and holds the selected mark IDs.
832
-
833
- **Selector:** `mona-chart-selection`
834
-
835
- #### Inputs
836
-
837
- | Name | Type | Default | Description |
838
- | --- | --- | --- | --- |
839
- | `clearOnBackgroundClick` | `boolean` | `true` | Whether clicking plot background clears active selection. |
840
- | `clickSelection` | `boolean` | `true` | Whether clicking marks selects/toggles them. |
841
- | `color` | `string \| undefined` | `undefined` | Selection highlight stroke color override. |
842
- | `defaultSelectedMarkIds` | `readonly string[]` | `[]` | Default selected mark IDs to seed initial uncontrolled selection. |
843
- | `enabled` | `boolean` | `true` | Whether selection interaction is enabled. |
844
- | `fillOpacity` | `number \| undefined` | `undefined` | Selection highlight fill opacity override. |
845
- | `keyboardSelection` | `boolean` | `true` | Whether keyboard Enter / Space on focused marks selects/toggles them. |
846
- | `mode` | `ChartSelectionMode` | `"single"` | Selection mode ('single' or 'multiple'). |
847
- | `retainOnDataChange` | `boolean` | `true` | Whether selected mark IDs are retained across dataset changes. |
848
- | `selectedMarkIds` | `readonly string[] \| undefined` | `undefined` | Controlled selected mark IDs. When defined, component acts as controlled state. Bind `[(selectedMarkIds)]` for two-way binding. |
849
- | `strokeWidth` | `number \| undefined` | `undefined` | Selection highlight stroke width override. |
850
-
851
- #### Outputs
852
-
853
- | Name | Type | Description |
570
+ | Name | Kind | Description |
854
571
  | --- | --- | --- |
855
- | `selectedMarkIdsChange` | `readonly string[]` | Emits the proposed selected mark IDs. |
856
- | `selectionChange` | `ChartSelectionChangeEvent<unknown>` | Emitted when mark selection is proposed or changed. |
857
-
858
- ### `ChartLegendComponent`
859
-
860
- Adds a legend. Items toggle what they represent unless `interactive` is off.
861
-
862
- **Selector:** `mona-chart-legend`
863
-
864
- #### Inputs
865
-
866
- | Name | Type | Default | Description |
867
- | --- | --- | --- | --- |
868
- | `class` | `string` | `""` | Additional CSS classes applied to the legend container. |
869
- | `interactive` | `boolean` | `true` | Whether clicking or pressing Enter/Space on legend items toggles series visibility. |
870
- | `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). |
871
- | `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. |
872
-
873
- ### `ChartTooltipComponent`
874
-
875
- Adds a tooltip for pointer and keyboard interaction. Use `ng-template[monaChartTooltipTemplate]` for custom content.
876
-
877
- **Selector:** `mona-chart-tooltip`
878
-
879
- #### Inputs
880
-
881
- | Name | Type | Default | Description |
882
- | --- | --- | --- | --- |
883
- | `class` | `string` | `""` | Additional CSS classes applied to the tooltip popup container. |
884
- | `enabled` | `boolean` | `true` | Whether the tooltip is enabled and will appear during interaction. |
885
- | `shared` | `boolean` | `false` | In shared mode, displays values for all visible series matching the active X coordinate. |
886
-
887
- ### `ChartAnnotationLabelTemplateDirective`
888
-
889
- **Selector:** `ng-template[monaChartAnnotationLabelTemplate], ng-template[monaChartAnnotationLabel]`
890
-
891
- #### Template context
892
-
893
- | Name | Type |
894
- | --- | --- |
895
- | `$implicit` | `unknown` |
896
- | `data` | `unknown` |
897
- | `formattedX` | `string` |
898
- | `formattedY` | `string` |
899
- | `point` | `ChartPoint` |
900
- | `x` | `ChartAnnotationAxisValue` |
901
- | `xAxisId` | `string` |
902
- | `y` | `ChartAnnotationAxisValue` |
903
- | `yAxisId` | `string` |
904
-
905
- ### `ChartAxisLabelTemplateDirective`
906
-
907
- **Selector:** `ng-template[monaChartAxisLabelTemplate]`
908
-
909
- #### Template context
910
-
911
- | Name | Type |
912
- | --- | --- |
913
- | `$implicit` | `unknown` |
914
- | `axis` | `"angular" \| "radial" \| "x" \| "y"` |
915
- | `axisId?` | `string \| undefined` |
916
- | `index` | `number` |
917
- | `position?` | `ChartAxisPosition \| undefined` |
918
- | `scaleType?` | `string \| undefined` |
919
- | `value` | `unknown` |
920
-
921
- ### `ChartCrosshairLabelTemplateDirective`
922
-
923
- **Selector:** `ng-template[monaChartCrosshairLabelTemplate], ng-template[monaChartCrosshairLabel]`
924
-
925
- #### Template context
926
-
927
- | Name | Type |
928
- | --- | --- |
929
- | `$implicit` | `unknown` |
930
- | `axis` | `"x" \| "y"` |
931
- | `axisId` | `string` |
932
- | `coordinate` | `number` |
933
- | `formattedValue` | `string` |
934
- | `snapped` | `boolean` |
935
- | `source` | `"keyboard" \| "pointer" \| "sync"` |
936
- | `value` | `unknown` |
937
-
938
- ### `ChartDataLabelTemplateDirective`
939
-
940
- **Selector:** `ng-template[monaChartDataLabelTemplate], ng-template[monaChartDataLabel]`
941
- **Type parameters:** `T = unknown`
942
-
943
- #### Template context
944
-
945
- | Name | Type | Description |
946
- | --- | --- | --- |
947
- | `$implicit` | `ChartDataLabelContext<T>` | The same context object, so `let-context` in the template receives every field below. |
948
- | `close?` | `number \| undefined` | The closing price of a candlestick or OHLC mark. |
949
- | `color` | `string` | The color of the mark the label belongs to. Falls back to the series color, then to black. |
950
- | `dataIndex` | `number` | The index of the data item in the series data. |
951
- | `datum` | `T` | The data item the mark was drawn from. |
952
- | `formattedClose?` | `string \| undefined` | The closing price of a candlestick or OHLC mark, formatted for display. |
953
- | `formattedFrom?` | `string \| undefined` | The start value of a range bar or range area mark, formatted for display. |
954
- | `formattedHigh?` | `string \| undefined` | The high price of a candlestick or OHLC mark, formatted for display. |
955
- | `formattedLow?` | `string \| undefined` | The low price of a candlestick or OHLC mark, formatted for display. |
956
- | `formattedOpen?` | `string \| undefined` | The opening price of a candlestick or OHLC mark, formatted for display. |
957
- | `formattedSize?` | `string \| undefined` | The size value of a bubble mark, formatted for display. |
958
- | `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. |
959
- | `formattedStackTotal?` | `string \| undefined` | The total of the stack the mark belongs to, formatted for display. |
960
- | `formattedTo?` | `string \| undefined` | The end value of a range bar or range area mark, formatted for display. |
961
- | `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. |
962
- | `formattedX` | `string` | The x value of the mark, formatted for display. Empty when the mark has no x value. |
963
- | `formattedY` | `string` | The y value of the mark, formatted for display. Empty when the mark has no y value. |
964
- | `fromValue?` | `number \| undefined` | The start value of a range bar or range area mark. |
965
- | `high?` | `number \| undefined` | The high price of a candlestick or OHLC mark. |
966
- | `low?` | `number \| undefined` | The low price of a candlestick or OHLC mark. |
967
- | `markId` | `string` | A stable identifier of the mark within the chart, the same one selection events report. |
968
- | `open?` | `number \| undefined` | The opening price of a candlestick or OHLC mark. |
969
- | `rawValue?` | `unknown` | The value read from the data item before stacking or other processing, when the series provides one. |
970
- | `selected` | `boolean` | Persistent selection state for this mark. |
971
- | `seriesId` | `string` | The identifier of the series the mark belongs to. |
972
- | `seriesName` | `string` | The display name of the series the mark belongs to. |
973
- | `seriesType` | `ChartSeriesType` | The type of the series the mark belongs to, such as `"bar"` or `"line"`. |
974
- | `sizeValue?` | `number \| undefined` | The size value of a bubble mark. |
975
- | `stackEnd?` | `number \| undefined` | The value where the mark ends on its stack. |
976
- | `stackMode?` | `ChartStackMode \| undefined` | The stacking mode of the series, when the series is stacked. |
977
- | `stackPercentage?` | `number \| undefined` | The mark's share of its stack total, as a percentage. |
978
- | `stackStart?` | `number \| undefined` | The value where the mark starts on its stack. |
979
- | `stackTotal?` | `number \| undefined` | The total of the stack the mark belongs to. |
980
- | `toValue?` | `number \| undefined` | The end value of a range bar or range area mark. |
981
- | `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. |
982
- | `xValue?` | `unknown` | The x value of the mark. |
983
- | `yValue?` | `unknown` | The y value of the mark. |
984
-
985
- ### `ChartLegendItemTemplateDirective`
986
-
987
- **Selector:** `ng-template[monaChartLegendItemTemplate]`
988
-
989
- #### Template context
990
-
991
- | Name | Type |
992
- | --- | --- |
993
- | `$implicit` | `ChartLegendItem` |
994
- | `color` | `string` |
995
- | `dataIndex?` | `number \| undefined` |
996
- | `datum?` | `unknown` |
997
- | `interactive?` | `boolean \| undefined` |
998
- | `itemId` | `string` |
999
- | `kind?` | `ChartLegendItemKind \| undefined` |
1000
- | `name` | `string` |
1001
- | `percentage?` | `number \| undefined` |
1002
- | `secondaryColor?` | `string \| undefined` |
1003
- | `series` | `ChartLegendItem` |
1004
- | `seriesId` | `string` |
1005
- | `seriesType` | `ChartSeriesType` |
1006
- | `value?` | `number \| undefined` |
1007
- | `visible` | `boolean` |
1008
-
1009
- ### `ChartNoDataTemplateDirective`
1010
-
1011
- **Selector:** `ng-template[monaChartNoDataTemplate]`
1012
-
1013
- ### `ChartReferenceLabelTemplateDirective`
1014
-
1015
- **Selector:** `ng-template[monaChartReferenceLabelTemplate], ng-template[monaChartReferenceLabel]`
1016
-
1017
- #### Template context
1018
-
1019
- | Name | Type |
1020
- | --- | --- |
1021
- | `$implicit` | `ChartAnnotationAxisValue \| { readonly from: ChartAnnotationAxisValue; readonly to: ChartAnnotationAxisValue; }` |
1022
- | `axis` | `"x" \| "y"` |
1023
- | `axisId` | `string` |
1024
- | `bounds?` | `ChartRect \| undefined` |
1025
- | `coordinate?` | `number \| undefined` |
1026
- | `formattedFrom?` | `string \| undefined` |
1027
- | `formattedTo?` | `string \| undefined` |
1028
- | `formattedValue?` | `string \| undefined` |
1029
- | `from?` | `ChartAnnotationAxisValue \| undefined` |
1030
- | `kind` | `"line" \| "band"` |
1031
- | `to?` | `ChartAnnotationAxisValue \| undefined` |
1032
- | `value?` | `ChartAnnotationAxisValue \| undefined` |
1033
-
1034
- ### `ChartSubtitleTemplateDirective`
1035
-
1036
- **Selector:** `ng-template[monaChartSubtitleTemplate]`
1037
-
1038
- #### Template context
1039
-
1040
- | Name | Type |
1041
- | --- | --- |
1042
- | `$implicit` | `string` |
1043
- | `subtitle` | `string` |
1044
-
1045
- ### `ChartTitleTemplateDirective`
1046
-
1047
- **Selector:** `ng-template[monaChartTitleTemplate]`
1048
-
1049
- #### Template context
1050
-
1051
- | Name | Type |
1052
- | --- | --- |
1053
- | `$implicit` | `string` |
1054
- | `title` | `string` |
1055
-
1056
- ### `ChartTooltipTemplateDirective`
1057
-
1058
- **Selector:** `ng-template[monaChartTooltipTemplate]`
1059
-
1060
- #### Template context
1061
-
1062
- | Name | Type |
1063
- | --- | --- |
1064
- | `$implicit` | `ChartTooltipPointContext<unknown>` |
1065
- | `point` | `ChartTooltipPointContext<unknown>` |
1066
- | `points` | `readonly ChartTooltipPointContext<unknown>[]` |
1067
- | `series` | `readonly string[]` |
1068
- | `shared` | `boolean` |
1069
-
1070
- ### `ChartExportError`
1071
-
1072
- Error thrown when a chart export operation fails.
1073
-
1074
- #### Properties
1075
-
1076
- | Name | Type |
1077
- | --- | --- |
1078
- | `code` (read-only) | `ChartExportErrorCode` |
1079
-
1080
- ### `chartItemCategoryId`
1081
-
1082
- The ID of the item whose category is `category`, as a radial bar or rose series gives an item without a `keyField`
1083
- value. Use it in `hiddenItemIds`. Returns `undefined` for a number that isn't finite or a date that isn't valid,
1084
- which can't identify an item.
1085
-
1086
- ```typescript
1087
- function chartItemCategoryId(category: boolean | string): string;
1088
- function chartItemCategoryId(category: ChartItemKey): string | undefined;
1089
- ```
1090
-
1091
- ### `chartItemIndexId`
1092
-
1093
- 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
1094
- no `keyField` value (and, for a radial series, no category). It follows the position, not the row.
1095
-
1096
- ```typescript
1097
- function chartItemIndexId(index: number): string;
1098
- ```
1099
-
1100
- ### `chartItemKeyId`
1101
-
1102
- The ID of the item whose `keyField` value is `key`, as funnel stages, treemap nodes, waterfall steps and radial bar
1103
- and rose items use it. Use it in `hiddenStageIds`, `hiddenNodeIds` or `hiddenItemIds`, or to compare with an ID an
1104
- event gives. Returns `undefined` for a number that isn't finite or a date that isn't valid, which can't be a key.
1105
-
1106
- ```typescript
1107
- function chartItemKeyId(key: boolean | string): string;
1108
- function chartItemKeyId(key: ChartItemKey): string | undefined;
1109
- ```
1110
-
1111
- ### `getChartSeriesFamily`
1112
-
1113
- ```typescript
1114
- function getChartSeriesFamily(type: ChartSeriesType): ChartSeriesFamily;
1115
- ```
1116
-
1117
- ### `isCartesianCoordinateFamily`
1118
-
1119
- ```typescript
1120
- function isCartesianCoordinateFamily(family: ChartSeriesFamily): boolean;
1121
- ```
1122
-
1123
- ### `isHierarchicalCoordinateFamily`
1124
-
1125
- ```typescript
1126
- function isHierarchicalCoordinateFamily(family: ChartSeriesFamily): boolean;
1127
- ```
1128
-
1129
- ### `isPolarCoordinateFamily`
1130
-
1131
- ```typescript
1132
- function isPolarCoordinateFamily(family: ChartSeriesFamily): boolean;
1133
- ```
572
+ | [`ChartComponent`](api/chart.md#chartcomponent) | Component | Root visualization container coordinating coordinate layouts, canvas rendering, theme styles, and interactions. |
573
+ | [`ChartXAxisComponent`](api/chart.md#chartxaxiscomponent) | Component | Configures an X axis in Cartesian charts. |
574
+ | [`ChartYAxisComponent`](api/chart.md#chartyaxiscomponent) | Component | Configures a Y axis in Cartesian charts. |
575
+ | [`ChartAnnotationComponent`](api/chart.md#chartannotationcomponent) | Component | Renders callouts, milestone badges, and outlier markers anchored to specific (X, Y) coordinates. |
576
+ | [`ChartCrosshairComponent`](api/chart.md#chartcrosshaircomponent) | Component | Renders dynamic crosshair guide lines and axis label badges for pointer and keyboard navigation in Cartesian XY charts. |
577
+ | [`ChartReferenceBandComponent`](api/chart.md#chartreferencebandcomponent) | Component | Renders highlighted threshold intervals and target regions in Cartesian XY charts. |
578
+ | [`ChartBrushComponent`](api/chart.md#chartbrushcomponent) | Component | Selects a region of a Cartesian plot by dragging, or from the keyboard with `Shift` + arrows from a focused point. |
579
+ | [`ChartReferenceLineComponent`](api/chart.md#chartreferencelinecomponent) | Component | Renders static horizontal or vertical benchmark lines in Cartesian XY charts. |
580
+ | [`ChartSelectionComponent`](api/chart.md#chartselectioncomponent) | Component | Lets users select marks with the pointer and keyboard, and holds the selected mark IDs. |
581
+ | [`ChartLegendComponent`](api/chart.md#chartlegendcomponent) | Component | Adds a legend. |
582
+ | [`ChartTooltipComponent`](api/chart.md#charttooltipcomponent) | Component | Adds a tooltip for pointer and keyboard interaction. |
583
+ | [`ChartAnnotationLabelTemplateDirective`](api/chart.md#chartannotationlabeltemplatedirective) | Directive | |
584
+ | [`ChartAxisLabelTemplateDirective`](api/chart.md#chartaxislabeltemplatedirective) | Directive | |
585
+ | [`ChartCrosshairLabelTemplateDirective`](api/chart.md#chartcrosshairlabeltemplatedirective) | Directive | |
586
+ | [`ChartDataLabelTemplateDirective`](api/chart.md#chartdatalabeltemplatedirective) | Directive | |
587
+ | [`ChartLegendItemTemplateDirective`](api/chart.md#chartlegenditemtemplatedirective) | Directive | |
588
+ | [`ChartNoDataTemplateDirective`](api/chart.md#chartnodatatemplatedirective) | Directive | |
589
+ | [`ChartReferenceLabelTemplateDirective`](api/chart.md#chartreferencelabeltemplatedirective) | Directive | |
590
+ | [`ChartSubtitleTemplateDirective`](api/chart.md#chartsubtitletemplatedirective) | Directive | |
591
+ | [`ChartTitleTemplateDirective`](api/chart.md#charttitletemplatedirective) | Directive | |
592
+ | [`ChartTooltipTemplateDirective`](api/chart.md#charttooltiptemplatedirective) | Directive | |
593
+ | [`ChartExportError`](api/chart.md#chartexporterror) | Class | Error thrown when a chart export operation fails. |
594
+ | [`chartItemCategoryId`](api/chart.md#chartitemcategoryid) | Function | The ID of the item whose category is `category`, as a radial bar or rose series gives an item without a `keyField` value. |
595
+ | [`chartItemIndexId`](api/chart.md#chartitemindexid) | Function | 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 no `keyField` value (and, for a radial series, no category). |
596
+ | [`chartItemKeyId`](api/chart.md#chartitemkeyid) | Function | The ID of the item whose `keyField` value is `key`, as funnel stages, treemap nodes, waterfall steps and radial bar and rose items use it. |
597
+ | [`getChartSeriesFamily`](api/chart.md#getchartseriesfamily) | Function | |
598
+ | [`isCartesianCoordinateFamily`](api/chart.md#iscartesiancoordinatefamily) | Function | |
599
+ | [`isHierarchicalCoordinateFamily`](api/chart.md#ishierarchicalcoordinatefamily) | Function | |
600
+ | [`isPolarCoordinateFamily`](api/chart.md#ispolarcoordinatefamily) | Function | |
1134
601
 
1135
602
  ### Types
1136
603
 
1137
- #### `CHART_DEFAULT_MESSAGES`
1138
-
1139
- ```typescript
1140
- const CHART_DEFAULT_MESSAGES: MonaChartMessages;
1141
- ```
1142
-
1143
- #### `ChartAnimationOptions`
1144
-
1145
- | Name | Type |
1146
- | --- | --- |
1147
- | `data?` (read-only) | `boolean` |
1148
- | `duration?` (read-only) | `number` |
1149
- | `easing?` (read-only) | `ChartAnimationEasing` |
1150
- | `enabled?` (read-only) | `boolean` |
1151
- | `initial?` (read-only) | `boolean` |
1152
- | `visibility?` (read-only) | `boolean` |
1153
-
1154
- #### `ChartAnnotationLabelTemplateContext`
1155
-
1156
- **Type parameters:** `TData = unknown`
1157
-
1158
- | Name | Type |
1159
- | --- | --- |
1160
- | `$implicit` (read-only) | `TData` |
1161
- | `data` (read-only) | `TData` |
1162
- | `formattedX` (read-only) | `string` |
1163
- | `formattedY` (read-only) | `string` |
1164
- | `point` (read-only) | `ChartPoint` |
1165
- | `x` (read-only) | `ChartAnnotationAxisValue` |
1166
- | `xAxisId` (read-only) | `string` |
1167
- | `y` (read-only) | `ChartAnnotationAxisValue` |
1168
- | `yAxisId` (read-only) | `string` |
1169
-
1170
- #### `ChartAxisLabelTemplateContext`
1171
-
1172
- **Type parameters:** `T = unknown`
1173
-
1174
- | Name | Type |
1175
- | --- | --- |
1176
- | `$implicit` | `T` |
1177
- | `axis` | `"angular" \| "radial" \| "x" \| "y"` |
1178
- | `axisId?` | `string` |
1179
- | `index` | `number` |
1180
- | `position?` | `ChartAxisPosition` |
1181
- | `scaleType?` | `ChartXAxisType \| string` |
1182
- | `value` | `T` |
1183
-
1184
- #### `ChartAxisTick`
1185
-
1186
- **Type parameters:** `T = unknown`
1187
-
1188
- | Name | Type |
1189
- | --- | --- |
1190
- | `coordinate` | `number` |
1191
- | `formattedValue` | `string` |
1192
- | `index` | `number` |
1193
- | `value` | `T` |
1194
-
1195
- #### `ChartBrushCategoryRange`
1196
-
1197
- | Name | Type |
1198
- | --- | --- |
1199
- | `axis` (read-only) | `"x" \| "y"` |
1200
- | `axisId` (read-only) | `string` |
1201
- | `fromIndex` (read-only) | `number` |
1202
- | `fromValue` (read-only) | `unknown` |
1203
- | `kind` (read-only) | `"category"` |
1204
- | `toIndex` (read-only) | `number` |
1205
- | `toValue` (read-only) | `unknown` |
1206
-
1207
- #### `ChartBrushChangeEvent`
1208
-
1209
- **Type parameters:** `T = unknown`
1210
-
1211
- | Name | Type |
1212
- | --- | --- |
1213
- | `cancelReason?` (read-only) | `ChartBrushCancelReason` |
1214
- | `matchedMarkIds?` (read-only) | `readonly string[]` |
1215
- | `matchedPoints?` (read-only) | `readonly ChartSelectedPoint<T>[]` |
1216
- | `mode` (read-only) | `ChartBrushMode` |
1217
- | `phase` (read-only) | `ChartBrushPhase` |
1218
- | `pixelBounds` (read-only) | `ChartRect \| null` |
1219
- | `xRange?` (read-only) | `ChartBrushAxisRange` |
1220
- | `yRange?` (read-only) | `ChartBrushAxisRange` |
1221
-
1222
- #### `ChartBrushContinuousRange`
1223
-
1224
- | Name | Type |
1225
- | --- | --- |
1226
- | `axis` (read-only) | `"x" \| "y"` |
1227
- | `axisId` (read-only) | `string` |
1228
- | `from` (read-only) | `number \| Date` |
1229
- | `kind` (read-only) | `"continuous"` |
1230
- | `scaleType` (read-only) | `"linear" \| "log" \| "pow" \| "sqrt" \| "symlog" \| "time" \| "utc"` |
1231
- | `to` (read-only) | `number \| Date` |
1232
-
1233
- #### `ChartCategoryViewportWindow`
1234
-
1235
- **Extends:** `ChartViewportAxisRef`
1236
-
1237
- | Name | Type |
1238
- | --- | --- |
1239
- | `endIndexExclusive` (read-only) | `number` |
1240
- | `kind` (read-only) | `"category"` |
1241
- | `startIndex` (read-only) | `number` |
1242
-
1243
- #### `ChartContinuousViewportWindow`
1244
-
1245
- **Extends:** `ChartViewportAxisRef`
1246
-
1247
- | Name | Type |
1248
- | --- | --- |
1249
- | `kind` (read-only) | `"continuous"` |
1250
- | `max` (read-only) | `Date \| number` |
1251
- | `min` (read-only) | `Date \| number` |
1252
-
1253
- #### `ChartCrosshairAxisLabelContext`
1254
-
1255
- **Type parameters:** `T = unknown`
1256
-
1257
- | Name | Type |
1258
- | --- | --- |
1259
- | `$implicit` (read-only) | `T` |
1260
- | `axis` (read-only) | `"x" \| "y"` |
1261
- | `axisId` (read-only) | `string` |
1262
- | `coordinate` (read-only) | `number` |
1263
- | `formattedValue` (read-only) | `string` |
1264
- | `snapped` (read-only) | `boolean` |
1265
- | `source` (read-only) | `"keyboard" \| "pointer" \| "sync"` |
1266
- | `value` (read-only) | `T` |
1267
-
1268
- #### `ChartCrosshairResolvedAxisValue`
1269
-
1270
- **Type parameters:** `T = unknown`
1271
-
1272
- | Name | Type |
1273
- | --- | --- |
1274
- | `axis` (read-only) | `"x" \| "y"` |
1275
- | `axisId` (read-only) | `string` |
1276
- | `coordinate` (read-only) | `number` |
1277
- | `formattedValue` (read-only) | `string` |
1278
- | `value` (read-only) | `T` |
1279
-
1280
- #### `ChartCrosshairSynchronizationOptions`
1281
-
1282
- | Name | Type |
1283
- | --- | --- |
1284
- | `axes?` (read-only) | `"auto" \| "x" \| "xy" \| "y"` |
1285
- | `clearOnLeave?` (read-only) | `boolean` |
1286
- | `enabled?` (read-only) | `boolean` |
1287
- | `match?` (read-only) | `"axis-value" \| "nearest-point"` |
1288
- | `mode?` (read-only) | `ChartSynchronizationMode` |
1289
- | `showTooltip?` (read-only) | `boolean` |
1290
-
1291
- #### `ChartDataLabelContext`
1292
-
1293
- **Type parameters:** `T = unknown`
1294
-
1295
- | Name | Type | Description |
1296
- | --- | --- | --- |
1297
- | `$implicit` (read-only) | `ChartDataLabelContext<T>` | The same context object, so `let-context` in the template receives every field below. |
1298
- | `close?` (read-only) | `number` | The closing price of a candlestick or OHLC mark. |
1299
- | `color` (read-only) | `string` | The color of the mark the label belongs to. Falls back to the series color, then to black. |
1300
- | `dataIndex` (read-only) | `number` | The index of the data item in the series data. |
1301
- | `datum` (read-only) | `T` | The data item the mark was drawn from. |
1302
- | `formattedClose?` (read-only) | `string` | The closing price of a candlestick or OHLC mark, formatted for display. |
1303
- | `formattedFrom?` (read-only) | `string` | The start value of a range bar or range area mark, formatted for display. |
1304
- | `formattedHigh?` (read-only) | `string` | The high price of a candlestick or OHLC mark, formatted for display. |
1305
- | `formattedLow?` (read-only) | `string` | The low price of a candlestick or OHLC mark, formatted for display. |
1306
- | `formattedOpen?` (read-only) | `string` | The opening price of a candlestick or OHLC mark, formatted for display. |
1307
- | `formattedSize?` (read-only) | `string` | The size value of a bubble mark, formatted for display. |
1308
- | `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. |
1309
- | `formattedStackTotal?` (read-only) | `string` | The total of the stack the mark belongs to, formatted for display. |
1310
- | `formattedTo?` (read-only) | `string` | The end value of a range bar or range area mark, formatted for display. |
1311
- | `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. |
1312
- | `formattedX` (read-only) | `string` | The x value of the mark, formatted for display. Empty when the mark has no x value. |
1313
- | `formattedY` (read-only) | `string` | The y value of the mark, formatted for display. Empty when the mark has no y value. |
1314
- | `fromValue?` (read-only) | `number` | The start value of a range bar or range area mark. |
1315
- | `high?` (read-only) | `number` | The high price of a candlestick or OHLC mark. |
1316
- | `low?` (read-only) | `number` | The low price of a candlestick or OHLC mark. |
1317
- | `markId` (read-only) | `string` | A stable identifier of the mark within the chart, the same one selection events report. |
1318
- | `open?` (read-only) | `number` | The opening price of a candlestick or OHLC mark. |
1319
- | `rawValue?` (read-only) | `unknown` | The value read from the data item before stacking or other processing, when the series provides one. |
1320
- | `selected` (read-only) | `boolean` | Persistent selection state for this mark. |
1321
- | `seriesId` (read-only) | `string` | The identifier of the series the mark belongs to. |
1322
- | `seriesName` (read-only) | `string` | The display name of the series the mark belongs to. |
1323
- | `seriesType` (read-only) | `ChartSeriesType` | The type of the series the mark belongs to, such as `"bar"` or `"line"`. |
1324
- | `sizeValue?` (read-only) | `number` | The size value of a bubble mark. |
1325
- | `stackEnd?` (read-only) | `number` | The value where the mark ends on its stack. |
1326
- | `stackMode?` (read-only) | `ChartStackMode` | The stacking mode of the series, when the series is stacked. |
1327
- | `stackPercentage?` (read-only) | `number` | The mark's share of its stack total, as a percentage. |
1328
- | `stackStart?` (read-only) | `number` | The value where the mark starts on its stack. |
1329
- | `stackTotal?` (read-only) | `number` | The total of the stack the mark belongs to. |
1330
- | `toValue?` (read-only) | `number` | The end value of a range bar or range area mark. |
1331
- | `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. |
1332
- | `xValue?` (read-only) | `unknown` | The x value of the mark. |
1333
- | `yValue?` (read-only) | `unknown` | The y value of the mark. |
1334
-
1335
- #### `ChartDataLabelOptions`
1336
-
1337
- | Name | Type | Description |
1338
- | --- | --- | --- |
1339
- | `allowOverlap?` | `boolean` | Whether labels may overlap other generic data labels. Default: false |
1340
- | `collisionPadding?` | `number` | Collision padding around the label bounds. Default: 2 |
1341
- | `color?` | `string` | Optional text color override. |
1342
- | `formatter?` | `ChartDataLabelFormatter` | Optional semantic formatter. Returning null/undefined/"" suppresses that label. |
1343
- | `maxLabels?` | `number` | Maximum accepted labels for this series. Default: 200 |
1344
- | `offset?` | `number` | Distance in CSS pixels between the mark anchor and label. Default: 6 |
1345
- | `overflow?` | `"clip" \| "hide"` | Plot-boundary behavior. Default: "hide" |
1346
- | `position?` | `ChartDataLabelPosition` | Placement strategy. Default: "auto" |
1347
-
1348
- #### `ChartDownsamplingOptions`
1349
-
1350
- | Name | Type |
1351
- | --- | --- |
1352
- | `algorithm?` (read-only) | `ChartDownsamplingAlgorithm` |
1353
- | `enabled?` (read-only) | `boolean` |
1354
- | `maxPoints?` (read-only) | `number` |
1355
- | `samplesPerPixel?` (read-only) | `number` |
1356
- | `threshold?` (read-only) | `number` |
1357
-
1358
- #### `ChartExportBaseOptions`
1359
-
1360
- Shared base options for all chart export formats.
1361
-
1362
- | Name | Type | Description |
1363
- | --- | --- | --- |
1364
- | `background?` (read-only) | `ChartExportBackground` | Background color policy or explicit CSS color. Default: "auto". |
1365
- | `height?` (read-only) | `number` | Optional logical output height in CSS pixels. When omitted, the current chart aspect ratio or source height is preserved. |
1366
- | `presentation?` (read-only) | `ChartExportPresentationOptions` | Optional presentation options controlling selection, crosshair, and brush inclusion. |
1367
- | `signal?` (read-only) | `AbortSignal` | Optional AbortSignal for aborting the export operation. |
1368
- | `width?` (read-only) | `number` | Optional logical output width in CSS pixels. When omitted, the current chart width is preserved. |
1369
-
1370
- #### `ChartExportPresentationOptions`
1371
-
1372
- Options controlling which interactive/presentation elements are included in the export.
1373
-
1374
- | Name | Type | Description |
1375
- | --- | --- | --- |
1376
- | `brush?` (read-only) | `boolean` | Whether to include active brush marquee overlay. Default: false. |
1377
- | `crosshair?` (read-only) | `boolean` | Whether to include active crosshair overlay and axis badges. Default: false. |
1378
- | `selection?` (read-only) | `boolean` | Whether to include persistent mark selection visuals. Default: true. |
1379
-
1380
- #### `ChartExportResult`
1381
-
1382
- Result of a chart export operation.
1383
-
1384
- | Name | Type | Description |
1385
- | --- | --- | --- |
1386
- | `blob` (read-only) | `Blob` | The generated binary Blob containing the exported chart. |
1387
- | `format` (read-only) | `ChartExportFormat` | The export format that was produced. |
1388
- | `height` (read-only) | `number` | The logical output height in CSS pixels. |
1389
- | `mimeType` (read-only) | `string` | The MIME type of the exported blob (e.g. "image/png", "image/svg+xml", "application/pdf"). |
1390
- | `width` (read-only) | `number` | The logical output width in CSS pixels. |
1391
-
1392
- #### `ChartLabelMeasurement`
1393
-
1394
- | Name | Type |
1395
- | --- | --- |
1396
- | `height` | `number` |
1397
- | `width` | `number` |
1398
-
1399
- #### `ChartLegendItem`
1400
-
1401
- | Name | Type |
1402
- | --- | --- |
1403
- | `color` (read-only) | `string` |
1404
- | `dataIndex?` (read-only) | `number` |
1405
- | `datum?` (read-only) | `unknown` |
1406
- | `interactive?` (read-only) | `boolean` |
1407
- | `itemId` (read-only) | `string` |
1408
- | `kind?` (read-only) | `ChartLegendItemKind` |
1409
- | `name` (read-only) | `string` |
1410
- | `percentage?` (read-only) | `number` |
1411
- | `secondaryColor?` (read-only) | `string` |
1412
- | `seriesId` (read-only) | `string` |
1413
- | `seriesType` (read-only) | `ChartSeriesType` |
1414
- | `value?` (read-only) | `number` |
1415
- | `visible` (read-only) | `boolean` |
1416
-
1417
- #### `ChartLegendItemTemplateContext`
1418
-
1419
- | Name | Type |
1420
- | --- | --- |
1421
- | `$implicit` | `ChartLegendItem` |
1422
- | `color` | `string` |
1423
- | `dataIndex?` | `number` |
1424
- | `datum?` | `unknown` |
1425
- | `interactive?` | `boolean` |
1426
- | `itemId` | `string` |
1427
- | `kind?` | `ChartLegendItemKind` |
1428
- | `name` | `string` |
1429
- | `percentage?` | `number` |
1430
- | `secondaryColor?` | `string` |
1431
- | `series` | `ChartLegendItem` |
1432
- | `seriesId` | `string` |
1433
- | `seriesType` | `ChartSeriesType` |
1434
- | `value?` | `number` |
1435
- | `visible` | `boolean` |
1436
-
1437
- #### `ChartNavigationOptions`
1438
-
1439
- | Name | Type |
1440
- | --- | --- |
1441
- | `clampToData?` (read-only) | `boolean` |
1442
- | `constraints?` (read-only) | `readonly ChartViewportConstraint[]` |
1443
- | `dragPan?` (read-only) | `boolean` |
1444
- | `keyboard?` (read-only) | `boolean` |
1445
- | `keyboardPanRatio?` (read-only) | `number` |
1446
- | `keyboardZoomFactor?` (read-only) | `number` |
1447
- | `linkGroups?` (read-only) | `readonly ChartViewportLinkGroup[]` |
1448
- | `minVisibleCategories?` (read-only) | `number` |
1449
- | `pan?` (read-only) | `boolean` |
1450
- | `panAxes?` (read-only) | `ChartNavigationAxisTarget` |
1451
- | `pinchZoom?` (read-only) | `boolean` |
1452
- | `wheelSensitivity?` (read-only) | `number` |
1453
- | `wheelZoom?` (read-only) | `boolean` |
1454
- | `zoom?` (read-only) | `boolean` |
1455
- | `zoomAxes?` (read-only) | `ChartNavigationAxisTarget` |
1456
-
1457
- #### `ChartPadding`
1458
-
1459
- | Name | Type |
1460
- | --- | --- |
1461
- | `bottom` | `number` |
1462
- | `left` | `number` |
1463
- | `right` | `number` |
1464
- | `top` | `number` |
1465
-
1466
- #### `ChartPdfExportOptions`
1467
-
1468
- Options for exporting a chart as a PDF document.
1469
-
1470
- **Extends:** `ChartExportBaseOptions`
1471
-
1472
- | Name | Type | Description |
1473
- | --- | --- | --- |
1474
- | `format` (read-only) | `"pdf"` | Selects export as a PDF document. |
1475
- | `mode?` (read-only) | `ChartPdfRenderMode` | PDF rendering mode ("auto", "vector", or "raster"). Default: "auto". |
1476
- | `page?` (read-only) | `ChartPdfPageOptions` | PDF page configuration. |
1477
-
1478
- #### `ChartPdfMargins`
1479
-
1480
- PDF page margins in PDF points (72 points = 1 inch).
1481
-
1482
- | Name | Type |
1483
- | --- | --- |
1484
- | `bottom?` (read-only) | `number` |
1485
- | `left?` (read-only) | `number` |
1486
- | `right?` (read-only) | `number` |
1487
- | `top?` (read-only) | `number` |
1488
-
1489
- #### `ChartPdfPageOptions`
1490
-
1491
- Page layout options for PDF export.
1492
-
1493
- | Name | Type | Description |
1494
- | --- | --- | --- |
1495
- | `margin?` (read-only) | `number \| ChartPdfMargins` | Page margins in PDF points. Default: 0 for "chart" page size, 24 for standard pages if not specified. |
1496
- | `orientation?` (read-only) | `"auto" \| "portrait" \| "landscape"` | Page orientation. Default: "auto" (derived from the chart aspect ratio). |
1497
- | `size?` (read-only) | `ChartPdfPageSize` | Target page size. Default: "chart". |
1498
-
1499
- #### `ChartPngExportOptions`
1500
-
1501
- Options for exporting a chart as a PNG raster image.
1502
-
1503
- **Extends:** `ChartExportBaseOptions`
1504
-
1505
- | Name | Type | Description |
1506
- | --- | --- | --- |
1507
- | `format` (read-only) | `"png"` | Selects export as a PNG image. |
1508
- | `pixelRatio?` (read-only) | `number` | Raster scaling ratio relative to logical CSS pixels. Default: 2. |
1509
-
1510
- #### `ChartPoint`
1511
-
1512
- | Name | Type |
1513
- | --- | --- |
1514
- | `x` | `number` |
1515
- | `y` | `number` |
1516
-
1517
- #### `ChartPointEvent`
1518
-
1519
- **Type parameters:** `T = unknown`
1520
-
1521
- | Name | Type |
1522
- | --- | --- |
1523
- | `category?` (read-only) | `unknown` |
1524
- | `categoryX?` (read-only) | `string` |
1525
- | `categoryY?` (read-only) | `string` |
1526
- | `change?` (read-only) | `number` |
1527
- | `changePercentage?` (read-only) | `number` |
1528
- | `close?` (read-only) | `number` |
1529
- | `dataIndex` (read-only) | `number` |
1530
- | `datum` (read-only) | `T` |
1531
- | `financial?` (read-only) | `ChartOhlcPointValue` |
1532
- | `financialDirection?` (read-only) | `ChartFinancialDirection` |
1533
- | `formattedChange?` (read-only) | `string` |
1534
- | `formattedChangePercentage?` (read-only) | `string` |
1535
- | `formattedClose?` (read-only) | `string` |
1536
- | `formattedFrom?` (read-only) | `string` |
1537
- | `formattedHigh?` (read-only) | `string` |
1538
- | `formattedLow?` (read-only) | `string` |
1539
- | `formattedOpen?` (read-only) | `string` |
1540
- | `formattedTo?` (read-only) | `string` |
1541
- | `formattedXValue?` (read-only) | `string` |
1542
- | `formattedYCategory?` (read-only) | `string` |
1543
- | `fromValue?` (read-only) | `number` |
1544
- | `funnel?` (read-only) | `ChartFunnelPointMetadata` |
1545
- | `hierarchy?` (read-only) | `ChartHierarchyPointMetadata` |
1546
- | `high?` (read-only) | `number` |
1547
- | `low?` (read-only) | `number` |
1548
- | `markId?` (read-only) | `string` |
1549
- | `open?` (read-only) | `number` |
1550
- | `percentage?` (read-only) | `number` |
1551
- | `rawValue?` (read-only) | `unknown` |
1552
- | `seriesId` (read-only) | `string` |
1553
- | `seriesName` (read-only) | `string` |
1554
- | `seriesType` (read-only) | `ChartSeriesType` |
1555
- | `sizeValue?` (read-only) | `number` |
1556
- | `sliceId?` (read-only) | `string` |
1557
- | `stackEnd?` (read-only) | `number` |
1558
- | `stackGroup?` (read-only) | `string` |
1559
- | `stackMode?` (read-only) | `ChartStackMode` |
1560
- | `stackPercentage?` (read-only) | `number` |
1561
- | `stackPosition?` (read-only) | `"inner" \| "outer" \| "single"` |
1562
- | `stackStart?` (read-only) | `number` |
1563
- | `stackTotal?` (read-only) | `number` |
1564
- | `toValue?` (read-only) | `number` |
1565
- | `value?` (read-only) | `unknown` |
1566
- | `valueKind?` (read-only) | `ChartPointValueKind` |
1567
- | `waterfall?` (read-only) | `ChartWaterfallPointValue` |
1568
- | `xAxisId?` (read-only) | `string` |
1569
- | `xAxisTitle?` (read-only) | `string` |
1570
- | `xValue` (read-only) | `unknown` |
1571
- | `yAxisId?` (read-only) | `string` |
1572
- | `yAxisTitle?` (read-only) | `string` |
1573
- | `yCategory?` (read-only) | `unknown` |
1574
- | `yValue?` (read-only) | `number` |
1575
-
1576
- #### `ChartPointFocusEvent`
1577
-
1578
- **Type parameters:** `T = unknown`
1579
-
1580
- | Name | Type |
1581
- | --- | --- |
1582
- | `category?` (read-only) | `unknown` |
1583
- | `categoryX?` (read-only) | `string` |
1584
- | `categoryY?` (read-only) | `string` |
1585
- | `change?` (read-only) | `number` |
1586
- | `changePercentage?` (read-only) | `number` |
1587
- | `close?` (read-only) | `number` |
1588
- | `dataIndex` (read-only) | `number` |
1589
- | `datum` (read-only) | `T` |
1590
- | `financial?` (read-only) | `ChartOhlcPointValue` |
1591
- | `financialDirection?` (read-only) | `ChartFinancialDirection` |
1592
- | `formattedChange?` (read-only) | `string` |
1593
- | `formattedChangePercentage?` (read-only) | `string` |
1594
- | `formattedClose?` (read-only) | `string` |
1595
- | `formattedFrom?` (read-only) | `string` |
1596
- | `formattedHigh?` (read-only) | `string` |
1597
- | `formattedLow?` (read-only) | `string` |
1598
- | `formattedOpen?` (read-only) | `string` |
1599
- | `formattedTo?` (read-only) | `string` |
1600
- | `formattedXValue?` (read-only) | `string` |
1601
- | `formattedYCategory?` (read-only) | `string` |
1602
- | `fromValue?` (read-only) | `number` |
1603
- | `funnel?` (read-only) | `ChartFunnelPointMetadata` |
1604
- | `hierarchy?` (read-only) | `ChartHierarchyPointMetadata` |
1605
- | `high?` (read-only) | `number` |
1606
- | `low?` (read-only) | `number` |
1607
- | `markId?` (read-only) | `string` |
1608
- | `open?` (read-only) | `number` |
1609
- | `percentage?` (read-only) | `number` |
1610
- | `rawValue?` (read-only) | `unknown` |
1611
- | `seriesId` (read-only) | `string` |
1612
- | `seriesName` (read-only) | `string` |
1613
- | `seriesType` (read-only) | `ChartSeriesType` |
1614
- | `sizeValue?` (read-only) | `number` |
1615
- | `sliceId?` (read-only) | `string` |
1616
- | `stackEnd?` (read-only) | `number` |
1617
- | `stackGroup?` (read-only) | `string` |
1618
- | `stackMode?` (read-only) | `ChartStackMode` |
1619
- | `stackPercentage?` (read-only) | `number` |
1620
- | `stackPosition?` (read-only) | `"inner" \| "outer" \| "single"` |
1621
- | `stackStart?` (read-only) | `number` |
1622
- | `stackTotal?` (read-only) | `number` |
1623
- | `toValue?` (read-only) | `number` |
1624
- | `value?` (read-only) | `unknown` |
1625
- | `valueKind?` (read-only) | `ChartPointValueKind` |
1626
- | `waterfall?` (read-only) | `ChartWaterfallPointValue` |
1627
- | `xAxisId?` (read-only) | `string` |
1628
- | `xAxisTitle?` (read-only) | `string` |
1629
- | `xValue` (read-only) | `unknown` |
1630
- | `yAxisId?` (read-only) | `string` |
1631
- | `yAxisTitle?` (read-only) | `string` |
1632
- | `yCategory?` (read-only) | `unknown` |
1633
- | `yValue?` (read-only) | `number` |
1634
-
1635
- #### `ChartRangePointValue`
1636
-
1637
- | Name | Type |
1638
- | --- | --- |
1639
- | `formattedFrom` (read-only) | `string` |
1640
- | `formattedTo` (read-only) | `string` |
1641
- | `fromValue` (read-only) | `number` |
1642
- | `toValue` (read-only) | `number` |
1643
- | `valueKind` (read-only) | `"range"` |
1644
-
1645
- #### `ChartRect`
1646
-
1647
- | Name | Type |
1648
- | --- | --- |
1649
- | `height` | `number` |
1650
- | `width` | `number` |
1651
- | `x` | `number` |
1652
- | `y` | `number` |
1653
-
1654
- #### `ChartReferenceBandLabelContext`
1655
-
1656
- **Type parameters:** `TFrom extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`, `TTo extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`
1657
-
1658
- | Name | Type |
1659
- | --- | --- |
1660
- | `$implicit` (read-only) | `{ readonly from: TFrom; readonly to: TTo }` |
1661
- | `axis` (read-only) | `"x" \| "y"` |
1662
- | `axisId` (read-only) | `string` |
1663
- | `bounds` (read-only) | `ChartRect` |
1664
- | `coordinate?` (read-only) | `undefined` |
1665
- | `formattedFrom` (read-only) | `string` |
1666
- | `formattedTo` (read-only) | `string` |
1667
- | `formattedValue?` (read-only) | `undefined` |
1668
- | `from` (read-only) | `TFrom` |
1669
- | `kind` (read-only) | `"band"` |
1670
- | `to` (read-only) | `TTo` |
1671
- | `value?` (read-only) | `undefined` |
1672
-
1673
- #### `ChartReferenceLineLabelContext`
1674
-
1675
- **Type parameters:** `T extends ChartAnnotationAxisValue = ChartAnnotationAxisValue`
1676
-
1677
- | Name | Type |
1678
- | --- | --- |
1679
- | `$implicit` (read-only) | `T` |
1680
- | `axis` (read-only) | `"x" \| "y"` |
1681
- | `axisId` (read-only) | `string` |
1682
- | `bounds?` (read-only) | `undefined` |
1683
- | `coordinate` (read-only) | `number` |
1684
- | `formattedFrom?` (read-only) | `undefined` |
1685
- | `formattedTo?` (read-only) | `undefined` |
1686
- | `formattedValue` (read-only) | `string` |
1687
- | `from?` (read-only) | `undefined` |
1688
- | `kind` (read-only) | `"line"` |
1689
- | `to?` (read-only) | `undefined` |
1690
- | `value` (read-only) | `T` |
1691
-
1692
- #### `ChartScalarPointValue`
1693
-
1694
- | Name | Type |
1695
- | --- | --- |
1696
- | `valueKind` (read-only) | `"scalar"` |
1697
- | `yValue` (read-only) | `number` |
1698
-
1699
- #### `ChartSelectedPoint`
1700
-
1701
- **Type parameters:** `T = unknown`
1702
-
1703
- | Name | Type |
1704
- | --- | --- |
1705
- | `close?` (read-only) | `number` |
1706
- | `dataIndex` (read-only) | `number` |
1707
- | `datum` (read-only) | `T` |
1708
- | `fromValue?` (read-only) | `number` |
1709
- | `high?` (read-only) | `number` |
1710
- | `low?` (read-only) | `number` |
1711
- | `markId` (read-only) | `string` |
1712
- | `open?` (read-only) | `number` |
1713
- | `rawValue?` (read-only) | `unknown` |
1714
- | `seriesId` (read-only) | `string` |
1715
- | `seriesName` (read-only) | `string` |
1716
- | `seriesType` (read-only) | `ChartSeriesType` |
1717
- | `stackEnd?` (read-only) | `number` |
1718
- | `stackPercentage?` (read-only) | `number` |
1719
- | `stackStart?` (read-only) | `number` |
1720
- | `toValue?` (read-only) | `number` |
1721
- | `value?` (read-only) | `unknown` |
1722
- | `xValue?` (read-only) | `unknown` |
1723
- | `yValue?` (read-only) | `unknown` |
1724
-
1725
- #### `ChartSelectionChangeEvent`
1726
-
1727
- **Type parameters:** `T = unknown`
1728
-
1729
- | Name | Type |
1730
- | --- | --- |
1731
- | `addedMarkIds` (read-only) | `readonly string[]` |
1732
- | `changedPoints` (read-only) | `readonly ChartSelectedPoint<T>[]` |
1733
- | `previousSelectedMarkIds` (read-only) | `readonly string[]` |
1734
- | `removedMarkIds` (read-only) | `readonly string[]` |
1735
- | `selectedMarkIds` (read-only) | `readonly string[]` |
1736
- | `source` (read-only) | `ChartSelectionChangeSource` |
1737
- | `visibleSelectedPoints` (read-only) | `readonly ChartSelectedPoint<T>[]` |
1738
-
1739
- #### `ChartSeriesStyle`
1740
-
1741
- | Name | Type |
1742
- | --- | --- |
1743
- | `areaFillColor` | `string` |
1744
- | `areaFillOpacity` | `number` |
1745
- | `color` | `string` |
1746
- | `fillOpacity` | `number` |
1747
- | `lineStyle?` | `ChartLineStyle` |
1748
- | `lineWidth` | `number` |
1749
- | `opacity` | `number` |
1750
- | `pointRadius` | `number` |
1751
-
1752
- #### `ChartSeriesVisibilityEvent`
1753
-
1754
- | Name | Type |
1755
- | --- | --- |
1756
- | `seriesId` (read-only) | `string` |
1757
- | `seriesName` (read-only) | `string` |
1758
- | `visible` (read-only) | `boolean` |
1759
-
1760
- #### `ChartSize`
1761
-
1762
- | Name | Type |
1763
- | --- | --- |
1764
- | `height` | `number` |
1765
- | `width` | `number` |
1766
-
1767
- #### `ChartSubtitleTemplateContext`
1768
-
1769
- | Name | Type |
1770
- | --- | --- |
1771
- | `$implicit` (read-only) | `string` |
1772
- | `subtitle` (read-only) | `string` |
1773
-
1774
- #### `ChartSvgExportOptions`
1775
-
1776
- Options for exporting a chart as a standalone SVG vector document.
1777
-
1778
- **Extends:** `ChartExportBaseOptions`
1779
-
1780
- | Name | Type | Description |
1781
- | --- | --- | --- |
1782
- | `accessibility?` (read-only) | `boolean` | Whether to include accessibility metadata (<title>, <desc>, and ARIA attributes). Default: true. |
1783
- | `format` (read-only) | `"svg"` | Selects export as a SVG document. |
1784
-
1785
- #### `ChartSynchronizationAxisMapping`
1786
-
1787
- | Name | Type |
1788
- | --- | --- |
1789
- | `source` (read-only) | `ChartViewportAxisRef` |
1790
- | `target` (read-only) | `ChartViewportAxisRef` |
1791
-
1792
- #### `ChartSynchronizationOptions`
1793
-
1794
- | Name | Type |
1795
- | --- | --- |
1796
- | `axisMappings?` (read-only) | `readonly ChartSynchronizationAxisMapping[]` |
1797
- | `crosshair?` (read-only) | `boolean \| ChartCrosshairSynchronizationOptions` |
1798
- | `group` (read-only) | `string` |
1799
- | `viewport?` (read-only) | `boolean \| ChartViewportSynchronizationOptions` |
1800
-
1801
- #### `ChartTitleTemplateContext`
1802
-
1803
- | Name | Type |
1804
- | --- | --- |
1805
- | `$implicit` (read-only) | `string` |
1806
- | `title` (read-only) | `string` |
1807
-
1808
- #### `ChartTooltipPointContext`
1809
-
1810
- **Type parameters:** `T = unknown`
1811
-
1812
- | Name | Type |
1813
- | --- | --- |
1814
- | `category?` | `unknown` |
1815
- | `categoryX?` | `string` |
1816
- | `categoryY?` | `string` |
1817
- | `change?` | `number` |
1818
- | `changePercentage?` | `number` |
1819
- | `close?` | `number` |
1820
- | `color` | `string` |
1821
- | `dataIndex` | `number` |
1822
- | `datum` | `T` |
1823
- | `financial?` | `ChartOhlcPointValue` |
1824
- | `financialDirection?` | `ChartFinancialDirection` |
1825
- | `formattedCategory?` | `string` |
1826
- | `formattedChange?` | `string` |
1827
- | `formattedChangePercentage?` | `string` |
1828
- | `formattedClose?` | `string` |
1829
- | `formattedFrom?` | `string` |
1830
- | `formattedHigh?` | `string` |
1831
- | `formattedLow?` | `string` |
1832
- | `formattedOpen?` | `string` |
1833
- | `formattedPercentage?` | `string` |
1834
- | `formattedRadialMax?` | `string` |
1835
- | `formattedRadialMin?` | `string` |
1836
- | `formattedSize?` | `string` |
1837
- | `formattedStackPercentage?` | `string` |
1838
- | `formattedStackTotal?` | `string` |
1839
- | `formattedTo?` | `string` |
1840
- | `formattedX` | `string` |
1841
- | `formattedXValue?` | `string` |
1842
- | `formattedY` | `string` |
1843
- | `formattedYCategory?` | `string` |
1844
- | `fromValue?` | `number` |
1845
- | `funnel?` | `ChartFunnelPointMetadata` |
1846
- | `hierarchy?` | `ChartHierarchyPointMetadata` |
1847
- | `high?` | `number` |
1848
- | `isClamped?` | `boolean` |
1849
- | `low?` | `number` |
1850
- | `markId` | `string` |
1851
- | `open?` | `number` |
1852
- | `percentage?` | `number` |
1853
- | `radialMax?` | `number` |
1854
- | `radialMin?` | `number` |
1855
- | `radialRatio?` | `number` |
1856
- | `rawValue?` | `unknown` |
1857
- | `seriesId` | `string` |
1858
- | `seriesName` | `string` |
1859
- | `seriesType` | `ChartSeriesType` |
1860
- | `sizeValue?` | `number` |
1861
- | `sliceId?` | `string` |
1862
- | `stackEnd?` | `number` |
1863
- | `stackGroup?` | `string` |
1864
- | `stackMode?` | `ChartStackMode` |
1865
- | `stackPercentage?` | `number` |
1866
- | `stackPosition?` | `"inner" \| "outer" \| "single"` |
1867
- | `stackStart?` | `number` |
1868
- | `stackTotal?` | `number` |
1869
- | `toValue?` | `number` |
1870
- | `value?` | `unknown` |
1871
- | `valueKind?` | `ChartPointValueKind` |
1872
- | `waterfall?` | `ChartWaterfallPointValue` |
1873
- | `xAxisId?` | `string` |
1874
- | `xAxisTitle?` | `string` |
1875
- | `xValue` | `unknown` |
1876
- | `yAxisId?` | `string` |
1877
- | `yAxisTitle?` | `string` |
1878
- | `yCategory?` | `unknown` |
1879
- | `yValue?` | `number` |
1880
-
1881
- #### `ChartTooltipTemplateContext`
1882
-
1883
- **Type parameters:** `T = unknown`
1884
-
1885
- | Name | Type |
1886
- | --- | --- |
1887
- | `$implicit` | `ChartTooltipPointContext<T>` |
1888
- | `point` | `ChartTooltipPointContext<T>` |
1889
- | `points` | `readonly ChartTooltipPointContext<T>[]` |
1890
- | `series` | `readonly string[]` |
1891
- | `shared` | `boolean` |
1892
-
1893
- #### `ChartViewportAxisRef`
1894
-
1895
- | Name | Type |
1896
- | --- | --- |
1897
- | `axis` (read-only) | `"x" \| "y"` |
1898
- | `axisId` (read-only) | `string` |
1899
-
1900
- #### `ChartViewportChangeEvent`
1901
-
1902
- | Name | Type |
1903
- | --- | --- |
1904
- | `changedAxes` (read-only) | `readonly ChartViewportAxisRef[]` |
1905
- | `phase` (read-only) | `ChartViewportChangePhase` |
1906
- | `previousViewport` (read-only) | `ChartViewportState` |
1907
- | `source` (read-only) | `ChartViewportChangeSource` |
1908
- | `viewport` (read-only) | `ChartViewportState` |
1909
-
1910
- #### `ChartViewportConstraint`
1911
-
1912
- **Extends:** `ChartViewportAxisRef`
1913
-
1914
- | Name | Type |
1915
- | --- | --- |
1916
- | `maxSpan?` (read-only) | `number` |
1917
- | `maxVisibleCategories?` (read-only) | `number` |
1918
- | `maxZoom?` (read-only) | `number` |
1919
- | `minSpan?` (read-only) | `number` |
1920
- | `minVisibleCategories?` (read-only) | `number` |
1921
-
1922
- #### `ChartViewportLinkGroup`
1923
-
1924
- | Name | Type |
1925
- | --- | --- |
1926
- | `axes` (read-only) | `readonly ChartViewportAxisRef[]` |
1927
- | `id` (read-only) | `string` |
1928
- | `mode` (read-only) | `ChartViewportLinkMode` |
1929
-
1930
- #### `ChartViewportState`
1931
-
1932
- | Name | Type |
1933
- | --- | --- |
1934
- | `axes` (read-only) | `readonly ChartViewportWindow[]` |
1935
-
1936
- #### `ChartViewportSynchronizationOptions`
1937
-
1938
- | Name | Type |
1939
- | --- | --- |
1940
- | `axes?` (read-only) | `ChartNavigationAxisTarget` |
1941
- | `enabled?` (read-only) | `boolean` |
1942
- | `mode?` (read-only) | `ChartSynchronizationMode` |
1943
- | `phase?` (read-only) | `"continuous" \| "end"` |
1944
-
1945
- #### `ChartAnimationEasing`
1946
-
1947
- ```typescript
1948
- type ChartAnimationEasing = "linear" | "ease-in" | "ease-out" | "ease-in-out";
1949
- ```
1950
-
1951
- #### `ChartAnimationInput`
1952
-
1953
- ```typescript
1954
- type ChartAnimationInput = boolean | ChartAnimationOptions;
1955
- ```
1956
-
1957
- #### `ChartAnnotationAxisValue`
1958
-
1959
- ```typescript
1960
- type ChartAnnotationAxisValue = Date | number | string;
1961
- ```
1962
-
1963
- #### `ChartAnnotationLabelPlacement`
1964
-
1965
- ```typescript
1966
- type ChartAnnotationLabelPlacement = "bottom" | "left" | "right" | "top";
1967
- ```
1968
-
1969
- #### `ChartAnnotationMarker`
1970
-
1971
- ```typescript
1972
- type ChartAnnotationMarker = "circle" | "diamond" | "none";
1973
- ```
1974
-
1975
- #### `ChartAxisFormatter`
1976
-
1977
- ```typescript
1978
- type ChartAxisFormatter<T = unknown> = (value: T, index: number) => string;
1979
- ```
1980
-
1981
- #### `ChartAxisLabelRotation`
1982
-
1983
- ```typescript
1984
- type ChartAxisLabelRotation = "auto" | number;
1985
- ```
1986
-
1987
- #### `ChartAxisPosition`
1988
-
1989
- ```typescript
1990
- type ChartAxisPosition = ChartXAxisPosition | ChartYAxisSide;
1991
- ```
1992
-
1993
- #### `ChartBrushActivation`
1994
-
1995
- ```typescript
1996
- type ChartBrushActivation = "drag" | "shift-drag";
1997
- ```
1998
-
1999
- #### `ChartBrushAxisRange`
2000
-
2001
- ```typescript
2002
- type ChartBrushAxisRange = ChartBrushCategoryRange | ChartBrushContinuousRange;
2003
- ```
2004
-
2005
- #### `ChartBrushCancelReason`
2006
-
2007
- ```typescript
2008
- type ChartBrushCancelReason = | "authority-change" | "component-disabled" | "data-change" | "destroyed" | "disabled" | "escape" | "lost-pointer-capture" | "pointer-cancel" | "pointer-leave" | "viewport-change";
2009
- ```
2010
-
2011
- #### `ChartBrushHitPolicy`
2012
-
2013
- ```typescript
2014
- type ChartBrushHitPolicy = "center" | "intersect";
2015
- ```
2016
-
2017
- #### `ChartBrushLineStyle`
2018
-
2019
- ```typescript
2020
- type ChartBrushLineStyle = "solid" | "dashed" | "dotted";
2021
- ```
2022
-
2023
- #### `ChartBrushMode`
2024
-
2025
- ```typescript
2026
- type ChartBrushMode = "x" | "y" | "xy";
2027
- ```
2028
-
2029
- #### `ChartBrushPhase`
2030
-
2031
- ```typescript
2032
- type ChartBrushPhase = "start" | "update" | "end" | "cancel";
2033
- ```
2034
-
2035
- #### `ChartBrushSelectionBehavior`
2036
-
2037
- ```typescript
2038
- type ChartBrushSelectionBehavior = "none" | "replace" | "add" | "remove" | "toggle";
2039
- ```
2040
-
2041
- #### `ChartCoordinateSystem`
2042
-
2043
- ```typescript
2044
- type ChartCoordinateSystem = "cartesian" | "hierarchical" | "polar";
2045
- ```
2046
-
2047
- #### `ChartCrosshairLineStyle`
2048
-
2049
- ```typescript
2050
- type ChartCrosshairLineStyle = "dashed" | "dotted" | "solid";
2051
- ```
2052
-
2053
- #### `ChartCrosshairMode`
2054
-
2055
- ```typescript
2056
- type ChartCrosshairMode = "auto" | "x" | "xy" | "y";
2057
- ```
2058
-
2059
- #### `ChartCrosshairSnapMode`
2060
-
2061
- ```typescript
2062
- type ChartCrosshairSnapMode = "nearest" | "pointer";
2063
- ```
2064
-
2065
- #### `ChartDataLabelFormatter`
2066
-
2067
- ```typescript
2068
- type ChartDataLabelFormatter<T = unknown> = (context: ChartDataLabelContext<T>) => string | null | undefined;
2069
- ```
2070
-
2071
- #### `ChartDataLabelPosition`
2072
-
2073
- ```typescript
2074
- type ChartDataLabelPosition = | "auto" | "top" | "bottom" | "left" | "right" | "center" | "inside-start" | "inside-center" | "inside-end" | "outside-start" | "outside-end";
2075
- ```
2076
-
2077
- #### `ChartDataLabelsInput`
2078
-
2079
- ```typescript
2080
- type ChartDataLabelsInput = boolean | ChartDataLabelOptions;
2081
- ```
2082
-
2083
- #### `ChartDownloadOptions`
2084
-
2085
- Options for downloading a chart export.
2086
-
2087
- ```typescript
2088
- type ChartDownloadOptions = ChartExportOptions & { readonly fileName?: string; };
2089
- ```
2090
-
2091
- #### `ChartDownsamplingAlgorithm`
2092
-
2093
- ```typescript
2094
- type ChartDownsamplingAlgorithm = "auto" | "lttb" | "minmax" | "pixel";
2095
- ```
2096
-
2097
- #### `ChartDownsamplingInput`
2098
-
2099
- ```typescript
2100
- type ChartDownsamplingInput = boolean | ChartDownsamplingOptions;
2101
- ```
2102
-
2103
- #### `ChartExportBackground`
2104
-
2105
- Chart export background policy.
2106
- - "auto": Resolves the effective chart background color from the chart container/theme.
2107
- - "transparent": Creates a transparent background.
2108
- - CSS color string: Uses an explicit background color.
2109
-
2110
- ```typescript
2111
- type ChartExportBackground = "auto" | "transparent" | string;
2112
- ```
2113
-
2114
- #### `ChartExportErrorCode`
2115
-
2116
- Error code identifying the cause of a chart export failure.
2117
-
2118
- ```typescript
2119
- 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";
2120
- ```
2121
-
2122
- #### `ChartExportFormat`
2123
-
2124
- Supported chart export formats.
2125
-
2126
- ```typescript
2127
- type ChartExportFormat = "png" | "svg" | "pdf";
2128
- ```
2129
-
2130
- #### `ChartExportOptions`
2131
-
2132
- Discriminated union of chart export options.
2133
-
2134
- ```typescript
2135
- type ChartExportOptions = ChartPngExportOptions | ChartSvgExportOptions | ChartPdfExportOptions;
2136
- ```
2137
-
2138
- #### `ChartField`
2139
-
2140
- ```typescript
2141
- type ChartField<T = any, TResult = unknown> = string | ChartValueAccessor<T, TResult>;
2142
- ```
2143
-
2144
- #### `ChartHeaderAlignment`
2145
-
2146
- How the title and subtitle align: `start` and `end` follow the direction, `left` and `right` don't.
2147
-
2148
- ```typescript
2149
- type ChartHeaderAlignment = "center" | "end" | "left" | "right" | "start";
2150
- ```
2151
-
2152
- #### `ChartItemKey`
2153
-
2154
- A value that can identify a chart item: a `keyField` value or a category.
2155
-
2156
- ```typescript
2157
- type ChartItemKey = boolean | Date | number | string;
2158
- ```
2159
-
2160
- #### `ChartLegendItemKind`
2161
-
2162
- ```typescript
2163
- type ChartLegendItemKind = "datum" | "semantic" | "series";
2164
- ```
2165
-
2166
- #### `ChartLegendMode`
2167
-
2168
- ```typescript
2169
- type ChartLegendMode = "auto" | "color" | "series";
2170
- ```
2171
-
2172
- #### `ChartLegendPosition`
2173
-
2174
- Where a legend goes: `start` and `end` follow the direction, `left` and `right` don't.
2175
-
2176
- ```typescript
2177
- type ChartLegendPosition = "bottom" | "end" | "left" | "right" | "start" | "top";
2178
- ```
2179
-
2180
- #### `ChartNavigationAxisTarget`
2181
-
2182
- ```typescript
2183
- type ChartNavigationAxisTarget = "auto" | "x" | "xy" | "y" | readonly ChartViewportAxisRef[];
2184
- ```
2185
-
2186
- #### `ChartNavigationInput`
2187
-
2188
- ```typescript
2189
- type ChartNavigationInput = boolean | ChartNavigationOptions;
2190
- ```
2191
-
2192
- #### `ChartNumericScaleType`
2193
-
2194
- ```typescript
2195
- type ChartNumericScaleType = "linear" | "log" | "symlog" | "pow" | "sqrt";
2196
- ```
2197
-
2198
- #### `ChartOverlayLayer`
2199
-
2200
- ```typescript
2201
- type ChartOverlayLayer = "overlay" | "underlay";
2202
- ```
2203
-
2204
- #### `ChartPdfPageSize`
2205
-
2206
- Standard or custom PDF page size.
2207
- - "chart": Custom page dimensions sized to exactly match the chart dimensions in PDF points.
2208
- - "a4": Standard ISO A4 page (595.28 x 841.89 pt).
2209
- - "letter": Standard North American Letter page (612 x 792 pt).
2210
- - Custom object: Explicit width and height in PDF points (72 points = 1 inch).
2211
-
2212
- ```typescript
2213
- type ChartPdfPageSize = | "chart" | "a4" | "letter" | { readonly height: number; readonly width: number; };
2214
- ```
2215
-
2216
- #### `ChartPdfRenderMode`
2217
-
2218
- PDF generation rendering mode.
2219
- - "auto": Prefers vector output, falling back to embedded high-resolution raster image when vector fidelity cannot be guaranteed.
2220
- - "vector": Requires strict vector conversion; rejects if vector conversion is unsupported.
2221
- - "raster": Directly renders a rasterized chart image onto the PDF page.
2222
-
2223
- ```typescript
2224
- type ChartPdfRenderMode = "auto" | "vector" | "raster";
2225
- ```
2226
-
2227
- #### `ChartPointValue`
2228
-
2229
- ```typescript
2230
- type ChartPointValue = ChartOhlcPointValue | ChartRangePointValue | ChartScalarPointValue | ChartWaterfallPointValue;
2231
- ```
2232
-
2233
- #### `ChartPointValueKind`
2234
-
2235
- ```typescript
2236
- type ChartPointValueKind = "ohlc" | "range" | "scalar" | "waterfall";
2237
- ```
2238
-
2239
- #### `ChartReferenceLabelPosition`
2240
-
2241
- ```typescript
2242
- type ChartReferenceLabelPosition = "center" | "end" | "start";
2243
- ```
2244
-
2245
- #### `ChartReferenceLabelTemplateContext`
2246
-
2247
- ```typescript
2248
- type ChartReferenceLabelTemplateContext = ChartReferenceLineLabelContext | ChartReferenceBandLabelContext;
2249
- ```
2250
-
2251
- #### `ChartReferenceLineStyle`
2252
-
2253
- ```typescript
2254
- type ChartReferenceLineStyle = "dashed" | "dotted" | "solid";
2255
- ```
2256
-
2257
- #### `ChartRendererMode`
2258
-
2259
- ```typescript
2260
- type ChartRendererMode = "canvas" | "svg";
2261
- ```
2262
-
2263
- #### `ChartSelectionChangeSource`
2264
-
2265
- ```typescript
2266
- type ChartSelectionChangeSource = "brush" | "click" | "keyboard" | "programmatic";
2267
- ```
2268
-
2269
- #### `ChartSelectionMode`
2270
-
2271
- ```typescript
2272
- type ChartSelectionMode = "single" | "multiple";
2273
- ```
2274
-
2275
- #### `ChartSeriesFamily`
2276
-
2277
- ```typescript
2278
- type ChartSeriesFamily = "cartesian" | "funnel" | "heatmap" | "hierarchy" | "polar" | "radar" | "radialArc" | "sector" | "waterfall";
2279
- ```
2280
-
2281
- #### `ChartSeriesType`
2282
-
2283
- ```typescript
2284
- type ChartSeriesType = | "area" | "bar" | "bubble" | "candlestick" | "donut" | "funnel" | "gauge" | "heatmap" | "line" | "ohlc" | "pie" | "polar" | "radar" | "radialBar" | "rangeArea" | "rangeBar" | "rose" | "scatter" | "treemap" | "waterfall";
2285
- ```
2286
-
2287
- #### `ChartStackMode`
2288
-
2289
- ```typescript
2290
- type ChartStackMode = "normal" | "percent";
2291
- ```
2292
-
2293
- #### `ChartSynchronizationInput`
2294
-
2295
- ```typescript
2296
- type ChartSynchronizationInput = false | string | ChartSynchronizationOptions;
2297
- ```
2298
-
2299
- #### `ChartSynchronizationMode`
2300
-
2301
- ```typescript
2302
- type ChartSynchronizationMode = "domain" | "relative";
2303
- ```
2304
-
2305
- #### `ChartValueAccessor`
2306
-
2307
- ```typescript
2308
- type ChartValueAccessor<T = any, TResult = unknown> = (item: T, index: number) => TResult;
2309
- ```
2310
-
2311
- #### `ChartValueFormatter`
2312
-
2313
- ```typescript
2314
- type ChartValueFormatter<T = unknown> = (value: T, index: number) => string;
2315
- ```
2316
-
2317
- #### `ChartViewportChangePhase`
2318
-
2319
- ```typescript
2320
- type ChartViewportChangePhase = "end" | "start" | "update";
2321
- ```
2322
-
2323
- #### `ChartViewportChangeSource`
2324
-
2325
- ```typescript
2326
- type ChartViewportChangeSource = "data-reconcile" | "drag" | "fit" | "keyboard" | "pinch" | "programmatic" | "reset" | "sync" | "wheel";
2327
- ```
2328
-
2329
- #### `ChartViewportLinkMode`
2330
-
2331
- ```typescript
2332
- type ChartViewportLinkMode = "domain" | "relative";
2333
- ```
2334
-
2335
- #### `ChartViewportWindow`
2336
-
2337
- ```typescript
2338
- type ChartViewportWindow = ChartCategoryViewportWindow | ChartContinuousViewportWindow;
2339
- ```
2340
-
2341
- #### `ChartXAxisPosition`
2342
-
2343
- ```typescript
2344
- type ChartXAxisPosition = "bottom" | "top";
2345
- ```
2346
-
2347
- #### `ChartXAxisType`
2348
-
2349
- ```typescript
2350
- type ChartXAxisType = "auto" | "category" | ChartNumericScaleType | "time" | "utc";
2351
- ```
2352
-
2353
- #### `ChartYAxisPosition`
2354
-
2355
- Where a Y axis goes: `start` and `end` follow the direction, `left` and `right` don't.
2356
-
2357
- ```typescript
2358
- type ChartYAxisPosition = ChartYAxisSide | "end" | "start";
2359
- ```
2360
-
2361
- #### `ChartYAxisSide`
2362
-
2363
- The physical side a Y axis is drawn on.
2364
-
2365
- ```typescript
2366
- type ChartYAxisSide = "left" | "right";
2367
- ```
2368
-
2369
- #### `ChartYAxisType`
2370
-
2371
- ```typescript
2372
- type ChartYAxisType = "auto" | "category" | ChartNumericScaleType;
2373
- ```
2374
-
2375
- #### `MonaChartMessages`
2376
-
2377
- From `@nanahoshi/mona-ui/i18n`.
2378
-
2379
- | Name | Type | Description |
604
+ | Type | Kind | Description |
2380
605
  | --- | --- | --- |
2381
- | `announcementSeparator` (read-only) | `string` | Joins the parts of a screen reader announcement (", " in English). |
2382
- | `brushApplied` (read-only) | `(count: number) => string` | Announced when a keyboard brush is committed. |
2383
- | `brushCleared` (read-only) | `string` | Announced when a keyboard brush is canceled. |
2384
- | `brushRange` (read-only) | `(from: string, to: string) => string` | Announced while a keyboard brush is extended. |
2385
- | `category` (read-only) | `string` | The data table's first column header when the X axis has no title. |
2386
- | `categoryFallbackName` (read-only) | `(index: number) => string` | The name of a radar category without a value. |
2387
- | `categoryRange` (read-only) | `(from: string, to: string) => string` | The category range of a Cartesian chart, in its description. |
2388
- | `change` (read-only) | `string` | The tooltip label for a waterfall change step or a financial point's price change. |
2389
- | `changeValue` (read-only) | `(change: string) => string` | The price change in a financial announcement. |
2390
- | `chart` (read-only) | `string` | The chart's accessible name when it has neither an `ariaLabel` nor a title. |
2391
- | `chartLegend` (read-only) | `string` | The accessible name of the legend. |
2392
- | `chartRoleDescription` (read-only) | `string` | What screen readers call the chart (`aria-roledescription`). |
2393
- | `close` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's closing price. |
2394
- | `closeAbbreviation` (read-only) | `string` | The short closing price label in a tooltip that lists several financial series ("C" in English). |
2395
- | `colorScale` (read-only) | `string` | The name of a heatmap color legend whose scale has no title, in its accessible name. |
2396
- | `conversion` (read-only) | `string` | The tooltip label for a funnel stage's conversion rate. |
2397
- | `conversionOfPrevious` (read-only) | `(rate: string) => string` | A funnel stage's conversion from the previous stage, in an announcement. |
2398
- | `dataTableTruncated` (read-only) | `(shown: number, total: number) => string` | Below the data table when it shows only the first rows. |
2399
- | `decrease` (read-only) | `string` | The waterfall legend's name for falling steps. |
2400
- | `decreaseAnnouncement` (read-only) | `(delta: string, from: string, to: string) => string` | Announced for a waterfall step that lowers the running total. |
2401
- | `divergingRangeDescription` (read-only) | `( title: string, minimum: string, midpoint: string, maximum: string ) => string` | The accessible name of a diverging heatmap color legend, with its minimum, midpoint and maximum. |
2402
- | `dropOff` (read-only) | `string` | The tooltip label for a funnel stage's drop-off from the previous stage. |
2403
- | `dropOffValue` (read-only) | `(value: string) => string` | A funnel stage's drop-off from the previous stage, in an announcement. |
2404
- | `falling` (read-only) | `string` | Names a falling candlestick or OHLC point, in the tooltip and in announcements. |
2405
- | `gaugeRange` (read-only) | `(minimum: string, maximum: string) => string` | A gauge's scale, in an announcement. |
2406
- | `high` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's high price. |
2407
- | `highAbbreviation` (read-only) | `string` | The short high price label in a tooltip that lists several financial series ("H" in English). |
2408
- | `increase` (read-only) | `string` | The waterfall legend's name for rising steps. |
2409
- | `increaseAnnouncement` (read-only) | `(delta: string, from: string, to: string) => string` | Announced for a waterfall step that raises the running total. |
2410
- | `itemDeselected` (read-only) | `(item: string) => string` | Announced when the keyboard deselects a point. |
2411
- | `itemFallbackName` (read-only) | `(index: number) => string` | The name of a pie, donut, rose or radial bar item without a category. |
2412
- | `itemSelected` (read-only) | `(item: string) => string` | Announced when the keyboard selects a point. |
2413
- | `keyboardHelp` (read-only) | `string` | The keyboard instructions at the end of the chart's description. |
2414
- | `labeledValue` (read-only) | `(label: string, value: string) => string` | Pairs a label with a value in an announcement, such as a series name with the point's values. |
2415
- | `labelValueSeparator` (read-only) | `string` | Separates a label from its value in the tooltip (":" in English). |
2416
- | `low` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's low price. |
2417
- | `lowAbbreviation` (read-only) | `string` | The short low price label in a tooltip that lists several financial series ("L" in English). |
2418
- | `noChange` (read-only) | `string` | The waterfall legend's name for unchanged steps. |
2419
- | `noChangeAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall step that leaves the running total unchanged. |
2420
- | `noData` (read-only) | `string` | Shown and included in the chart's description when it has no data and no `noData` template. |
2421
- | `ohlcValues` (read-only) | `(open: string, high: string, low: string, close: string) => string` | A candlestick or OHLC point's prices, in an announcement. |
2422
- | `open` (read-only) | `string` | The tooltip label for a candlestick or OHLC point's opening price. |
2423
- | `openAbbreviation` (read-only) | `string` | The short opening price label in a tooltip that lists several financial series ("O" in English). |
2424
- | `overall` (read-only) | `string` | The tooltip label for a funnel stage's conversion from the first stage. |
2425
- | `overallConversion` (read-only) | `(rate: string) => string` | A funnel stage's conversion from the first stage, in an announcement. |
2426
- | `pannedDown` (read-only) | `string` | Announced when the keyboard pans the viewport down. |
2427
- | `pannedLeft` (read-only) | `string` | Announced when the keyboard pans the viewport left. |
2428
- | `pannedRight` (read-only) | `string` | Announced when the keyboard pans the viewport right. |
2429
- | `pannedUp` (read-only) | `string` | Announced when the keyboard pans the viewport up. |
2430
- | `pathSeparator` (read-only) | `string` | Joins a treemap node's path (" / " in English). |
2431
- | `pointPosition` (read-only) | `(position: number, total: number) => string` | A point's position among the points it is navigated with, in an announcement. |
2432
- | `range` (read-only) | `string` | The tooltip label for a radial point's minimum-to-maximum range. |
2433
- | `rangeDescription` (read-only) | `( title: string, minimum: string, maximum: string ) => string` | Describes a range with its title, minimum and maximum: a range point in an announcement, or a heatmap color legend in its accessible name. |
2434
- | `rangeValue` (read-only) | `(from: string, to: string) => string` | A range value, in an announcement. |
2435
- | `rising` (read-only) | `string` | Names a rising candlestick or OHLC point, in the tooltip and in announcements. |
2436
- | `runningTotal` (read-only) | `string` | The tooltip label for a waterfall step's running total. |
2437
- | `seriesFallbackName` (read-only) | `(index: number) => string` | The name of a series without a name. |
2438
- | `seriesHidden` (read-only) | `(series: string) => string` | Announced when a legend item hides a series or item. |
2439
- | `seriesShown` (read-only) | `(series: string) => string` | Announced when a legend item shows a series or item. |
2440
- | `seriesSummary` (read-only) | `(count: number, names: string) => string` | The series of the chart, in its description. |
2441
- | `seriesValueRange` (read-only) | `(series: string, minimum: string, maximum: string) => string` | A series' lowest and highest value, in the chart's description. |
2442
- | `shareOfTotal` (read-only) | `(share: string) => string` | A treemap node's share of the whole, in an announcement. |
2443
- | `size` (read-only) | `string` | The tooltip label for a bubble's size. |
2444
- | `sizeValue` (read-only) | `(size: string) => string` | A bubble's size, in an announcement. |
2445
- | `stackShare` (read-only) | `(share: string) => string` | A point's share of its 100% stack, in an announcement. |
2446
- | `stageFallbackName` (read-only) | `(index: number) => string` | The name of a funnel stage without a category. |
2447
- | `stagePosition` (read-only) | `(position: number, total: number) => string` | A funnel stage's position among the stages, in an announcement. |
2448
- | `stepFallbackName` (read-only) | `(index: number) => string` | The name of a waterfall step without a category. |
2449
- | `stepPosition` (read-only) | `(position: number, total: number) => string` | A waterfall step's position among the steps, in an announcement. |
2450
- | `subtotal` (read-only) | `string` | The waterfall legend's name for subtotal steps. |
2451
- | `subtotalAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall subtotal step. |
2452
- | `total` (read-only) | `string` | The waterfall legend's name for total steps. |
2453
- | `totalAnnouncement` (read-only) | `(value: string) => string` | Announced for a waterfall total step. |
2454
- | `treemapGroup` (read-only) | `(count: number) => string` | A treemap group, in an announcement. |
2455
- | `treemapLeaf` (read-only) | `string` | A treemap leaf, in an announcement. |
2456
- | `unchanged` (read-only) | `string` | Names a candlestick or OHLC point that closed at its opening price, in the tooltip and in announcements. |
2457
- | `value` (read-only) | `string` | The tooltip label for a point's value. |
2458
- | `valueRange` (read-only) | `(from: string, to: string) => string` | A range value in the tooltip ("10 – 20" in English). |
2459
- | `viewportResetToDefault` (read-only) | `string` | Announced when the keyboard resets the viewport to its configured default range. |
2460
- | `viewportResetToFull` (read-only) | `string` | Announced when the keyboard resets the viewport to the full data range, when no default range is configured. |
2461
- | `visualIndicatorClamped` (read-only) | `string` | Shown and announced when a gauge value lies outside the gauge's scale and its indicator stops at the edge. |
2462
- | `zoomedIn` (read-only) | `string` | Announced when the keyboard zooms the viewport in. |
2463
- | `zoomedOut` (read-only) | `string` | Announced when the keyboard zooms the viewport out. |
2464
-
2465
- **Documented elsewhere:** [`ChartFinancialDirection`](chart-financial.md), [`ChartFunnelPointMetadata`](chart-funnel.md), [`ChartHierarchyPointMetadata`](chart-treemap.md), [`ChartLineStyle`](chart-line-area.md), [`ChartOhlcPointValue`](chart-financial.md), [`ChartWaterfallPointValue`](chart-bar.md)
606
+ | [`CHART_DEFAULT_MESSAGES`](api/chart.md#chart-default-messages) | Constant | |
607
+ | [`ChartAnimationOptions`](api/chart.md#chartanimationoptions) | Interface | |
608
+ | [`ChartAnnotationLabelTemplateContext`](api/chart.md#chartannotationlabeltemplatecontext) | Interface | |
609
+ | [`ChartAxisLabelTemplateContext`](api/chart.md#chartaxislabeltemplatecontext) | Interface | |
610
+ | [`ChartAxisTick`](api/chart.md#chartaxistick) | Interface | |
611
+ | [`ChartBrushCategoryRange`](api/chart.md#chartbrushcategoryrange) | Interface | |
612
+ | [`ChartBrushChangeEvent`](api/chart.md#chartbrushchangeevent) | Interface | |
613
+ | [`ChartBrushContinuousRange`](api/chart.md#chartbrushcontinuousrange) | Interface | |
614
+ | [`ChartCategoryViewportWindow`](api/chart.md#chartcategoryviewportwindow) | Interface | |
615
+ | [`ChartContinuousViewportWindow`](api/chart.md#chartcontinuousviewportwindow) | Interface | |
616
+ | [`ChartCrosshairAxisLabelContext`](api/chart.md#chartcrosshairaxislabelcontext) | Interface | |
617
+ | [`ChartCrosshairResolvedAxisValue`](api/chart.md#chartcrosshairresolvedaxisvalue) | Interface | |
618
+ | [`ChartCrosshairSynchronizationOptions`](api/chart.md#chartcrosshairsynchronizationoptions) | Interface | |
619
+ | [`ChartDataLabelContext`](api/chart.md#chartdatalabelcontext) | Interface | |
620
+ | [`ChartDataLabelOptions`](api/chart.md#chartdatalabeloptions) | Interface | |
621
+ | [`ChartDownsamplingOptions`](api/chart.md#chartdownsamplingoptions) | Interface | |
622
+ | [`ChartExportBaseOptions`](api/chart.md#chartexportbaseoptions) | Interface | Shared base options for all chart export formats. |
623
+ | [`ChartExportPresentationOptions`](api/chart.md#chartexportpresentationoptions) | Interface | Options controlling which interactive/presentation elements are included in the export. |
624
+ | [`ChartExportResult`](api/chart.md#chartexportresult) | Interface | Result of a chart export operation. |
625
+ | [`ChartLabelMeasurement`](api/chart.md#chartlabelmeasurement) | Interface | |
626
+ | [`ChartLegendItem`](api/chart.md#chartlegenditem) | Interface | |
627
+ | [`ChartLegendItemTemplateContext`](api/chart.md#chartlegenditemtemplatecontext) | Interface | |
628
+ | [`ChartNavigationOptions`](api/chart.md#chartnavigationoptions) | Interface | |
629
+ | [`ChartPadding`](api/chart.md#chartpadding) | Interface | |
630
+ | [`ChartPdfExportOptions`](api/chart.md#chartpdfexportoptions) | Interface | Options for exporting a chart as a PDF document. |
631
+ | [`ChartPdfMargins`](api/chart.md#chartpdfmargins) | Interface | PDF page margins in PDF points (72 points = 1 inch). |
632
+ | [`ChartPdfPageOptions`](api/chart.md#chartpdfpageoptions) | Interface | Page layout options for PDF export. |
633
+ | [`ChartPngExportOptions`](api/chart.md#chartpngexportoptions) | Interface | Options for exporting a chart as a PNG raster image. |
634
+ | [`ChartPoint`](api/chart.md#chartpoint) | Interface | |
635
+ | [`ChartPointEvent`](api/chart.md#chartpointevent) | Interface | |
636
+ | [`ChartPointFocusEvent`](api/chart.md#chartpointfocusevent) | Interface | |
637
+ | [`ChartRangePointValue`](api/chart.md#chartrangepointvalue) | Interface | |
638
+ | [`ChartRect`](api/chart.md#chartrect) | Interface | |
639
+ | [`ChartReferenceBandLabelContext`](api/chart.md#chartreferencebandlabelcontext) | Interface | |
640
+ | [`ChartReferenceLineLabelContext`](api/chart.md#chartreferencelinelabelcontext) | Interface | |
641
+ | [`ChartScalarPointValue`](api/chart.md#chartscalarpointvalue) | Interface | |
642
+ | [`ChartSelectedPoint`](api/chart.md#chartselectedpoint) | Interface | |
643
+ | [`ChartSelectionChangeEvent`](api/chart.md#chartselectionchangeevent) | Interface | |
644
+ | [`ChartSeriesStyle`](api/chart.md#chartseriesstyle) | Interface | |
645
+ | [`ChartSeriesVisibilityEvent`](api/chart.md#chartseriesvisibilityevent) | Interface | |
646
+ | [`ChartSize`](api/chart.md#chartsize) | Interface | |
647
+ | [`ChartSubtitleTemplateContext`](api/chart.md#chartsubtitletemplatecontext) | Interface | |
648
+ | [`ChartSvgExportOptions`](api/chart.md#chartsvgexportoptions) | Interface | Options for exporting a chart as a standalone SVG vector document. |
649
+ | [`ChartSynchronizationAxisMapping`](api/chart.md#chartsynchronizationaxismapping) | Interface | |
650
+ | [`ChartSynchronizationOptions`](api/chart.md#chartsynchronizationoptions) | Interface | |
651
+ | [`ChartTitleTemplateContext`](api/chart.md#charttitletemplatecontext) | Interface | |
652
+ | [`ChartTooltipPointContext`](api/chart.md#charttooltippointcontext) | Interface | |
653
+ | [`ChartTooltipTemplateContext`](api/chart.md#charttooltiptemplatecontext) | Interface | |
654
+ | [`ChartViewportAxisRef`](api/chart.md#chartviewportaxisref) | Interface | |
655
+ | [`ChartViewportChangeEvent`](api/chart.md#chartviewportchangeevent) | Interface | |
656
+ | [`ChartViewportConstraint`](api/chart.md#chartviewportconstraint) | Interface | |
657
+ | [`ChartViewportLinkGroup`](api/chart.md#chartviewportlinkgroup) | Interface | |
658
+ | [`ChartViewportState`](api/chart.md#chartviewportstate) | Interface | |
659
+ | [`ChartViewportSynchronizationOptions`](api/chart.md#chartviewportsynchronizationoptions) | Interface | |
660
+ | [`ChartAnimationEasing`](api/chart.md#chartanimationeasing) | Type alias | |
661
+ | [`ChartAnimationInput`](api/chart.md#chartanimationinput) | Type alias | |
662
+ | [`ChartAnnotationAxisValue`](api/chart.md#chartannotationaxisvalue) | Type alias | |
663
+ | [`ChartAnnotationLabelPlacement`](api/chart.md#chartannotationlabelplacement) | Type alias | |
664
+ | [`ChartAnnotationMarker`](api/chart.md#chartannotationmarker) | Type alias | |
665
+ | [`ChartAxisFormatter`](api/chart.md#chartaxisformatter) | Type alias | |
666
+ | [`ChartAxisLabelRotation`](api/chart.md#chartaxislabelrotation) | Type alias | |
667
+ | [`ChartAxisPosition`](api/chart.md#chartaxisposition) | Type alias | |
668
+ | [`ChartBrushActivation`](api/chart.md#chartbrushactivation) | Type alias | |
669
+ | [`ChartBrushAxisRange`](api/chart.md#chartbrushaxisrange) | Type alias | |
670
+ | [`ChartBrushCancelReason`](api/chart.md#chartbrushcancelreason) | Type alias | |
671
+ | [`ChartBrushHitPolicy`](api/chart.md#chartbrushhitpolicy) | Type alias | |
672
+ | [`ChartBrushLineStyle`](api/chart.md#chartbrushlinestyle) | Type alias | |
673
+ | [`ChartBrushMode`](api/chart.md#chartbrushmode) | Type alias | |
674
+ | [`ChartBrushPhase`](api/chart.md#chartbrushphase) | Type alias | |
675
+ | [`ChartBrushSelectionBehavior`](api/chart.md#chartbrushselectionbehavior) | Type alias | |
676
+ | [`ChartCoordinateSystem`](api/chart.md#chartcoordinatesystem) | Type alias | |
677
+ | [`ChartCrosshairLineStyle`](api/chart.md#chartcrosshairlinestyle) | Type alias | |
678
+ | [`ChartCrosshairMode`](api/chart.md#chartcrosshairmode) | Type alias | |
679
+ | [`ChartCrosshairSnapMode`](api/chart.md#chartcrosshairsnapmode) | Type alias | |
680
+ | [`ChartDataLabelFormatter`](api/chart.md#chartdatalabelformatter) | Type alias | |
681
+ | [`ChartDataLabelPosition`](api/chart.md#chartdatalabelposition) | Type alias | |
682
+ | [`ChartDataLabelsInput`](api/chart.md#chartdatalabelsinput) | Type alias | |
683
+ | [`ChartDownloadOptions`](api/chart.md#chartdownloadoptions) | Type alias | Options for downloading a chart export. |
684
+ | [`ChartDownsamplingAlgorithm`](api/chart.md#chartdownsamplingalgorithm) | Type alias | |
685
+ | [`ChartDownsamplingInput`](api/chart.md#chartdownsamplinginput) | Type alias | |
686
+ | [`ChartExportBackground`](api/chart.md#chartexportbackground) | Type alias | Chart export background policy. - "auto": Resolves the effective chart background color from the chart container/theme. - "transparent": Creates a transparent background. - CSS color string: Uses an explicit background color. |
687
+ | [`ChartExportErrorCode`](api/chart.md#chartexporterrorcode) | Type alias | Error code identifying the cause of a chart export failure. |
688
+ | [`ChartExportFormat`](api/chart.md#chartexportformat) | Type alias | Supported chart export formats. |
689
+ | [`ChartExportOptions`](api/chart.md#chartexportoptions) | Type alias | Discriminated union of chart export options. |
690
+ | [`ChartField`](api/chart.md#chartfield) | Type alias | |
691
+ | [`ChartHeaderAlignment`](api/chart.md#chartheaderalignment) | Type alias | How the title and subtitle align: `start` and `end` follow the direction, `left` and `right` don't. |
692
+ | [`ChartItemKey`](api/chart.md#chartitemkey) | Type alias | A value that can identify a chart item: a `keyField` value or a category. |
693
+ | [`ChartLegendItemKind`](api/chart.md#chartlegenditemkind) | Type alias | |
694
+ | [`ChartLegendMode`](api/chart.md#chartlegendmode) | Type alias | |
695
+ | [`ChartLegendPosition`](api/chart.md#chartlegendposition) | Type alias | Where a legend goes: `start` and `end` follow the direction, `left` and `right` don't. |
696
+ | [`ChartNavigationAxisTarget`](api/chart.md#chartnavigationaxistarget) | Type alias | |
697
+ | [`ChartNavigationInput`](api/chart.md#chartnavigationinput) | Type alias | |
698
+ | [`ChartNumericScaleType`](api/chart.md#chartnumericscaletype) | Type alias | |
699
+ | [`ChartOverlayLayer`](api/chart.md#chartoverlaylayer) | Type alias | |
700
+ | [`ChartPdfPageSize`](api/chart.md#chartpdfpagesize) | Type alias | Standard or custom PDF page size. - "chart": Custom page dimensions sized to exactly match the chart dimensions in PDF points. - "a4": Standard ISO A4 page (595.28 x 841.89 pt). - "letter": Standard North American Letter page (612 x 792 pt). - Custom object: Explicit width and height in PDF points (72 points = 1 inch). |
701
+ | [`ChartPdfRenderMode`](api/chart.md#chartpdfrendermode) | Type alias | PDF generation rendering mode. - "auto": Prefers vector output, falling back to embedded high-resolution raster image when vector fidelity cannot be guaranteed. - "vector": Requires strict vector conversion; rejects if vector conversion is unsupported. - "raster": Directly renders a rasterized chart image onto the PDF page. |
702
+ | [`ChartPointValue`](api/chart.md#chartpointvalue) | Type alias | |
703
+ | [`ChartPointValueKind`](api/chart.md#chartpointvaluekind) | Type alias | |
704
+ | [`ChartReferenceLabelPosition`](api/chart.md#chartreferencelabelposition) | Type alias | |
705
+ | [`ChartReferenceLabelTemplateContext`](api/chart.md#chartreferencelabeltemplatecontext) | Type alias | |
706
+ | [`ChartReferenceLineStyle`](api/chart.md#chartreferencelinestyle) | Type alias | |
707
+ | [`ChartRendererMode`](api/chart.md#chartrenderermode) | Type alias | |
708
+ | [`ChartSelectionChangeSource`](api/chart.md#chartselectionchangesource) | Type alias | |
709
+ | [`ChartSelectionMode`](api/chart.md#chartselectionmode) | Type alias | |
710
+ | [`ChartSeriesFamily`](api/chart.md#chartseriesfamily) | Type alias | |
711
+ | [`ChartSeriesType`](api/chart.md#chartseriestype) | Type alias | |
712
+ | [`ChartStackMode`](api/chart.md#chartstackmode) | Type alias | |
713
+ | [`ChartSynchronizationInput`](api/chart.md#chartsynchronizationinput) | Type alias | |
714
+ | [`ChartSynchronizationMode`](api/chart.md#chartsynchronizationmode) | Type alias | |
715
+ | [`ChartValueAccessor`](api/chart.md#chartvalueaccessor) | Type alias | |
716
+ | [`ChartValueFormatter`](api/chart.md#chartvalueformatter) | Type alias | |
717
+ | [`ChartViewportChangePhase`](api/chart.md#chartviewportchangephase) | Type alias | |
718
+ | [`ChartViewportChangeSource`](api/chart.md#chartviewportchangesource) | Type alias | |
719
+ | [`ChartViewportLinkMode`](api/chart.md#chartviewportlinkmode) | Type alias | |
720
+ | [`ChartViewportWindow`](api/chart.md#chartviewportwindow) | Type alias | |
721
+ | [`ChartXAxisPosition`](api/chart.md#chartxaxisposition) | Type alias | |
722
+ | [`ChartXAxisType`](api/chart.md#chartxaxistype) | Type alias | |
723
+ | [`ChartYAxisPosition`](api/chart.md#chartyaxisposition) | Type alias | Where a Y axis goes: `start` and `end` follow the direction, `left` and `right` don't. |
724
+ | [`ChartYAxisSide`](api/chart.md#chartyaxisside) | Type alias | The physical side a Y axis is drawn on. |
725
+ | [`ChartYAxisType`](api/chart.md#chartyaxistype) | Type alias | |
726
+
727
+ **Related types:** [`ChartFinancialDirection`](api/chart.md#chartfinancialdirection), [`ChartFunnelPointMetadata`](api/chart.md#chartfunnelpointmetadata), [`ChartHierarchyPointMetadata`](api/chart.md#charthierarchypointmetadata), [`ChartLineStyle`](api/chart.md#chartlinestyle), [`ChartOhlcPointValue`](api/chart.md#chartohlcpointvalue), [`ChartWaterfallPointValue`](api/chart.md#chartwaterfallpointvalue), [`MonaChartMessages`](api/i18n.md#monachartmessages)