@ojiepermana/angular-chart 22.0.27
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/README.md +249 -0
- package/fesm2022/ojiepermana-angular-chart-area.mjs +266 -0
- package/fesm2022/ojiepermana-angular-chart-area.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +674 -0
- package/fesm2022/ojiepermana-angular-chart-bar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-core.mjs +764 -0
- package/fesm2022/ojiepermana-angular-chart-core.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-line.mjs +281 -0
- package/fesm2022/ojiepermana-angular-chart-line.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +248 -0
- package/fesm2022/ojiepermana-angular-chart-pie.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +1186 -0
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +329 -0
- package/fesm2022/ojiepermana-angular-chart-radar.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +255 -0
- package/fesm2022/ojiepermana-angular-chart-radial.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +253 -0
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart.mjs +20 -0
- package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
- package/package.json +76 -0
- package/types/ojiepermana-angular-chart-area.d.ts +58 -0
- package/types/ojiepermana-angular-chart-bar.d.ts +171 -0
- package/types/ojiepermana-angular-chart-core.d.ts +369 -0
- package/types/ojiepermana-angular-chart-line.d.ts +57 -0
- package/types/ojiepermana-angular-chart-pie.d.ts +93 -0
- package/types/ojiepermana-angular-chart-primitives.d.ts +265 -0
- package/types/ojiepermana-angular-chart-radar.d.ts +89 -0
- package/types/ojiepermana-angular-chart-radial.d.ts +86 -0
- package/types/ojiepermana-angular-chart-scatter.d.ts +95 -0
- package/types/ojiepermana-angular-chart.d.ts +2 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ojiepermana/angular-chart",
|
|
3
|
+
"version": "22.0.27",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/edsis/angular.git"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://github.com/edsis/angular#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/edsis/angular/issues"
|
|
11
|
+
},
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"@angular/common": ">=22.0.0",
|
|
14
|
+
"@angular/core": ">=22.0.0",
|
|
15
|
+
"@ojiepermana/angular-component": "^22.0.27"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"d3-array": "^3.2.4",
|
|
19
|
+
"d3-scale": "^4.0.2",
|
|
20
|
+
"d3-shape": "^3.2.0",
|
|
21
|
+
"tslib": "^2.8.1"
|
|
22
|
+
},
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"module": "fesm2022/ojiepermana-angular-chart.mjs",
|
|
29
|
+
"typings": "types/ojiepermana-angular-chart.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
"./package.json": {
|
|
32
|
+
"default": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./types/ojiepermana-angular-chart.d.ts",
|
|
36
|
+
"default": "./fesm2022/ojiepermana-angular-chart.mjs"
|
|
37
|
+
},
|
|
38
|
+
"./area": {
|
|
39
|
+
"types": "./types/ojiepermana-angular-chart-area.d.ts",
|
|
40
|
+
"default": "./fesm2022/ojiepermana-angular-chart-area.mjs"
|
|
41
|
+
},
|
|
42
|
+
"./bar": {
|
|
43
|
+
"types": "./types/ojiepermana-angular-chart-bar.d.ts",
|
|
44
|
+
"default": "./fesm2022/ojiepermana-angular-chart-bar.mjs"
|
|
45
|
+
},
|
|
46
|
+
"./core": {
|
|
47
|
+
"types": "./types/ojiepermana-angular-chart-core.d.ts",
|
|
48
|
+
"default": "./fesm2022/ojiepermana-angular-chart-core.mjs"
|
|
49
|
+
},
|
|
50
|
+
"./line": {
|
|
51
|
+
"types": "./types/ojiepermana-angular-chart-line.d.ts",
|
|
52
|
+
"default": "./fesm2022/ojiepermana-angular-chart-line.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./pie": {
|
|
55
|
+
"types": "./types/ojiepermana-angular-chart-pie.d.ts",
|
|
56
|
+
"default": "./fesm2022/ojiepermana-angular-chart-pie.mjs"
|
|
57
|
+
},
|
|
58
|
+
"./primitives": {
|
|
59
|
+
"types": "./types/ojiepermana-angular-chart-primitives.d.ts",
|
|
60
|
+
"default": "./fesm2022/ojiepermana-angular-chart-primitives.mjs"
|
|
61
|
+
},
|
|
62
|
+
"./radar": {
|
|
63
|
+
"types": "./types/ojiepermana-angular-chart-radar.d.ts",
|
|
64
|
+
"default": "./fesm2022/ojiepermana-angular-chart-radar.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./radial": {
|
|
67
|
+
"types": "./types/ojiepermana-angular-chart-radial.d.ts",
|
|
68
|
+
"default": "./fesm2022/ojiepermana-angular-chart-radial.mjs"
|
|
69
|
+
},
|
|
70
|
+
"./scatter": {
|
|
71
|
+
"types": "./types/ojiepermana-angular-chart-scatter.d.ts",
|
|
72
|
+
"default": "./fesm2022/ojiepermana-angular-chart-scatter.mjs"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"type": "module"
|
|
76
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import * as _ojiepermana_angular_chart_core from '@ojiepermana/angular-chart/core';
|
|
2
|
+
import { ChartOrientation, LineCurve, ChartMargin, ChartDatum, LineSeriesPath, LinePoint } from '@ojiepermana/angular-chart/core';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
|
|
5
|
+
interface AreaPointClickEvent {
|
|
6
|
+
readonly seriesKey: string;
|
|
7
|
+
readonly datumIndex: number;
|
|
8
|
+
readonly category: string;
|
|
9
|
+
readonly value: number;
|
|
10
|
+
readonly datum: ChartDatum;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Area chart — composable within `<Chart>`.
|
|
14
|
+
*
|
|
15
|
+
* - `stacked=true` stacks series along the value axis.
|
|
16
|
+
* - `gradient=true` fills each area with a vertical linear-gradient from
|
|
17
|
+
* the series color (top) to transparent (bottom). The gradient is
|
|
18
|
+
* emitted as `<defs><linearGradient>` per series, unique per chart id.
|
|
19
|
+
*/
|
|
20
|
+
declare class AreaChart {
|
|
21
|
+
private readonly root;
|
|
22
|
+
private readonly cart;
|
|
23
|
+
private readonly viewport;
|
|
24
|
+
readonly data: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
|
|
25
|
+
readonly xKey: _angular_core.InputSignal<string>;
|
|
26
|
+
readonly orientation: _angular_core.InputSignal<ChartOrientation>;
|
|
27
|
+
readonly styles: _angular_core.InputSignal<"base">;
|
|
28
|
+
readonly stacked: _angular_core.InputSignal<boolean>;
|
|
29
|
+
readonly expanded: _angular_core.InputSignal<boolean>;
|
|
30
|
+
readonly gradient: _angular_core.InputSignal<boolean>;
|
|
31
|
+
readonly curve: _angular_core.InputSignal<LineCurve>;
|
|
32
|
+
readonly margin: _angular_core.InputSignal<ChartMargin>;
|
|
33
|
+
readonly strokeWidth: _angular_core.InputSignal<number>;
|
|
34
|
+
readonly showDots: _angular_core.InputSignal<boolean>;
|
|
35
|
+
readonly dotRadius: _angular_core.InputSignal<number>;
|
|
36
|
+
readonly pointClick: _angular_core.OutputEmitterRef<AreaPointClickEvent>;
|
|
37
|
+
protected readonly innerWidth: _angular_core.Signal<number>;
|
|
38
|
+
protected readonly innerHeight: _angular_core.Signal<number>;
|
|
39
|
+
protected readonly visibleStartIndex: _angular_core.Signal<number>;
|
|
40
|
+
protected readonly visibleData: _angular_core.Signal<readonly Readonly<Record<string, unknown>>[]>;
|
|
41
|
+
protected readonly layout: _angular_core.Signal<_ojiepermana_angular_chart_core.AreaLayoutResult>;
|
|
42
|
+
protected readonly series: _angular_core.Signal<readonly LineSeriesPath[]>;
|
|
43
|
+
protected readonly viewBox: _angular_core.Signal<string>;
|
|
44
|
+
protected readonly innerTransform: _angular_core.Signal<string>;
|
|
45
|
+
protected readonly ariaSummary: _angular_core.Signal<string>;
|
|
46
|
+
constructor();
|
|
47
|
+
protected gradientId(seriesKey: string): string;
|
|
48
|
+
protected areaFill(seriesKey: string, color: string): string;
|
|
49
|
+
protected emitClick(p: LinePoint): void;
|
|
50
|
+
protected setActivePoint(event: FocusEvent, p: LinePoint): void;
|
|
51
|
+
protected clearActivePoint(): void;
|
|
52
|
+
protected pointAriaLabel(p: LinePoint): string;
|
|
53
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AreaChart, never>;
|
|
54
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AreaChart, "ChartArea", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "xKey": { "alias": "xKey"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; "stacked": { "alias": "stacked"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "gradient": { "alias": "gradient"; "required": false; "isSignal": true; }; "curve": { "alias": "curve"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; "isSignal": true; }; "showDots": { "alias": "showDots"; "required": false; "isSignal": true; }; "dotRadius": { "alias": "dotRadius"; "required": false; "isSignal": true; }; }, { "pointClick": "pointClick"; }, never, ["svg\\:g[ChartGrid]", "svg\\:g[ChartAxisX]", "svg\\:g[ChartAxisY]", "svg\\:g[ChartCrosshair]", "svg:g[ChartBrush]", "ChartTooltip", "ChartLegend", "ChartZoomControls"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { AreaChart };
|
|
58
|
+
export type { AreaPointClickEvent };
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as _ojiepermana_angular_chart_bar from '@ojiepermana/angular-chart/bar';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { ChartDatum, ChartOrientation, ChartStyleVariant, ChartMargin } from '@ojiepermana/angular-chart/core';
|
|
4
|
+
import { scaleBand, scaleLinear } from 'd3-scale';
|
|
5
|
+
|
|
6
|
+
/** Bar-chart layout variant. */
|
|
7
|
+
type BarVariant = 'grouped' | 'stacked';
|
|
8
|
+
/** A single bar rectangle ready to render. */
|
|
9
|
+
interface BarRect {
|
|
10
|
+
readonly key: string;
|
|
11
|
+
readonly seriesKey: string;
|
|
12
|
+
readonly datumIndex: number;
|
|
13
|
+
readonly category: string;
|
|
14
|
+
readonly value: number;
|
|
15
|
+
readonly x: number;
|
|
16
|
+
readonly y: number;
|
|
17
|
+
readonly width: number;
|
|
18
|
+
readonly height: number;
|
|
19
|
+
readonly color: string;
|
|
20
|
+
readonly active: boolean;
|
|
21
|
+
}
|
|
22
|
+
/** Inputs required to compute bar-chart geometry. */
|
|
23
|
+
interface BarLayoutInput {
|
|
24
|
+
readonly data: readonly ChartDatum[];
|
|
25
|
+
readonly xKey: string;
|
|
26
|
+
readonly seriesKeys: readonly string[];
|
|
27
|
+
readonly variant: BarVariant;
|
|
28
|
+
readonly orientation: ChartOrientation;
|
|
29
|
+
readonly innerWidth: number;
|
|
30
|
+
readonly innerHeight: number;
|
|
31
|
+
readonly bandPadding: number;
|
|
32
|
+
readonly groupPadding: number;
|
|
33
|
+
readonly colorKey?: string;
|
|
34
|
+
readonly activeKey?: string;
|
|
35
|
+
readonly activeValue?: string | number;
|
|
36
|
+
}
|
|
37
|
+
/** Computed layout: bars + scales. */
|
|
38
|
+
interface BarLayoutResult {
|
|
39
|
+
readonly bars: readonly BarRect[];
|
|
40
|
+
readonly categoryScale: ReturnType<typeof scaleBand<string>>;
|
|
41
|
+
readonly valueScale: ReturnType<typeof scaleLinear<number, number>>;
|
|
42
|
+
readonly categories: readonly string[];
|
|
43
|
+
}
|
|
44
|
+
/** Build all bar rectangles for the given config. */
|
|
45
|
+
declare function computeBarLayout(input: BarLayoutInput): BarLayoutResult;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Styles supported by the bar family.
|
|
49
|
+
*
|
|
50
|
+
* - `base` — classic solid rectangles.
|
|
51
|
+
* - `dot` — dot-matrix rendering: each bar becomes a stack of small rounded
|
|
52
|
+
* cells, on top of a faint full-height cell track. Colors only reference
|
|
53
|
+
* theme CSS variables (`--color-<key>` per series, `--muted` for the track),
|
|
54
|
+
* so the style follows the active theme without touching the theme library.
|
|
55
|
+
*/
|
|
56
|
+
type BarChartStyle = ChartStyleVariant | 'dot';
|
|
57
|
+
/** A faint background cell of the dot-matrix track. */
|
|
58
|
+
interface BarDotTrackCell {
|
|
59
|
+
readonly key: string;
|
|
60
|
+
readonly x: number;
|
|
61
|
+
readonly y: number;
|
|
62
|
+
readonly width: number;
|
|
63
|
+
readonly height: number;
|
|
64
|
+
}
|
|
65
|
+
/** A filled (value) cell of the dot-matrix style. */
|
|
66
|
+
interface BarDotValueCell extends BarDotTrackCell {
|
|
67
|
+
readonly seriesKey: string;
|
|
68
|
+
readonly datumIndex: number;
|
|
69
|
+
readonly color: string;
|
|
70
|
+
readonly active: boolean;
|
|
71
|
+
}
|
|
72
|
+
/** Inputs required to compute the dot-matrix cell layout. */
|
|
73
|
+
interface BarDotLayoutInput {
|
|
74
|
+
readonly bars: readonly BarRect[];
|
|
75
|
+
readonly orientation: ChartOrientation;
|
|
76
|
+
readonly innerWidth: number;
|
|
77
|
+
readonly innerHeight: number;
|
|
78
|
+
/** Pixel position of value 0 on the value axis (`valueScale(0)`). */
|
|
79
|
+
readonly baseline: number;
|
|
80
|
+
/** Cell length along the value axis. Defaults to the bar thickness (square cells). */
|
|
81
|
+
readonly dotSize?: number;
|
|
82
|
+
/** Gap between consecutive cells along the value axis. */
|
|
83
|
+
readonly dotGap: number;
|
|
84
|
+
}
|
|
85
|
+
/** Computed dot-matrix layout: faint track cells + filled value cells. */
|
|
86
|
+
interface BarDotLayoutResult {
|
|
87
|
+
readonly track: readonly BarDotTrackCell[];
|
|
88
|
+
readonly values: readonly BarDotValueCell[];
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Build the dot-matrix cells for the `dot` bar style.
|
|
92
|
+
*
|
|
93
|
+
* Cells tile a global grid anchored at the value baseline, so stacked
|
|
94
|
+
* segments snap to the same rows and never overlap. A bar fills every cell
|
|
95
|
+
* whose center lies inside its value range; bars too short to cover a center
|
|
96
|
+
* still claim the cell nearest their midpoint when it is free.
|
|
97
|
+
*/
|
|
98
|
+
declare function computeBarDotCells(input: BarDotLayoutInput): BarDotLayoutResult;
|
|
99
|
+
|
|
100
|
+
/** Event emitted when a user clicks a bar. */
|
|
101
|
+
interface BarClickEvent {
|
|
102
|
+
readonly seriesKey: string;
|
|
103
|
+
readonly datumIndex: number;
|
|
104
|
+
readonly category: string;
|
|
105
|
+
readonly value: number;
|
|
106
|
+
readonly datum: ChartDatum;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Bar chart — composable within `<Chart>`.
|
|
110
|
+
*
|
|
111
|
+
* Layout variants (via inputs):
|
|
112
|
+
* - `orientation`: `'vertical'` (default) or `'horizontal'`
|
|
113
|
+
* - `variant`: `'grouped'` (default) or `'stacked'`
|
|
114
|
+
* - `styles`: `'base'` (default) or `'dot'` (dot-matrix cells)
|
|
115
|
+
*/
|
|
116
|
+
declare class BarChart {
|
|
117
|
+
private readonly root;
|
|
118
|
+
private readonly cart;
|
|
119
|
+
readonly data: _angular_core.InputSignal<readonly Readonly<Record<string, unknown>>[]>;
|
|
120
|
+
readonly xKey: _angular_core.InputSignal<string>;
|
|
121
|
+
readonly orientation: _angular_core.InputSignal<ChartOrientation>;
|
|
122
|
+
readonly variant: _angular_core.InputSignal<BarVariant>;
|
|
123
|
+
readonly styles: _angular_core.InputSignal<BarChartStyle>;
|
|
124
|
+
readonly margin: _angular_core.InputSignal<ChartMargin>;
|
|
125
|
+
readonly bandPadding: _angular_core.InputSignal<number>;
|
|
126
|
+
readonly groupPadding: _angular_core.InputSignal<number>;
|
|
127
|
+
readonly cornerRadius: _angular_core.InputSignal<number>;
|
|
128
|
+
readonly colorKey: _angular_core.InputSignal<string | undefined>;
|
|
129
|
+
readonly activeKey: _angular_core.InputSignal<string | undefined>;
|
|
130
|
+
readonly activeValue: _angular_core.InputSignal<string | number | undefined>;
|
|
131
|
+
readonly showValueLabels: _angular_core.InputSignal<boolean>;
|
|
132
|
+
readonly valueLabelFormat: _angular_core.InputSignal<(value: number) => string>;
|
|
133
|
+
/** Cell length along the value axis for the `dot` style; defaults to the bar thickness. */
|
|
134
|
+
readonly dotSize: _angular_core.InputSignal<number | undefined>;
|
|
135
|
+
/** Gap between consecutive cells along the value axis for the `dot` style. */
|
|
136
|
+
readonly dotGap: _angular_core.InputSignal<number>;
|
|
137
|
+
/** Corner radius of each `dot` cell. */
|
|
138
|
+
readonly dotCornerRadius: _angular_core.InputSignal<number>;
|
|
139
|
+
/** Render the faint full-height cell track behind the `dot` values. */
|
|
140
|
+
readonly showDotTrack: _angular_core.InputSignal<boolean>;
|
|
141
|
+
readonly barClick: _angular_core.OutputEmitterRef<BarClickEvent>;
|
|
142
|
+
protected readonly innerWidth: _angular_core.Signal<number>;
|
|
143
|
+
protected readonly innerHeight: _angular_core.Signal<number>;
|
|
144
|
+
protected readonly layout: _angular_core.Signal<_ojiepermana_angular_chart_bar.BarLayoutResult>;
|
|
145
|
+
protected readonly bars: _angular_core.Signal<readonly BarRect[]>;
|
|
146
|
+
protected readonly dotLayout: _angular_core.Signal<BarDotLayoutResult | null>;
|
|
147
|
+
protected readonly dotTrackCells: _angular_core.Signal<readonly _ojiepermana_angular_chart_bar.BarDotTrackCell[]>;
|
|
148
|
+
protected readonly dotValueCells: _angular_core.Signal<readonly BarDotValueCell[]>;
|
|
149
|
+
protected readonly viewBox: _angular_core.Signal<string>;
|
|
150
|
+
protected readonly innerTransform: _angular_core.Signal<string>;
|
|
151
|
+
protected readonly ariaSummary: _angular_core.Signal<string>;
|
|
152
|
+
constructor();
|
|
153
|
+
protected emitClick(bar: BarRect): void;
|
|
154
|
+
protected setActivePoint(event: FocusEvent, bar: BarRect): void;
|
|
155
|
+
protected clearActivePoint(): void;
|
|
156
|
+
protected barOpacity(bar: BarRect): number;
|
|
157
|
+
protected dotCellOpacity(cell: BarDotValueCell): number;
|
|
158
|
+
/** In `dot` style the bar rect stays as an invisible interaction target. */
|
|
159
|
+
protected barFill(bar: BarRect): string;
|
|
160
|
+
private emphasisOpacity;
|
|
161
|
+
protected formatValueLabel(bar: BarRect): string;
|
|
162
|
+
protected barLabelX(bar: BarRect): number;
|
|
163
|
+
protected barLabelY(bar: BarRect): number;
|
|
164
|
+
protected barLabelAnchor(bar: BarRect): 'middle' | 'start' | 'end';
|
|
165
|
+
protected barAriaLabel(bar: BarRect): string;
|
|
166
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BarChart, never>;
|
|
167
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BarChart, "ChartBar", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "xKey": { "alias": "xKey"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; "margin": { "alias": "margin"; "required": false; "isSignal": true; }; "bandPadding": { "alias": "bandPadding"; "required": false; "isSignal": true; }; "groupPadding": { "alias": "groupPadding"; "required": false; "isSignal": true; }; "cornerRadius": { "alias": "cornerRadius"; "required": false; "isSignal": true; }; "colorKey": { "alias": "colorKey"; "required": false; "isSignal": true; }; "activeKey": { "alias": "activeKey"; "required": false; "isSignal": true; }; "activeValue": { "alias": "activeValue"; "required": false; "isSignal": true; }; "showValueLabels": { "alias": "showValueLabels"; "required": false; "isSignal": true; }; "valueLabelFormat": { "alias": "valueLabelFormat"; "required": false; "isSignal": true; }; "dotSize": { "alias": "dotSize"; "required": false; "isSignal": true; }; "dotGap": { "alias": "dotGap"; "required": false; "isSignal": true; }; "dotCornerRadius": { "alias": "dotCornerRadius"; "required": false; "isSignal": true; }; "showDotTrack": { "alias": "showDotTrack"; "required": false; "isSignal": true; }; }, { "barClick": "barClick"; }, never, ["svg\\:g[ChartGrid]", "svg\\:g[ChartAxisX]", "svg\\:g[ChartAxisY]", "svg\\:g[ChartCrosshair]", "*", "ChartTooltip", "ChartLegend"], true, never>;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export { BarChart, computeBarDotCells, computeBarLayout };
|
|
171
|
+
export type { BarChartStyle, BarClickEvent, BarDotLayoutInput, BarDotLayoutResult, BarDotTrackCell, BarDotValueCell, BarLayoutInput, BarLayoutResult, BarRect, BarVariant };
|