@nanahoshi/mona-ui 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/api/auto-complete.md +67 -0
- package/docs/api/avatar.md +31 -0
- package/docs/api/breadcrumb.md +74 -0
- package/docs/api/button-group.md +71 -0
- package/docs/api/button.md +84 -0
- package/docs/api/calendar.md +123 -0
- package/docs/api/card.md +97 -0
- package/docs/api/chart.md +4380 -0
- package/docs/api/check-box.md +70 -0
- package/docs/api/chip.md +55 -0
- package/docs/api/circular-progress-bar.md +71 -0
- package/docs/api/collapsible.md +71 -0
- package/docs/api/color-gradient.md +54 -0
- package/docs/api/color-palette.md +52 -0
- package/docs/api/color-picker.md +89 -0
- package/docs/api/combo-box.md +69 -0
- package/docs/api/command.md +282 -0
- package/docs/api/common.md +599 -0
- package/docs/api/contextmenu.md +239 -0
- package/docs/api/date-input.md +119 -0
- package/docs/api/date-picker.md +67 -0
- package/docs/api/datetime-picker.md +72 -0
- package/docs/api/dialog.md +291 -0
- package/docs/api/dropdown-button.md +248 -0
- package/docs/api/dropdown-list.md +72 -0
- package/docs/api/dropdowns.md +172 -0
- package/docs/api/editor.md +117 -0
- package/docs/api/expansion-panel.md +85 -0
- package/docs/api/fieldset.md +33 -0
- package/docs/api/filter.md +116 -0
- package/docs/api/grid.md +1445 -0
- package/docs/api/i18n.md +1699 -0
- package/docs/api/label.md +58 -0
- package/docs/api/list-box.md +301 -0
- package/docs/api/list-view.md +294 -0
- package/docs/api/list.md +119 -0
- package/docs/api/locales.md +134 -0
- package/docs/api/menubar.md +275 -0
- package/docs/api/multi-select.md +92 -0
- package/docs/api/notification.md +164 -0
- package/docs/api/numeric-text-box.md +130 -0
- package/docs/api/otp-input.md +100 -0
- package/docs/api/pager.md +371 -0
- package/docs/api/placeholder.md +18 -0
- package/docs/api/popover.md +170 -0
- package/docs/api/popup-menu.md +328 -0
- package/docs/api/popup.md +299 -0
- package/docs/api/progress-bar.md +79 -0
- package/docs/api/query.md +367 -0
- package/docs/api/radio-button.md +113 -0
- package/docs/api/rating.md +187 -0
- package/docs/api/scroll-view.md +93 -0
- package/docs/api/segmented.md +114 -0
- package/docs/api/sheet.md +65 -0
- package/docs/api/sidebar.md +583 -0
- package/docs/api/skeleton.md +26 -0
- package/docs/api/slider.md +173 -0
- package/docs/api/spinner.md +132 -0
- package/docs/api/split-button.md +261 -0
- package/docs/api/splitter.md +57 -0
- package/docs/api/stepper.md +148 -0
- package/docs/api/switch.md +78 -0
- package/docs/api/tabs.md +139 -0
- package/docs/api/text-area.md +20 -0
- package/docs/api/text-box.md +106 -0
- package/docs/api/theme.md +627 -0
- package/docs/api/time-picker.md +69 -0
- package/docs/api/time-selector.md +54 -0
- package/docs/api/tooltip.md +112 -0
- package/docs/api/tree-view.md +631 -0
- package/docs/api/window.md +245 -0
- package/docs/auto-complete.md +28 -329
- package/docs/avatar.md +4 -24
- package/docs/breadcrumb.md +10 -65
- package/docs/button-group.md +7 -60
- package/docs/button.md +8 -67
- package/docs/calendar.md +16 -121
- package/docs/card.md +16 -79
- package/docs/chart-bar.md +16 -234
- package/docs/chart-financial.md +10 -121
- package/docs/chart-funnel.md +13 -176
- package/docs/chart-heatmap.md +15 -131
- package/docs/chart-line-area.md +12 -137
- package/docs/chart-pie.md +17 -221
- package/docs/chart-radar.md +13 -129
- package/docs/chart-radial.md +13 -211
- package/docs/chart-scatter.md +6 -74
- package/docs/chart-treemap.md +14 -196
- package/docs/chart.md +154 -1892
- package/docs/checkbox.md +5 -61
- package/docs/chip.md +7 -42
- package/docs/circular-progress-bar.md +9 -61
- package/docs/collapsible.md +5 -87
- package/docs/color-gradient.md +8 -81
- package/docs/color-palette.md +7 -69
- package/docs/color-picker.md +9 -105
- package/docs/combo-box.md +28 -331
- package/docs/command.md +25 -236
- package/docs/contextmenu.md +15 -140
- package/docs/date-picker.md +7 -110
- package/docs/datetime-picker.md +7 -129
- package/docs/decimal-textbox.md +6 -69
- package/docs/dialog.md +23 -263
- package/docs/dropdown-button.md +15 -146
- package/docs/dropdown-list.md +29 -332
- package/docs/editor.md +8 -164
- package/docs/expansion-panel.md +7 -69
- package/docs/fieldset.md +5 -24
- package/docs/grid-columns.md +12 -92
- package/docs/grid-editing.md +29 -291
- package/docs/grid-grouping.md +11 -50
- package/docs/grid-rows.md +10 -74
- package/docs/grid-selection.md +7 -36
- package/docs/grid-server.md +8 -293
- package/docs/grid-sorting-filtering.md +10 -333
- package/docs/grid-state-export.md +17 -228
- package/docs/grid.md +23 -216
- package/docs/input.md +7 -19
- package/docs/label.md +8 -39
- package/docs/list-box.md +21 -253
- package/docs/list-view.md +25 -232
- package/docs/menubar.md +21 -167
- package/docs/multi-select.md +31 -350
- package/docs/notification.md +17 -116
- package/docs/numeric-textbox.md +9 -78
- package/docs/otp-input.md +9 -95
- package/docs/pager.md +19 -239
- package/docs/placeholder.md +5 -18
- package/docs/popover.md +13 -123
- package/docs/popup-menu.md +22 -243
- package/docs/popup.md +24 -248
- package/docs/progress-bar.md +10 -75
- package/docs/radio-button.md +8 -96
- package/docs/range-slider.md +9 -82
- package/docs/rating.md +15 -163
- package/docs/scroll-view.md +9 -86
- package/docs/segmented.md +8 -90
- package/docs/sheet.md +10 -74
- package/docs/sidebar-menus.md +20 -155
- package/docs/sidebar-state.md +16 -134
- package/docs/sidebar.md +18 -218
- package/docs/skeleton.md +5 -26
- package/docs/slider.md +9 -97
- package/docs/spinner.md +15 -95
- package/docs/split-button.md +21 -166
- package/docs/splitter.md +9 -56
- package/docs/stepper.md +13 -127
- package/docs/switch.md +8 -58
- package/docs/tabs.md +13 -111
- package/docs/textarea.md +4 -13
- package/docs/textbox.md +10 -77
- package/docs/time-picker.md +7 -112
- package/docs/tooltip-directive.md +12 -96
- package/docs/tooltip.md +12 -96
- package/docs/tree-view.md +42 -495
- package/docs/window.md +19 -230
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-common.mjs +3 -0
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +13 -1
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +5 -0
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +9 -0
- package/llms.txt +74 -0
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -0
- package/types/nanahoshi-mona-ui-common.d.ts +6 -0
- package/types/nanahoshi-mona-ui-date-input.d.ts +18 -1
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +6 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +12 -0
package/docs/chart-radar.md
CHANGED
|
@@ -382,137 +382,21 @@ On a polar chart, a series with values at different angles from the others is re
|
|
|
382
382
|
|
|
383
383
|
## API
|
|
384
384
|
|
|
385
|
-
Everything below is imported from `@nanahoshi/mona-ui/chart`.
|
|
386
|
-
|
|
387
|
-
### `PolarSeriesComponent`
|
|
388
|
-
|
|
389
|
-
Renders continuous polar series mapping magnitude over continuous degree angles (0° to 360°).
|
|
390
|
-
|
|
391
|
-
**Selector:** `mona-polar-series`
|
|
392
|
-
|
|
393
|
-
#### Inputs
|
|
394
|
-
|
|
395
|
-
| Name | Type | Default | Description |
|
|
396
|
-
| --- | --- | --- | --- |
|
|
397
|
-
| `angleField` | `ChartField` | `"angle"` | **Deprecated.** Use `categoryField`, as on the other series. Property key or accessor function extracting the degree angle (0° to 360°) for each data item. |
|
|
398
|
-
| `categoryField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the angle for each point. Takes precedence over `angleField`. |
|
|
399
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
400
|
-
| `color` | `string` | `""` | Explicit stroke and marker color override for the series. |
|
|
401
|
-
| `connectNulls` | `boolean` | `false` | Whether to connect points across null or invalid values without gaps. |
|
|
402
|
-
| `curve` | `ChartRadialCurve` | `"linear"` | Radial curve interpolation style (`"linear"` or `"smooth"`). |
|
|
403
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
404
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric radial distance/value for each data item. |
|
|
405
|
-
| `fillMode` | `ChartRadialFillMode` | `"none"` | Fill mode applied to the area between the data curve and the chart center pole (`"none"`, `"solid"`, or `"gradient"`). |
|
|
406
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity ratio for polar area fills (0 to 1). |
|
|
407
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
408
|
-
| `name` | `string` | `"Polar"` | Series name displayed in legends, tooltips, and accessibility regions. |
|
|
409
|
-
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers. |
|
|
410
|
-
| `showPoints` | `boolean` | `false` | Whether to draw point markers at each valid angular coordinate. |
|
|
411
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the outer data line. |
|
|
412
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values in tooltips and live region announcements. |
|
|
413
|
-
| `visible` (two-way) | `boolean` | `true` | Whether the polar series is visible on the chart. |
|
|
414
|
-
|
|
415
|
-
#### Outputs
|
|
416
|
-
|
|
417
|
-
| Name | Type | Description |
|
|
418
|
-
| --- | --- | --- |
|
|
419
|
-
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
420
|
-
|
|
421
|
-
### `RadarSeriesComponent`
|
|
422
|
-
|
|
423
|
-
Renders closed polygonal radar series comparing categorical metrics across angular spokes.
|
|
424
|
-
|
|
425
|
-
**Selector:** `mona-radar-series`
|
|
426
|
-
|
|
427
|
-
#### Inputs
|
|
428
|
-
|
|
429
|
-
| Name | Type | Default | Description |
|
|
430
|
-
| --- | --- | --- | --- |
|
|
431
|
-
| `categoryField` | `ChartField` | `"category"` | Property key or accessor function extracting the angular spoke category for each data item. |
|
|
432
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
433
|
-
| `color` | `string` | `""` | Explicit stroke and marker color override for the series. |
|
|
434
|
-
| `connectNulls` | `boolean` | `false` | Whether to connect adjacent valid category points across missing or null categories. |
|
|
435
|
-
| `curve` | `ChartRadialCurve` | `"linear"` | Radial interpolation curve (`"linear"` or `"smooth"`). |
|
|
436
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
437
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor function extracting the numeric radial value for each data item. |
|
|
438
|
-
| `fillMode` | `ChartRadialFillMode` | `"none"` | Fill mode applied to the radar polygon (`"none"`, `"solid"`, or `"gradient"`). |
|
|
439
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity ratio for polygon interior fills (0 to 1). |
|
|
440
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
441
|
-
| `name` | `string` | `"Radar"` | Series name displayed in legends, tooltips, and accessibility regions. |
|
|
442
|
-
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for point markers rendered at category vertices. |
|
|
443
|
-
| `showPoints` | `boolean` | `true` | Whether to draw point markers at each category vertex along the radar polygon. |
|
|
444
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for the outer polygon boundary. |
|
|
445
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Custom formatter function for numeric values in tooltips and live region announcements. |
|
|
446
|
-
| `visible` (two-way) | `boolean` | `true` | Whether the radar series is visible on the chart. |
|
|
447
|
-
|
|
448
|
-
#### Outputs
|
|
449
|
-
|
|
450
|
-
| Name | Type | Description |
|
|
451
|
-
| --- | --- | --- |
|
|
452
|
-
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
453
|
-
|
|
454
|
-
### `ChartRadialAxisComponent`
|
|
455
|
-
|
|
456
|
-
Configures the radial numeric dimension (distance from pole) in Polar Axis charts.
|
|
457
|
-
|
|
458
|
-
**Selector:** `mona-chart-radial-axis`
|
|
459
|
-
|
|
460
|
-
#### Inputs
|
|
385
|
+
Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
|
|
461
386
|
|
|
462
|
-
| Name |
|
|
463
|
-
| --- | --- | --- |
|
|
464
|
-
| `
|
|
465
|
-
| `
|
|
466
|
-
| `
|
|
467
|
-
| `
|
|
468
|
-
| `gridShape` | `ChartRadialGridShape` | `"auto"` | Geometry of radial grid lines (`"auto"`, `"circle"`, or `"polygon"`). |
|
|
469
|
-
| `labelAngle` | `number` | `0` | Angle in degrees at which radial tick labels are positioned (0 = 12 o'clock). |
|
|
470
|
-
| `labelOffset` | `number` | `6` | Pixel offset between radial tick markers and their labels. |
|
|
471
|
-
| `labels` | `boolean` | `true` | Whether radial tick numeric labels are rendered. |
|
|
472
|
-
| `max` | `number \| undefined` | `undefined` | Explicit upper bound for the radial scale range. |
|
|
473
|
-
| `min` | `number \| undefined` | `undefined` | Explicit lower bound for the radial scale range. |
|
|
474
|
-
| `nice` | `boolean` | `true` | Automatically extends the radial domain to round, pleasant intervals. |
|
|
475
|
-
| `tickCount` | `number \| undefined` | `5` | Suggested number of concentric radial intervals. |
|
|
476
|
-
| `visible` | `boolean` | `true` | Whether the radial axis, grid rings, and tick labels are visible. |
|
|
477
|
-
|
|
478
|
-
### `ChartAngularAxisComponent`
|
|
479
|
-
|
|
480
|
-
Configures the angular dimension (spokes and continuous degrees) in Polar Axis charts.
|
|
481
|
-
|
|
482
|
-
**Selector:** `mona-chart-angular-axis`
|
|
483
|
-
|
|
484
|
-
#### Inputs
|
|
485
|
-
|
|
486
|
-
| Name | Type | Default | Description |
|
|
487
|
-
| --- | --- | --- | --- |
|
|
488
|
-
| `axisLine` | `boolean` | `true` | Whether the outer circular or polygonal baseline axis boundary line is rendered. |
|
|
489
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the axis host element. |
|
|
490
|
-
| `formatter` | `ChartAxisFormatter \| undefined` | `undefined` | Custom formatter function for angular tick and spoke labels. |
|
|
491
|
-
| `gridLines` | `boolean` | `true` | Whether radial angular spokes connecting the pole to outer categories/ticks are visible. |
|
|
492
|
-
| `labelOffset` | `number` | `10` | Radial offset in pixels between the outer chart boundary and the angular labels. |
|
|
493
|
-
| `labels` | `boolean` | `true` | Whether angular category or degree labels are rendered. |
|
|
494
|
-
| `rotation` | `number` | `0` | Angular rotation offset in degrees applied clockwise to all spoke positions. |
|
|
495
|
-
| `tickCount` | `number \| undefined` | `undefined` | Suggested number of degree ticks for polar charts (defaults to 12). Radar tick count is derived from categories. |
|
|
496
|
-
| `visible` | `boolean` | `true` | Whether the angular axis, spokes, and labels are visible. |
|
|
387
|
+
| Name | Kind | Description |
|
|
388
|
+
| --- | --- | --- |
|
|
389
|
+
| [`PolarSeriesComponent`](api/chart.md#polarseriescomponent) | Component | Renders continuous polar series mapping magnitude over continuous degree angles (0° to 360°). |
|
|
390
|
+
| [`RadarSeriesComponent`](api/chart.md#radarseriescomponent) | Component | Renders closed polygonal radar series comparing categorical metrics across angular spokes. |
|
|
391
|
+
| [`ChartRadialAxisComponent`](api/chart.md#chartradialaxiscomponent) | Component | Configures the radial numeric dimension (distance from pole) in Polar Axis charts. |
|
|
392
|
+
| [`ChartAngularAxisComponent`](api/chart.md#chartangularaxiscomponent) | Component | Configures the angular dimension (spokes and continuous degrees) in Polar Axis charts. |
|
|
497
393
|
|
|
498
394
|
### Types
|
|
499
395
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
#### `ChartRadialFillMode`
|
|
507
|
-
|
|
508
|
-
```typescript
|
|
509
|
-
type ChartRadialFillMode = "gradient" | "none" | "solid";
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
#### `ChartRadialGridShape`
|
|
513
|
-
|
|
514
|
-
```typescript
|
|
515
|
-
type ChartRadialGridShape = "auto" | "circle" | "polygon";
|
|
516
|
-
```
|
|
396
|
+
| Type | Kind |
|
|
397
|
+
| --- | --- |
|
|
398
|
+
| [`ChartRadialCurve`](api/chart.md#chartradialcurve) | Type alias |
|
|
399
|
+
| [`ChartRadialFillMode`](api/chart.md#chartradialfillmode) | Type alias |
|
|
400
|
+
| [`ChartRadialGridShape`](api/chart.md#chartradialgridshape) | Type alias |
|
|
517
401
|
|
|
518
|
-
**
|
|
402
|
+
**Related types:** [`ChartAxisFormatter`](api/chart.md#chartaxisformatter), [`ChartField`](api/chart.md#chartfield), [`ChartValueFormatter`](api/chart.md#chartvalueformatter)
|
package/docs/chart-radial.md
CHANGED
|
@@ -438,221 +438,23 @@ Hidden items are skipped, and a gauge has a single point. The rest of the keys,
|
|
|
438
438
|
|
|
439
439
|
## API
|
|
440
440
|
|
|
441
|
-
Everything below is imported from `@nanahoshi/mona-ui/chart`.
|
|
442
|
-
|
|
443
|
-
### `RadialBarSeriesComponent`
|
|
444
|
-
|
|
445
|
-
Renders concentric circular progress rings with customizable bar gap, thickness, rounded corners, and background
|
|
446
|
-
tracks.
|
|
447
|
-
|
|
448
|
-
**Selector:** `mona-radial-bar-series`
|
|
449
|
-
|
|
450
|
-
#### Inputs
|
|
451
|
-
|
|
452
|
-
| Name | Type | Default | Description |
|
|
453
|
-
| --- | --- | --- | --- |
|
|
454
|
-
| `barGap` | `number` | `4` | Spacing in pixels between concentric radial rings. |
|
|
455
|
-
| `barThickness` | `number \| undefined` | `undefined` | Explicit radial thickness in pixels for each bar ring. |
|
|
456
|
-
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each radial ring. |
|
|
457
|
-
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for ring category labels. |
|
|
458
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
459
|
-
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each radial ring. |
|
|
460
|
-
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive radial rings. |
|
|
461
|
-
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to arc endpoints. |
|
|
462
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
463
|
-
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
464
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric value for each radial ring. |
|
|
465
|
-
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to radial rings ("solid" or radial "gradient"). |
|
|
466
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of bar fills (between 0 and 1). |
|
|
467
|
-
| `hiddenItemIds` (two-way) | `readonly string[]` | `[]` | The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`. |
|
|
468
|
-
| `innerRadiusRatio` | `number` | `0.2` | Inner radius ratio relative to available plot bounds (0 to 1). |
|
|
469
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
470
|
-
| `max` | `number \| undefined` | `undefined` | Explicit maximum value for the radial bar progress scale. |
|
|
471
|
-
| `min` | `number \| undefined` | `undefined` | Explicit minimum value for the radial bar progress scale. |
|
|
472
|
-
| `name` | `string` | `"Radial Bar"` | Series name used in tooltips and accessibility announcements. |
|
|
473
|
-
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
474
|
-
| `showTrack` | `boolean` | `true` | Whether to display background circular track rings. |
|
|
475
|
-
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
476
|
-
| `strokeColor` | `string` | `""` | Color of bar stroke boundary. |
|
|
477
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for bar boundaries. |
|
|
478
|
-
| `trackColor` | `string` | `""` | Color of background track rings. |
|
|
479
|
-
| `trackOpacity` | `number \| undefined` | `undefined` | Opacity of background track rings. |
|
|
480
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for bar numeric values. |
|
|
481
|
-
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
482
|
-
|
|
483
|
-
#### Outputs
|
|
484
|
-
|
|
485
|
-
| Name | Type | Description |
|
|
486
|
-
| --- | --- | --- |
|
|
487
|
-
| `datumVisibilityChange` | `ChartRadialDatumVisibilityEvent` | Emits when an individual ring's visibility is toggled via the legend. |
|
|
488
|
-
| `hiddenItemIdsChange` | `readonly string[]` | Emitted when `hiddenItemIds` changes. |
|
|
489
|
-
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
490
|
-
|
|
491
|
-
#### Methods
|
|
441
|
+
Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
|
|
492
442
|
|
|
493
|
-
|
|
|
494
|
-
| --- | --- |
|
|
495
|
-
| `toggleDatum(itemId: string): boolean` | Shows or hides the bar with this id, and returns whether it's now visible. |
|
|
496
|
-
|
|
497
|
-
### `GaugeSeriesComponent`
|
|
498
|
-
|
|
499
|
-
Renders circular or semi-circular gauge meters with value progress arcs, tapered needles, central hubs, and centered
|
|
500
|
-
value projection.
|
|
501
|
-
|
|
502
|
-
**Selector:** `mona-gauge-series`
|
|
503
|
-
|
|
504
|
-
#### Inputs
|
|
505
|
-
|
|
506
|
-
| Name | Type | Default | Description |
|
|
507
|
-
| --- | --- | --- | --- |
|
|
508
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
509
|
-
| `color` | `string` | `""` | Primary color of the gauge value arc. |
|
|
510
|
-
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to gauge arc endpoints. |
|
|
511
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
512
|
-
| `endAngle` | `number` | `120` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
513
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric gauge value when direct value is not set. |
|
|
514
|
-
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to gauge value arc ("solid" or radial "gradient"). |
|
|
515
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of gauge value arc fill (between 0 and 1). |
|
|
516
|
-
| `hubRadius` | `number` | `5` | Radius in pixels of the needle center hub circle. |
|
|
517
|
-
| `indicator` | `ChartGaugeIndicator` | `"arc"` | Indicator mode: "arc" (progress arc), "needle" (pointer needle), or "both". |
|
|
518
|
-
| `innerRadiusRatio` | `number` | `0.72` | Inner radius ratio relative to outer radius (0 to 1). |
|
|
519
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
520
|
-
| `max` | `number` | `100` | Maximum domain value. |
|
|
521
|
-
| `min` | `number` | `0` | Minimum domain value. |
|
|
522
|
-
| `name` | `string` | `"Gauge"` | Series name used in tooltips and accessibility announcements. |
|
|
523
|
-
| `needleColor` | `string` | `""` | Color of the needle and center hub. |
|
|
524
|
-
| `needleLengthRatio` | `number` | `0.78` | Length of the needle pointer as a fraction of outer radius (0.1 to 1). |
|
|
525
|
-
| `needleWidth` | `number` | `2` | Stroke width in pixels for the needle pointer. |
|
|
526
|
-
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
527
|
-
| `showValue` | `boolean` | `true` | Whether to display the formatted value in the center of the gauge. |
|
|
528
|
-
| `startAngle` | `number` | `-120` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
529
|
-
| `trackColor` | `string` | `""` | Color of background track arc. |
|
|
530
|
-
| `trackOpacity` | `number \| undefined` | `undefined` | Opacity of background track arc. |
|
|
531
|
-
| `value` | `number \| undefined` | `undefined` | Direct scalar value for the gauge. When defined, takes precedence over data/field. |
|
|
532
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for gauge numeric values. |
|
|
533
|
-
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
534
|
-
|
|
535
|
-
#### Outputs
|
|
536
|
-
|
|
537
|
-
| Name | Type | Description |
|
|
538
|
-
| --- | --- | --- |
|
|
539
|
-
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
540
|
-
|
|
541
|
-
### `RoseSeriesComponent`
|
|
542
|
-
|
|
543
|
-
Renders Nightingale rose (coxcomb) charts with angular category petals whose radial extent scales by area or radius.
|
|
544
|
-
|
|
545
|
-
**Selector:** `mona-rose-series`
|
|
546
|
-
|
|
547
|
-
#### Inputs
|
|
548
|
-
|
|
549
|
-
| Name | Type | Default | Description |
|
|
550
|
-
| --- | --- | --- | --- |
|
|
551
|
-
| `categoryField` | `ChartField` | `"category"` | Property key or accessor extracting the category label for each rose petal. |
|
|
552
|
-
| `categoryFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for category labels. |
|
|
553
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series. |
|
|
554
|
-
| `colorField` | `ChartField \| undefined` | `undefined` | Accessor function or property key extracting an explicit color for each petal. |
|
|
555
|
-
| `colors` | `readonly string[] \| undefined` | `undefined` | Explicit array of colors used to fill successive rose petals. |
|
|
556
|
-
| `cornerRadius` | `number \| undefined` | `undefined` | Corner radius in pixels applied to outer petal corners. |
|
|
557
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding root chart data. |
|
|
558
|
-
| `endAngle` | `number` | `360` | Ending angle in degrees (clockwise from 12 o'clock). |
|
|
559
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the numeric petal value. |
|
|
560
|
-
| `fillMode` | `ChartRadialArcFillMode` | `"solid"` | Fill style applied to rose petals ("solid" or radial "gradient"). |
|
|
561
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Opacity of petal fills (between 0 and 1). |
|
|
562
|
-
| `hiddenItemIds` (two-way) | `readonly string[]` | `[]` | The hidden item IDs. Bind `[(hiddenItemIds)]` for two-way binding; legend toggles write to it. Build an ID with `chartItemKeyId(key)` when `keyField` is set, or else with `chartItemCategoryId(category)`. |
|
|
563
|
-
| `innerRadiusRatio` | `number` | `0` | Inner radius ratio relative to available plot bounds (0 to 1). |
|
|
564
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
565
|
-
| `name` | `string` | `"Rose"` | Series name used in tooltips and accessibility announcements. |
|
|
566
|
-
| `outerRadiusRatio` | `number` | `0.9` | Outer radius ratio relative to available plot bounds (0.1 to 1). |
|
|
567
|
-
| `padAngle` | `number` | `2` | Angular padding in degrees between adjacent rose petals. |
|
|
568
|
-
| `scaleMode` | `ChartRoseScaleMode` | `"area"` | Scale mode for petal radius: "area" (annular area proportional to value) or "radius" (linear radial distance). |
|
|
569
|
-
| `startAngle` | `number` | `0` | Starting angle in degrees (0 is 12 o'clock, clockwise). |
|
|
570
|
-
| `strokeColor` | `string` | `""` | Color of petal separator strokes. |
|
|
571
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for petal boundaries. |
|
|
572
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formatter callback for petal numeric values. |
|
|
573
|
-
| `visible` (two-way) | `boolean` | `true` | Two-way bindable visibility of the series. |
|
|
574
|
-
|
|
575
|
-
#### Outputs
|
|
576
|
-
|
|
577
|
-
| Name | Type | Description |
|
|
443
|
+
| Name | Kind | Description |
|
|
578
444
|
| --- | --- | --- |
|
|
579
|
-
| `
|
|
580
|
-
| `
|
|
581
|
-
| `
|
|
582
|
-
|
|
583
|
-
#### Methods
|
|
584
|
-
|
|
585
|
-
| Signature | Description |
|
|
586
|
-
| --- | --- |
|
|
587
|
-
| `toggleDatum(itemId: string): boolean` | Shows or hides the petal with this id, and returns whether it's now visible. |
|
|
588
|
-
|
|
589
|
-
### `ChartGaugeCenterTemplateDirective`
|
|
590
|
-
|
|
591
|
-
**Selector:** `ng-template[monaChartGaugeCenterTemplate]`
|
|
592
|
-
|
|
593
|
-
#### Template context
|
|
594
|
-
|
|
595
|
-
| Name | Type |
|
|
596
|
-
| --- | --- |
|
|
597
|
-
| `$implicit` | `number` |
|
|
598
|
-
| `formattedMax` | `string` |
|
|
599
|
-
| `formattedMin` | `string` |
|
|
600
|
-
| `formattedValue` | `string` |
|
|
601
|
-
| `isClamped` | `boolean` |
|
|
602
|
-
| `max` | `number` |
|
|
603
|
-
| `min` | `number` |
|
|
604
|
-
| `ratio` | `number` |
|
|
605
|
-
| `seriesId` | `string` |
|
|
606
|
-
| `seriesName` | `string` |
|
|
607
|
-
| `value` | `number` |
|
|
445
|
+
| [`RadialBarSeriesComponent`](api/chart.md#radialbarseriescomponent) | Component | Renders concentric circular progress rings with customizable bar gap, thickness, rounded corners, and background tracks. |
|
|
446
|
+
| [`GaugeSeriesComponent`](api/chart.md#gaugeseriescomponent) | Component | Renders circular or semi-circular gauge meters with value progress arcs, tapered needles, central hubs, and centered value projection. |
|
|
447
|
+
| [`RoseSeriesComponent`](api/chart.md#roseseriescomponent) | Component | Renders Nightingale rose (coxcomb) charts with angular category petals whose radial extent scales by area or radius. |
|
|
448
|
+
| [`ChartGaugeCenterTemplateDirective`](api/chart.md#chartgaugecentertemplatedirective) | Directive | |
|
|
608
449
|
|
|
609
450
|
### Types
|
|
610
451
|
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
| Name | Type |
|
|
452
|
+
| Type | Kind |
|
|
614
453
|
| --- | --- |
|
|
615
|
-
|
|
|
616
|
-
| `
|
|
617
|
-
| `
|
|
618
|
-
| `
|
|
619
|
-
| `
|
|
620
|
-
| `max` (read-only) | `number` |
|
|
621
|
-
| `min` (read-only) | `number` |
|
|
622
|
-
| `ratio` (read-only) | `number` |
|
|
623
|
-
| `seriesId` (read-only) | `string` |
|
|
624
|
-
| `seriesName` (read-only) | `string` |
|
|
625
|
-
| `value` (read-only) | `number` |
|
|
626
|
-
|
|
627
|
-
#### `ChartRadialDatumVisibilityEvent`
|
|
628
|
-
|
|
629
|
-
| Name | Type |
|
|
630
|
-
| --- | --- |
|
|
631
|
-
| `category` (read-only) | `unknown` |
|
|
632
|
-
| `dataIndex` (read-only) | `number` |
|
|
633
|
-
| `datum` (read-only) | `unknown` |
|
|
634
|
-
| `itemId` (read-only) | `string` |
|
|
635
|
-
| `seriesId` (read-only) | `string` |
|
|
636
|
-
| `seriesName` (read-only) | `string` |
|
|
637
|
-
| `seriesType` (read-only) | `"radialBar" \| "rose"` |
|
|
638
|
-
| `visible` (read-only) | `boolean` |
|
|
639
|
-
|
|
640
|
-
#### `ChartGaugeIndicator`
|
|
641
|
-
|
|
642
|
-
```typescript
|
|
643
|
-
type ChartGaugeIndicator = "arc" | "both" | "needle";
|
|
644
|
-
```
|
|
645
|
-
|
|
646
|
-
#### `ChartRadialArcFillMode`
|
|
647
|
-
|
|
648
|
-
```typescript
|
|
649
|
-
type ChartRadialArcFillMode = "gradient" | "solid";
|
|
650
|
-
```
|
|
651
|
-
|
|
652
|
-
#### `ChartRoseScaleMode`
|
|
653
|
-
|
|
654
|
-
```typescript
|
|
655
|
-
type ChartRoseScaleMode = "area" | "radius";
|
|
656
|
-
```
|
|
454
|
+
| [`ChartGaugeCenterTemplateContext`](api/chart.md#chartgaugecentertemplatecontext) | Interface |
|
|
455
|
+
| [`ChartRadialDatumVisibilityEvent`](api/chart.md#chartradialdatumvisibilityevent) | Interface |
|
|
456
|
+
| [`ChartGaugeIndicator`](api/chart.md#chartgaugeindicator) | Type alias |
|
|
457
|
+
| [`ChartRadialArcFillMode`](api/chart.md#chartradialarcfillmode) | Type alias |
|
|
458
|
+
| [`ChartRoseScaleMode`](api/chart.md#chartrosescalemode) | Type alias |
|
|
657
459
|
|
|
658
|
-
**
|
|
460
|
+
**Related types:** [`ChartField`](api/chart.md#chartfield), [`ChartValueFormatter`](api/chart.md#chartvalueformatter)
|
package/docs/chart-scatter.md
CHANGED
|
@@ -399,81 +399,13 @@ Only the markers drawn in the plot can be focused, so zoom in to reach markers a
|
|
|
399
399
|
|
|
400
400
|
## API
|
|
401
401
|
|
|
402
|
-
Everything below is imported from `@nanahoshi/mona-ui/chart`.
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
Renders 3-dimensional data points with position (X, Y) and proportionally-scaled circle areas (Size).
|
|
407
|
-
|
|
408
|
-
**Selector:** `mona-bubble-series`
|
|
409
|
-
|
|
410
|
-
#### Inputs
|
|
411
|
-
|
|
412
|
-
| Name | Type | Default | Description |
|
|
413
|
-
| --- | --- | --- | --- |
|
|
414
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
415
|
-
| `color` | `string` | `""` | Explicit fill color for the bubbles. |
|
|
416
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
417
|
-
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
418
|
-
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
419
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the Y value for each data item. |
|
|
420
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity for bubbles between 0 and 1. |
|
|
421
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
422
|
-
| `maxRadius` | `number \| undefined` | `undefined` | Maximum rendered pixel radius for the largest data size value. When unset, the series reads `--mona-chart-bubble-max-radius`, or uses `24`. |
|
|
423
|
-
| `minRadius` | `number \| undefined` | `undefined` | Minimum rendered pixel radius for the smallest data size value. When unset, the series reads `--mona-chart-bubble-min-radius`, or uses `4`. |
|
|
424
|
-
| `name` | `string` | `"Bubble"` | Name of the series displayed in legends and tooltips. |
|
|
425
|
-
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
426
|
-
| `sizeField` | `ChartField` | `"size"` | Property key or accessor extracting the size magnitude for each bubble. |
|
|
427
|
-
| `sizeFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Optional custom formatter for displaying bubble size values in tooltips. |
|
|
428
|
-
| `strokeColor` | `string` | `""` | Stroke outline color for bubble markers. |
|
|
429
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for bubble marker outlines. |
|
|
430
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formats this series' values in tooltips, data labels and announcements, without changing the axis ticks. Takes precedence over the axis formatter. |
|
|
431
|
-
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
432
|
-
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
433
|
-
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
434
|
-
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
435
|
-
|
|
436
|
-
#### Outputs
|
|
437
|
-
|
|
438
|
-
| Name | Type | Description |
|
|
439
|
-
| --- | --- | --- |
|
|
440
|
-
| `visibleChange` | `boolean` | Emitted when `visible` changes. |
|
|
441
|
-
|
|
442
|
-
### `ScatterSeriesComponent`
|
|
443
|
-
|
|
444
|
-
Renders individual point markers across continuous numeric (linear) or temporal (time/utc) Cartesian coordinates.
|
|
445
|
-
|
|
446
|
-
**Selector:** `mona-scatter-series`
|
|
447
|
-
|
|
448
|
-
#### Inputs
|
|
449
|
-
|
|
450
|
-
| Name | Type | Default | Description |
|
|
451
|
-
| --- | --- | --- | --- |
|
|
452
|
-
| `class` | `string` | `""` | Additional CSS classes applied to the series host element. |
|
|
453
|
-
| `color` | `string` | `""` | Explicit fill color for the scatter points. |
|
|
454
|
-
| `data` | `readonly unknown[] \| undefined` | `undefined` | Series-specific dataset overriding the root chart data. |
|
|
455
|
-
| `dataLabels` | `ChartDataLabelsInput` | `false` | Data label display options or boolean flag enabling default labels. |
|
|
456
|
-
| `downsampling` | `ChartDownsamplingInput \| undefined` | `undefined` | Per-series high-density downsampling override. Undefined inherits the chart policy. |
|
|
457
|
-
| `field` | `ChartField` | `"value"` | Property key or accessor extracting the Y value for each data item. |
|
|
458
|
-
| `fillOpacity` | `number \| undefined` | `undefined` | Fill opacity for scatter points between 0 and 1. |
|
|
459
|
-
| `keyField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting a stable datum identity across updates. |
|
|
460
|
-
| `name` | `string` | `"Scatter"` | Name of the series displayed in legends and tooltips. |
|
|
461
|
-
| `pointRadius` | `number \| undefined` | `undefined` | Radius in pixels for scatter point markers. |
|
|
462
|
-
| `seriesKey` | `string \| undefined` | `undefined` | Optional stable key identifying this series for mark identity and selection across updates. |
|
|
463
|
-
| `strokeColor` | `string` | `""` | Stroke outline color for scatter point markers. |
|
|
464
|
-
| `strokeWidth` | `number \| undefined` | `undefined` | Stroke width in pixels for scatter point markers. |
|
|
465
|
-
| `valueFormatter` | `ChartValueFormatter \| undefined` | `undefined` | Formats this series' values in tooltips, data labels and announcements, without changing the axis ticks. Takes precedence over the axis formatter. |
|
|
466
|
-
| `visible` (two-way) | `boolean` | `true` | Whether the series is currently visible on the chart and in calculations. |
|
|
467
|
-
| `xAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian X axis this series binds to. When omitted, the primary X axis is used. |
|
|
468
|
-
| `xField` | `ChartField \| undefined` | `undefined` | Property key or accessor extracting the X value, overriding the root chart X field. |
|
|
469
|
-
| `yAxisId` | `string \| undefined` | `undefined` | Optional ID of the Cartesian Y axis this series binds to. When omitted, the primary Y axis is used. |
|
|
470
|
-
|
|
471
|
-
#### Outputs
|
|
472
|
-
|
|
473
|
-
| Name | Type | Description |
|
|
402
|
+
Everything below is imported from `@nanahoshi/mona-ui/chart`. Each name links to its reference page, with every input, output, property and method.
|
|
403
|
+
|
|
404
|
+
| Name | Kind | Description |
|
|
474
405
|
| --- | --- | --- |
|
|
475
|
-
| `
|
|
406
|
+
| [`BubbleSeriesComponent`](api/chart.md#bubbleseriescomponent) | Component | Renders 3-dimensional data points with position (X, Y) and proportionally-scaled circle areas (Size). |
|
|
407
|
+
| [`ScatterSeriesComponent`](api/chart.md#scatterseriescomponent) | Component | Renders individual point markers across continuous numeric (linear) or temporal (time/utc) Cartesian coordinates. |
|
|
476
408
|
|
|
477
409
|
### Types
|
|
478
410
|
|
|
479
|
-
**
|
|
411
|
+
**Related types:** [`ChartDataLabelsInput`](api/chart.md#chartdatalabelsinput), [`ChartDownsamplingInput`](api/chart.md#chartdownsamplinginput), [`ChartField`](api/chart.md#chartfield), [`ChartValueFormatter`](api/chart.md#chartvalueformatter)
|