ngx-core-components 0.3.24 → 0.3.26
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 +85 -0
- package/charts/adjacency-matrix/adjacency-matrix.component.d.ts +4 -5
- package/charts/agentic-cognitive-topology/agentic-cognitive-topology.component.d.ts +71 -4
- package/charts/arc-diagram/arc-diagram.component.d.ts +4 -5
- package/charts/area-chart/area-chart.component.d.ts +4 -5
- package/charts/area-range-chart/area-range-chart.component.d.ts +3 -4
- package/charts/area-spline-range-chart/area-spline-range-chart.component.d.ts +3 -4
- package/charts/bar-chart/bar-chart.component.d.ts +4 -5
- package/charts/biplot/biplot.component.d.ts +1 -0
- package/charts/box-plot-chart/box-plot-chart.component.d.ts +1 -0
- package/charts/bubble-chart/bubble-chart.component.d.ts +5 -4
- package/charts/bullet-chart/bullet-chart.component.d.ts +4 -5
- package/charts/candlestick-chart/candlestick-chart.component.d.ts +4 -5
- package/charts/chord-diagram/chord-diagram.component.d.ts +4 -5
- package/charts/column-pyramid-chart/column-pyramid-chart.component.d.ts +3 -4
- package/charts/column-range-chart/column-range-chart.component.d.ts +3 -4
- package/charts/combo-chart/combo-chart.component.d.ts +4 -5
- package/charts/dependency-wheel/dependency-wheel.component.d.ts +4 -5
- package/charts/geo-heatmap/geo-heatmap.component.d.ts +3 -4
- package/charts/heatmap-chart/heatmap-chart.component.d.ts +3 -4
- package/charts/heikin-ashi-chart/heikin-ashi-chart.component.d.ts +4 -4
- package/charts/histogram/histogram.component.d.ts +3 -4
- package/charts/hlc-chart/hlc-chart.component.d.ts +3 -4
- package/charts/hollow-candlestick-chart/hollow-candlestick-chart.component.d.ts +3 -4
- package/charts/kagi-chart/kagi-chart.component.d.ts +4 -4
- package/charts/line-chart/line-chart.component.d.ts +5 -4
- package/charts/lollipop-chart/lollipop-chart.component.d.ts +3 -4
- package/charts/map-bubble/map-bubble.component.d.ts +3 -4
- package/charts/map-choropleth/map-choropleth.component.d.ts +3 -4
- package/charts/map-line-point/map-line-point.component.d.ts +3 -4
- package/charts/marimekko-chart/marimekko-chart.component.d.ts +3 -4
- package/charts/network-graph/network-graph.component.d.ts +4 -5
- package/charts/ohlc-chart/ohlc-chart.component.d.ts +4 -5
- package/charts/packed-bubble-chart/packed-bubble-chart.component.d.ts +4 -5
- package/charts/parallel-coordinates/parallel-coordinates.component.d.ts +4 -5
- package/charts/pareto-chart/pareto-chart.component.d.ts +3 -4
- package/charts/pictorial-chart/pictorial-chart.component.d.ts +4 -5
- package/charts/pie-chart/pie-chart.component.d.ts +5 -5
- package/charts/point-figure-chart/point-figure-chart.component.d.ts +5 -5
- package/charts/polar-area-chart/polar-area-chart.component.d.ts +5 -5
- package/charts/radar-chart/radar-chart.component.d.ts +4 -4
- package/charts/radial-bar-chart/radial-bar-chart.component.d.ts +4 -4
- package/charts/renko-chart/renko-chart.component.d.ts +5 -5
- package/charts/ridgeline-chart/ridgeline-chart.component.d.ts +4 -4
- package/charts/sankey-chart/sankey-chart.component.d.ts +3 -4
- package/charts/scatter-plot/scatter-plot.component.d.ts +3 -4
- package/charts/shared/chart-export-menu.component.d.ts +26 -0
- package/charts/shared/chart-export.service.d.ts +29 -0
- package/charts/shared/chart-utils.d.ts +1 -0
- package/charts/slope-chart/slope-chart.component.d.ts +3 -4
- package/charts/waterfall-chart/waterfall-chart.component.d.ts +4 -5
- package/charts/wind-rose/wind-rose.component.d.ts +4 -4
- package/charts/word-cloud/word-cloud.component.d.ts +3 -4
- package/fesm2022/ngx-core-components-charts.mjs +2242 -6286
- package/fesm2022/ngx-core-components-charts.mjs.map +1 -1
- package/fesm2022/ngx-core-components-grid.mjs +282 -54
- package/fesm2022/ngx-core-components-grid.mjs.map +1 -1
- package/grid/data-grid/data-grid.component.d.ts +14 -1
- package/grid/data-grid/grid-export.service.d.ts +4 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,6 +59,10 @@ import { QrCodeComponent, BarcodeComponent } from 'ngx-core-components/barcodes'
|
|
|
59
59
|
- `LineChartComponent`
|
|
60
60
|
- `PieChartComponent`
|
|
61
61
|
- `SparklineComponent`
|
|
62
|
+
- `AgenticCognitiveTopologyComponent`
|
|
63
|
+
- `TokenStreamingChartComponent`
|
|
64
|
+
- `EmbeddingSpaceProjectionComponent`
|
|
65
|
+
- `TransformerAttentionHeatmapComponent`
|
|
62
66
|
|
|
63
67
|
### Inputs
|
|
64
68
|
|
|
@@ -492,6 +496,87 @@ interface GanttTask {
|
|
|
492
496
|
| `width` | `number` | `120` | SVG width |
|
|
493
497
|
| `height` | `number` | `36` | SVG height |
|
|
494
498
|
|
|
499
|
+
#### AgenticCognitiveTopologyComponent (`ngx-agentic-cognitive-topology`)
|
|
500
|
+
A dynamic visual representation of an agentic cognitive workflow (directed acyclic graph) supporting real-time interaction, automatic level sorting layouts, snapping grid alignment, properties modal editing, and drag-and-drop link creation.
|
|
501
|
+
|
|
502
|
+
##### Inputs
|
|
503
|
+
| Input | Type | Default | Description |
|
|
504
|
+
|---|---|---|---|
|
|
505
|
+
| `nodes` | `TopologyNode[]` | **required** | List of workflow nodes |
|
|
506
|
+
| `links` | `TopologyLink[]` | **required** | Directed edges between nodes |
|
|
507
|
+
| `width` | `number` | `650` | SVG width |
|
|
508
|
+
| `height` | `number` | `450` | SVG height |
|
|
509
|
+
| `colors` | `string[]` | `CHART_COLORS` | Custom node color palette |
|
|
510
|
+
| `showExport` | `boolean` | `true` | Show export options dropdown |
|
|
511
|
+
| `editable` | `boolean` | `false` | Enable interactive canvas editor |
|
|
512
|
+
| `gridSize` | `number` | `20` | Size of snap-to-grid alignment |
|
|
513
|
+
|
|
514
|
+
##### Outputs
|
|
515
|
+
| Output | Type | Description |
|
|
516
|
+
|---|---|---|
|
|
517
|
+
| `nodeActionClick` | `{ nodeId: string; action: string }` | Emitted when an action is selected in the node tooltip |
|
|
518
|
+
| `nodePositionChange` | `{ nodeId: string; x: number; y: number }` | Emitted when a node is dragged and repositioned |
|
|
519
|
+
| `nodesChange` | `TopologyNode[]` | Emitted in edit mode when nodes are added, edited, or deleted |
|
|
520
|
+
| `linksChange` | `TopologyLink[]` | Emitted in edit mode when links are added or deleted |
|
|
521
|
+
| `validationError` | `string` | Emitted when editor validations (e.g. cycles) are violated or copy notices occur |
|
|
522
|
+
|
|
523
|
+
##### Public Methods
|
|
524
|
+
| Method | Signature | Description |
|
|
525
|
+
|---|---|---|
|
|
526
|
+
| `autoLayout` | `(): void` | Clear all overrides and automatically arrange nodes using topological layer sorting |
|
|
527
|
+
| `undo` | `(): void` | Undo the last editor action |
|
|
528
|
+
| `redo` | `(): void` | Redo the last undone editor action |
|
|
529
|
+
| `exportWorkflowSchema` | `(): void` | Copies the current workflow layout as a LangGraph-compatible JSON schema |
|
|
530
|
+
|
|
531
|
+
#### TokenStreamingChartComponent (`ngx-token-streaming-chart`)
|
|
532
|
+
Real-time streaming chart optimized for rendering active LLM token generation metrics, showing speed (tokens per second), latency, and dynamic target highlights.
|
|
533
|
+
|
|
534
|
+
##### Inputs
|
|
535
|
+
| Input | Type | Default | Description |
|
|
536
|
+
|---|---|---|---|
|
|
537
|
+
| `data` | `number[]` | `[]` | Sequential generation speed values |
|
|
538
|
+
| `height` | `number` | `180` | Chart height in pixels |
|
|
539
|
+
| `threshold` | `number \| null` | `null` | Optional threshold alert limit |
|
|
540
|
+
| `showGrid` | `boolean` | `true` | Render horizontal grid lines |
|
|
541
|
+
|
|
542
|
+
##### Public Methods
|
|
543
|
+
| Method | Signature | Description |
|
|
544
|
+
|---|---|---|
|
|
545
|
+
| `setPoints` | `(newPoints: number[]): void` | Reset streaming points |
|
|
546
|
+
| `clearPoints` | `(): void` | Clear all points and reset charts |
|
|
547
|
+
|
|
548
|
+
#### EmbeddingSpaceProjectionComponent (`ngx-embedding-space-projection`)
|
|
549
|
+
Interactive multi-dimensional vector space projection (scatterplot layout) supporting visual cluster selection, lasso path tracing, and target distance query helpers.
|
|
550
|
+
|
|
551
|
+
##### Inputs
|
|
552
|
+
| Input | Type | Default | Description |
|
|
553
|
+
|---|---|---|---|
|
|
554
|
+
| `points` | `EmbeddingPoint[]` | **required** | Coordinates and metadata of embeddings |
|
|
555
|
+
| `height` | `number` | `360` | SVG container height |
|
|
556
|
+
|
|
557
|
+
##### Outputs
|
|
558
|
+
| Output | Type | Description |
|
|
559
|
+
|---|---|---|
|
|
560
|
+
| `lassoSelected` | `string[]` | Emitted with list of selected point IDs after drawing a lasso path |
|
|
561
|
+
| `agentQueryRequest` | `{ selectedIds: string[]; queryType: string }` | Emitted when triggering semantic action queries on selected embeddings |
|
|
562
|
+
|
|
563
|
+
#### TransformerAttentionHeatmapComponent (`ngx-transformer-attention-heatmap`)
|
|
564
|
+
Interactive visualization mapping matrix weights between input and output tokens across selected transformer attention heads, highlighting key focus weights.
|
|
565
|
+
|
|
566
|
+
##### Inputs
|
|
567
|
+
| Input | Type | Default | Description |
|
|
568
|
+
|---|---|---|---|
|
|
569
|
+
| `tokensX` | `string[]` | **required** | Horizontal axis token strings |
|
|
570
|
+
| `tokensY` | `string[]` | **required** | Vertical axis token strings |
|
|
571
|
+
| `weights` | `number[][]` | **required** | M x N matrix representing attention intensities |
|
|
572
|
+
| `height` | `number` | `300` | Grid container height |
|
|
573
|
+
|
|
574
|
+
##### Outputs
|
|
575
|
+
| Output | Type | Description |
|
|
576
|
+
|---|---|---|
|
|
577
|
+
| `cellClick` | `{ row: number; col: number; weight: number }` | Emitted when clicking an individual weight square |
|
|
578
|
+
| `agentQuery` | `{ query: string; tokenY: string; tokenX: string; weight: number }` | Emitted when triggering AI queries on cell highlights |
|
|
579
|
+
|
|
495
580
|
---
|
|
496
581
|
|
|
497
582
|
### Inputs
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface MatrixItem {
|
|
4
5
|
labels: string[];
|
|
@@ -16,6 +17,7 @@ interface ProcessedCell {
|
|
|
16
17
|
color: string;
|
|
17
18
|
}
|
|
18
19
|
export declare class AdjacencyMatrixComponent {
|
|
20
|
+
private readonly exportSvc;
|
|
19
21
|
matrix: import("@angular/core").InputSignal<number[][]>;
|
|
20
22
|
labels: import("@angular/core").InputSignal<string[]>;
|
|
21
23
|
height: import("@angular/core").InputSignal<number>;
|
|
@@ -31,7 +33,6 @@ export declare class AdjacencyMatrixComponent {
|
|
|
31
33
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
32
34
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
33
35
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
34
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
35
36
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
36
37
|
svgHeight: import("@angular/core").Signal<number>;
|
|
37
38
|
margin: import("@angular/core").Signal<{
|
|
@@ -48,11 +49,9 @@ export declare class AdjacencyMatrixComponent {
|
|
|
48
49
|
onCellHover(row: number, col: number, event: MouseEvent): void;
|
|
49
50
|
onMouseMove(event: MouseEvent): void;
|
|
50
51
|
onMouseLeave(): void;
|
|
51
|
-
|
|
52
|
-
closeExportMenu(): void;
|
|
53
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
54
|
-
exportToCsv(): void;
|
|
52
|
+
onExport(type: ExportFormat): void;
|
|
55
53
|
exportToJson(): void;
|
|
54
|
+
exportToCsv(): void;
|
|
56
55
|
exportToSvg(): void;
|
|
57
56
|
exportToPdf(): void;
|
|
58
57
|
formatNumber(v: number): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface TopologyNode {
|
|
4
5
|
id: string;
|
|
@@ -22,12 +23,15 @@ interface ProcessedNode extends TopologyNode {
|
|
|
22
23
|
depth: number;
|
|
23
24
|
}
|
|
24
25
|
export declare class AgenticCognitiveTopologyComponent {
|
|
26
|
+
private readonly exportSvc;
|
|
25
27
|
nodes: import("@angular/core").InputSignal<TopologyNode[]>;
|
|
26
28
|
links: import("@angular/core").InputSignal<TopologyLink[]>;
|
|
27
29
|
width: import("@angular/core").InputSignal<number>;
|
|
28
30
|
height: import("@angular/core").InputSignal<number>;
|
|
29
31
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
30
32
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
editable: import("@angular/core").InputSignal<boolean>;
|
|
34
|
+
gridSize: import("@angular/core").InputSignal<number>;
|
|
31
35
|
nodeActionClick: import("@angular/core").OutputEmitterRef<{
|
|
32
36
|
nodeId: string;
|
|
33
37
|
action: string;
|
|
@@ -37,6 +41,9 @@ export declare class AgenticCognitiveTopologyComponent {
|
|
|
37
41
|
x: number;
|
|
38
42
|
y: number;
|
|
39
43
|
}>;
|
|
44
|
+
nodesChange: import("@angular/core").OutputEmitterRef<TopologyNode[]>;
|
|
45
|
+
linksChange: import("@angular/core").OutputEmitterRef<TopologyLink[]>;
|
|
46
|
+
validationError: import("@angular/core").OutputEmitterRef<string>;
|
|
40
47
|
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
41
48
|
tooltipData: import("@angular/core").WritableSignal<{
|
|
42
49
|
node: TopologyNode;
|
|
@@ -62,6 +69,47 @@ export declare class AgenticCognitiveTopologyComponent {
|
|
|
62
69
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
63
70
|
nodeWidth: number;
|
|
64
71
|
nodeHeight: number;
|
|
72
|
+
activeEditingNode: import("@angular/core").WritableSignal<TopologyNode | null>;
|
|
73
|
+
activePortDrag: import("@angular/core").WritableSignal<{
|
|
74
|
+
nodeId: string;
|
|
75
|
+
portX: number;
|
|
76
|
+
portY: number;
|
|
77
|
+
dir: [number, number];
|
|
78
|
+
} | null>;
|
|
79
|
+
portDragCurrentMouse: import("@angular/core").WritableSignal<{
|
|
80
|
+
x: number;
|
|
81
|
+
y: number;
|
|
82
|
+
} | null>;
|
|
83
|
+
snapToGridActive: import("@angular/core").WritableSignal<boolean>;
|
|
84
|
+
undoStack: import("@angular/core").WritableSignal<{
|
|
85
|
+
addedNodes: TopologyNode[];
|
|
86
|
+
deletedNodeIds: Set<string>;
|
|
87
|
+
editedNodesMap: Map<string, TopologyNode>;
|
|
88
|
+
addedLinks: TopologyLink[];
|
|
89
|
+
deletedLinks: Set<string>;
|
|
90
|
+
nodePositionOverrides: Map<string, {
|
|
91
|
+
x: number;
|
|
92
|
+
y: number;
|
|
93
|
+
}>;
|
|
94
|
+
}[]>;
|
|
95
|
+
redoStack: import("@angular/core").WritableSignal<{
|
|
96
|
+
addedNodes: TopologyNode[];
|
|
97
|
+
deletedNodeIds: Set<string>;
|
|
98
|
+
editedNodesMap: Map<string, TopologyNode>;
|
|
99
|
+
addedLinks: TopologyLink[];
|
|
100
|
+
deletedLinks: Set<string>;
|
|
101
|
+
nodePositionOverrides: Map<string, {
|
|
102
|
+
x: number;
|
|
103
|
+
y: number;
|
|
104
|
+
}>;
|
|
105
|
+
}[]>;
|
|
106
|
+
addedNodes: import("@angular/core").WritableSignal<TopologyNode[]>;
|
|
107
|
+
deletedNodeIds: import("@angular/core").WritableSignal<Set<string>>;
|
|
108
|
+
editedNodesMap: import("@angular/core").WritableSignal<Map<string, TopologyNode>>;
|
|
109
|
+
addedLinks: import("@angular/core").WritableSignal<TopologyLink[]>;
|
|
110
|
+
deletedLinks: import("@angular/core").WritableSignal<Set<string>>;
|
|
111
|
+
effectiveNodes: import("@angular/core").Signal<TopologyNode[]>;
|
|
112
|
+
effectiveLinks: import("@angular/core").Signal<TopologyLink[]>;
|
|
65
113
|
/** Color map: maps lowercase node type string to a color from the colors input */
|
|
66
114
|
private typeColorMap;
|
|
67
115
|
/** Status-based override colors (take priority over type colors) */
|
|
@@ -85,13 +133,17 @@ export declare class AgenticCognitiveTopologyComponent {
|
|
|
85
133
|
cp2X: number;
|
|
86
134
|
cp2Y: number;
|
|
87
135
|
}[]>;
|
|
136
|
+
temporaryDragLinkPath: import("@angular/core").Signal<string>;
|
|
137
|
+
validationReport: import("@angular/core").Signal<{
|
|
138
|
+
orphans: string[];
|
|
139
|
+
hasCycles: boolean;
|
|
140
|
+
isValid: boolean;
|
|
141
|
+
}>;
|
|
88
142
|
onNodeClick(node: TopologyNode, event: MouseEvent): void;
|
|
89
143
|
onCanvasClick(): void;
|
|
90
144
|
closeTooltip(): void;
|
|
91
145
|
triggerAction(action: string, nodeId: string): void;
|
|
92
|
-
|
|
93
|
-
closeExportMenu(): void;
|
|
94
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
146
|
+
onExport(type: ExportFormat): void;
|
|
95
147
|
exportToJson(): void;
|
|
96
148
|
exportToCsv(): void;
|
|
97
149
|
exportToSvg(): void;
|
|
@@ -110,6 +162,18 @@ export declare class AgenticCognitiveTopologyComponent {
|
|
|
110
162
|
cp1Y: number;
|
|
111
163
|
cp2Y: number;
|
|
112
164
|
}): number;
|
|
165
|
+
saveHistory(): void;
|
|
166
|
+
applySnapshot(snap: any): void;
|
|
167
|
+
undo(): void;
|
|
168
|
+
redo(): void;
|
|
169
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
170
|
+
autoLayout(): void;
|
|
171
|
+
addNode(): void;
|
|
172
|
+
deleteNode(nodeId: string, event: MouseEvent): void;
|
|
173
|
+
deleteLink(source: string, target: string, event: MouseEvent): void;
|
|
174
|
+
onNodeDblClick(node: TopologyNode, event: MouseEvent): void;
|
|
175
|
+
saveNodeEdit(): void;
|
|
176
|
+
onPortMouseDown(node: ProcessedNode, dir: [number, number], event: MouseEvent): void;
|
|
113
177
|
onNodeMouseDown(node: ProcessedNode, event: MouseEvent): void;
|
|
114
178
|
onMouseDown(event: MouseEvent): void;
|
|
115
179
|
onMouseMove(event: MouseEvent): void;
|
|
@@ -119,7 +183,10 @@ export declare class AgenticCognitiveTopologyComponent {
|
|
|
119
183
|
zoomIn(): void;
|
|
120
184
|
zoomOut(): void;
|
|
121
185
|
resetZoom(): void;
|
|
186
|
+
checkCycle(start: string, target: string): boolean;
|
|
187
|
+
detectCyclesGlobal(): boolean;
|
|
188
|
+
exportWorkflowSchema(): void;
|
|
122
189
|
static ɵfac: i0.ɵɵFactoryDeclaration<AgenticCognitiveTopologyComponent, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AgenticCognitiveTopologyComponent, "ngx-agentic-cognitive-topology", never, { "nodes": { "alias": "nodes"; "required": true; "isSignal": true; }; "links": { "alias": "links"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, { "nodeActionClick": "nodeActionClick"; "nodePositionChange": "nodePositionChange"; }, never, never, true, never>;
|
|
190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AgenticCognitiveTopologyComponent, "ngx-agentic-cognitive-topology", never, { "nodes": { "alias": "nodes"; "required": true; "isSignal": true; }; "links": { "alias": "links"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "gridSize": { "alias": "gridSize"; "required": false; "isSignal": true; }; }, { "nodeActionClick": "nodeActionClick"; "nodePositionChange": "nodePositionChange"; "nodesChange": "nodesChange"; "linksChange": "linksChange"; "validationError": "validationError"; }, never, never, true, never>;
|
|
124
191
|
}
|
|
125
192
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface ArcNode {
|
|
@@ -31,6 +32,7 @@ interface ProcessedLink {
|
|
|
31
32
|
weight: number;
|
|
32
33
|
}
|
|
33
34
|
export declare class ArcDiagramComponent {
|
|
35
|
+
private readonly exportSvc;
|
|
34
36
|
nodes: import("@angular/core").InputSignal<ArcNode[]>;
|
|
35
37
|
links: import("@angular/core").InputSignal<ArcLink[]>;
|
|
36
38
|
height: import("@angular/core").InputSignal<number>;
|
|
@@ -39,7 +41,6 @@ export declare class ArcDiagramComponent {
|
|
|
39
41
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
40
42
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
41
43
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
42
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
43
44
|
hoveredNodeId: import("@angular/core").WritableSignal<string | null>;
|
|
44
45
|
hoveredLink: import("@angular/core").WritableSignal<ProcessedLink | null>;
|
|
45
46
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
@@ -58,11 +59,9 @@ export declare class ArcDiagramComponent {
|
|
|
58
59
|
onNodeHover(event: MouseEvent, node: ProcessedNode): void;
|
|
59
60
|
onLinkHover(event: MouseEvent, link: ProcessedLink): void;
|
|
60
61
|
onMouseLeave(): void;
|
|
61
|
-
|
|
62
|
-
closeExportMenu(): void;
|
|
63
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
64
|
-
exportToCsv(): void;
|
|
62
|
+
onExport(type: ExportFormat): void;
|
|
65
63
|
exportToJson(): void;
|
|
64
|
+
exportToCsv(): void;
|
|
66
65
|
exportToSvg(): void;
|
|
67
66
|
exportToPdf(): void;
|
|
68
67
|
readonly fmtNum: typeof fmtNum;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { ChartSeries, fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class AreaChartComponent {
|
|
6
|
+
private readonly exportSvc;
|
|
5
7
|
readonly PAD_LEFT = 48;
|
|
6
8
|
readonly PAD_TOP = 12;
|
|
7
9
|
readonly PAD_RIGHT = 16;
|
|
@@ -14,7 +16,6 @@ export declare class AreaChartComponent {
|
|
|
14
16
|
showLegend: import("@angular/core").InputSignal<boolean>;
|
|
15
17
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
16
18
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
17
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
18
19
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
19
20
|
crosshair: import("@angular/core").WritableSignal<{
|
|
20
21
|
x: number;
|
|
@@ -46,11 +47,9 @@ export declare class AreaChartComponent {
|
|
|
46
47
|
areaPath(s: ChartSeries): string;
|
|
47
48
|
onMouseMove(event: MouseEvent): void;
|
|
48
49
|
onMouseLeave(): void;
|
|
49
|
-
|
|
50
|
-
closeExportMenu(): void;
|
|
51
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
52
|
-
exportToCsv(): void;
|
|
50
|
+
onExport(type: ExportFormat): void;
|
|
53
51
|
exportToJson(): void;
|
|
52
|
+
exportToCsv(): void;
|
|
54
53
|
exportToSvg(): void;
|
|
55
54
|
exportToPdf(): void;
|
|
56
55
|
readonly fmtNum: typeof fmtNum;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface AreaRangeDataPoint {
|
|
@@ -12,6 +13,7 @@ export interface AreaRangeSeries {
|
|
|
12
13
|
color?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class AreaRangeChartComponent {
|
|
16
|
+
private readonly exportSvc;
|
|
15
17
|
readonly PAD_LEFT = 48;
|
|
16
18
|
readonly PAD_TOP = 15;
|
|
17
19
|
readonly PAD_RIGHT = 16;
|
|
@@ -25,7 +27,6 @@ export declare class AreaRangeChartComponent {
|
|
|
25
27
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
28
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
29
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
30
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
31
|
crosshair: import("@angular/core").WritableSignal<{
|
|
31
32
|
x: number;
|
|
@@ -60,9 +61,7 @@ export declare class AreaRangeChartComponent {
|
|
|
60
61
|
areaPath(s: AreaRangeSeries): string;
|
|
61
62
|
onMouseMove(event: MouseEvent): void;
|
|
62
63
|
onMouseLeave(): void;
|
|
63
|
-
|
|
64
|
-
closeExportMenu(): void;
|
|
65
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
64
|
+
onExport(type: ExportFormat): void;
|
|
66
65
|
exportToJson(): void;
|
|
67
66
|
exportToCsv(): void;
|
|
68
67
|
exportToSvg(): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface AreaRangeDataPoint {
|
|
@@ -12,6 +13,7 @@ export interface AreaRangeSeries {
|
|
|
12
13
|
color?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class AreaSplineRangeChartComponent {
|
|
16
|
+
private readonly exportSvc;
|
|
15
17
|
readonly PAD_LEFT = 48;
|
|
16
18
|
readonly PAD_TOP = 15;
|
|
17
19
|
readonly PAD_RIGHT = 16;
|
|
@@ -25,7 +27,6 @@ export declare class AreaSplineRangeChartComponent {
|
|
|
25
27
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
28
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
29
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
28
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
29
30
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
30
31
|
crosshair: import("@angular/core").WritableSignal<{
|
|
31
32
|
x: number;
|
|
@@ -60,9 +61,7 @@ export declare class AreaSplineRangeChartComponent {
|
|
|
60
61
|
areaPath(s: AreaRangeSeries): string;
|
|
61
62
|
onMouseMove(event: MouseEvent): void;
|
|
62
63
|
onMouseLeave(): void;
|
|
63
|
-
|
|
64
|
-
closeExportMenu(): void;
|
|
65
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
64
|
+
onExport(type: ExportFormat): void;
|
|
66
65
|
exportToJson(): void;
|
|
67
66
|
exportToCsv(): void;
|
|
68
67
|
exportToSvg(): void;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { ChartSeries, fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BarChartComponent {
|
|
6
|
+
private readonly exportSvc;
|
|
5
7
|
readonly PAD_LEFT = 48;
|
|
6
8
|
readonly PAD_TOP = 12;
|
|
7
9
|
readonly PAD_RIGHT = 16;
|
|
@@ -28,7 +30,6 @@ export declare class BarChartComponent {
|
|
|
28
30
|
seriesName: string;
|
|
29
31
|
}>;
|
|
30
32
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
31
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
32
33
|
animateState: import("@angular/core").WritableSignal<boolean>;
|
|
33
34
|
activeColumnIndex: import("@angular/core").WritableSignal<number | null>;
|
|
34
35
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
@@ -63,11 +64,9 @@ export declare class BarChartComponent {
|
|
|
63
64
|
onMouseMove(event: MouseEvent): void;
|
|
64
65
|
onBarClick(ci: number, si: number, v: number): void;
|
|
65
66
|
onMouseLeave(): void;
|
|
66
|
-
|
|
67
|
-
closeExportMenu(): void;
|
|
68
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
69
|
-
exportToCsv(): void;
|
|
67
|
+
onExport(type: ExportFormat): void;
|
|
70
68
|
exportToJson(): void;
|
|
69
|
+
exportToCsv(): void;
|
|
71
70
|
exportToSvg(): void;
|
|
72
71
|
exportToPdf(): void;
|
|
73
72
|
readonly fmtNum: typeof fmtNum;
|
|
@@ -28,6 +28,7 @@ interface ProcessedVector {
|
|
|
28
28
|
y2: number;
|
|
29
29
|
}
|
|
30
30
|
export declare class BiplotComponent {
|
|
31
|
+
private readonly exportSvc;
|
|
31
32
|
points: import("@angular/core").InputSignal<BiplotPoint[]>;
|
|
32
33
|
vectors: import("@angular/core").InputSignal<BiplotVector[]>;
|
|
33
34
|
height: import("@angular/core").InputSignal<number>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface BubblePoint {
|
|
@@ -9,6 +10,7 @@ export interface BubblePoint {
|
|
|
9
10
|
group?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare class BubbleChartComponent {
|
|
13
|
+
private readonly exportSvc;
|
|
12
14
|
PAD_LEFT: number;
|
|
13
15
|
PAD_TOP: number;
|
|
14
16
|
PAD_RIGHT: number;
|
|
@@ -24,7 +26,6 @@ export declare class BubbleChartComponent {
|
|
|
24
26
|
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
25
27
|
colors: import("@angular/core").InputSignal<string[]>;
|
|
26
28
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
27
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
28
29
|
hoveredPointIndex: import("@angular/core").WritableSignal<number | null>;
|
|
29
30
|
tooltip: import("@angular/core").WritableSignal<{
|
|
30
31
|
x: number;
|
|
@@ -64,11 +65,11 @@ export declare class BubbleChartComponent {
|
|
|
64
65
|
}[]>;
|
|
65
66
|
onPointHover(event: MouseEvent, pt: BubblePoint, index: number): void;
|
|
66
67
|
onMouseLeave(): void;
|
|
67
|
-
|
|
68
|
-
onExport(type: 'json' | 'csv' | 'svg'): void;
|
|
69
|
-
exportToCsv(): void;
|
|
68
|
+
onExport(type: ExportFormat): void;
|
|
70
69
|
exportToJson(): void;
|
|
70
|
+
exportToCsv(): void;
|
|
71
71
|
exportToSvg(): void;
|
|
72
|
+
exportToPdf(): void;
|
|
72
73
|
readonly fmtNum: typeof fmtNum;
|
|
73
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<BubbleChartComponent, never>;
|
|
74
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<BubbleChartComponent, "ngx-bubble-chart", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "xTitle": { "alias": "xTitle"; "required": false; "isSignal": true; }; "yTitle": { "alias": "yTitle"; "required": false; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showGrid": { "alias": "showGrid"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "showLabels": { "alias": "showLabels"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "colors": { "alias": "colors"; "required": false; "isSignal": true; }; "showExport": { "alias": "showExport"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BulletChartComponent {
|
|
5
|
+
private readonly exportSvc;
|
|
4
6
|
value: import("@angular/core").InputSignal<number>;
|
|
5
7
|
target: import("@angular/core").InputSignal<number>;
|
|
6
8
|
max: import("@angular/core").InputSignal<number>;
|
|
@@ -12,7 +14,6 @@ export declare class BulletChartComponent {
|
|
|
12
14
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
13
15
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
14
16
|
containerWidth: import("@angular/core").WritableSignal<number>;
|
|
15
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
16
17
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
17
18
|
margin: import("@angular/core").Signal<{
|
|
18
19
|
top: number;
|
|
@@ -36,11 +37,9 @@ export declare class BulletChartComponent {
|
|
|
36
37
|
width: number;
|
|
37
38
|
color: string;
|
|
38
39
|
}[]>;
|
|
39
|
-
|
|
40
|
-
closeExportMenu(): void;
|
|
41
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
42
|
-
exportToCsv(): void;
|
|
40
|
+
onExport(type: ExportFormat): void;
|
|
43
41
|
exportToJson(): void;
|
|
42
|
+
exportToCsv(): void;
|
|
44
43
|
exportToSvg(): void;
|
|
45
44
|
exportToPdf(): void;
|
|
46
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<BulletChartComponent, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface CandlestickItem {
|
|
@@ -9,6 +10,7 @@ export interface CandlestickItem {
|
|
|
9
10
|
close: number;
|
|
10
11
|
}
|
|
11
12
|
export declare class CandlestickChartComponent {
|
|
13
|
+
private readonly exportSvc;
|
|
12
14
|
PAD_LEFT: number;
|
|
13
15
|
PAD_TOP: number;
|
|
14
16
|
PAD_RIGHT: number;
|
|
@@ -18,7 +20,6 @@ export declare class CandlestickChartComponent {
|
|
|
18
20
|
showGrid: import("@angular/core").InputSignal<boolean>;
|
|
19
21
|
showLabels: import("@angular/core").InputSignal<boolean>;
|
|
20
22
|
showExport: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
22
23
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
23
24
|
bullishColor: import("@angular/core").InputSignal<string>;
|
|
24
25
|
bearishColor: import("@angular/core").InputSignal<string>;
|
|
@@ -60,11 +61,9 @@ export declare class CandlestickChartComponent {
|
|
|
60
61
|
}[]>;
|
|
61
62
|
onCandleHover(event: MouseEvent, item: CandlestickItem, index: number): void;
|
|
62
63
|
formatDate(d: string | Date): string;
|
|
63
|
-
|
|
64
|
-
closeExportMenu(): void;
|
|
65
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
66
|
-
exportToCsv(): void;
|
|
64
|
+
onExport(type: ExportFormat): void;
|
|
67
65
|
exportToJson(): void;
|
|
66
|
+
exportToCsv(): void;
|
|
68
67
|
exportToSvg(): void;
|
|
69
68
|
exportToPdf(): void;
|
|
70
69
|
readonly fmtNum: typeof fmtNum;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface ChordItem {
|
|
4
5
|
labels: string[];
|
|
@@ -28,6 +29,7 @@ interface ProcessedRibbon {
|
|
|
28
29
|
path: string;
|
|
29
30
|
}
|
|
30
31
|
export declare class ChordDiagramComponent {
|
|
32
|
+
private readonly exportSvc;
|
|
31
33
|
matrix: import("@angular/core").InputSignal<number[][]>;
|
|
32
34
|
labels: import("@angular/core").InputSignal<string[]>;
|
|
33
35
|
height: import("@angular/core").InputSignal<number>;
|
|
@@ -41,7 +43,6 @@ export declare class ChordDiagramComponent {
|
|
|
41
43
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
42
44
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
43
45
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
44
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
45
46
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
46
47
|
svgHeight: import("@angular/core").Signal<number>;
|
|
47
48
|
outerRadius: import("@angular/core").Signal<number>;
|
|
@@ -53,11 +54,9 @@ export declare class ChordDiagramComponent {
|
|
|
53
54
|
onRibbonHover(idx: number, event: MouseEvent): void;
|
|
54
55
|
onMouseMove(event: MouseEvent): void;
|
|
55
56
|
onMouseLeave(): void;
|
|
56
|
-
|
|
57
|
-
closeExportMenu(): void;
|
|
58
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
59
|
-
exportToCsv(): void;
|
|
57
|
+
onExport(type: ExportFormat): void;
|
|
60
58
|
exportToJson(): void;
|
|
59
|
+
exportToCsv(): void;
|
|
61
60
|
exportToSvg(): void;
|
|
62
61
|
exportToPdf(): void;
|
|
63
62
|
formatNumber(v: number): string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface ColumnPyramidSeries {
|
|
@@ -7,6 +8,7 @@ export interface ColumnPyramidSeries {
|
|
|
7
8
|
color?: string;
|
|
8
9
|
}
|
|
9
10
|
export declare class ColumnPyramidChartComponent {
|
|
11
|
+
private readonly exportSvc;
|
|
10
12
|
readonly PAD_LEFT = 48;
|
|
11
13
|
readonly PAD_TOP = 15;
|
|
12
14
|
readonly PAD_RIGHT = 16;
|
|
@@ -26,7 +28,6 @@ export declare class ColumnPyramidChartComponent {
|
|
|
26
28
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
27
29
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
28
30
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
29
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
30
31
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
31
32
|
innerW: import("@angular/core").Signal<number>;
|
|
32
33
|
innerH: import("@angular/core").Signal<number>;
|
|
@@ -48,9 +49,7 @@ export declare class ColumnPyramidChartComponent {
|
|
|
48
49
|
onPyramidHover(ci: number, si: number, v: number, event: MouseEvent): void;
|
|
49
50
|
onPyramidMouseMove(event: MouseEvent): void;
|
|
50
51
|
onMouseLeave(): void;
|
|
51
|
-
|
|
52
|
-
closeExportMenu(): void;
|
|
53
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
52
|
+
onExport(type: ExportFormat): void;
|
|
54
53
|
exportToJson(): void;
|
|
55
54
|
exportToCsv(): void;
|
|
56
55
|
exportToSvg(): void;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import type { ExportFormat } from '../shared/chart-export-menu.component';
|
|
2
3
|
import { fmtNum } from '../shared/chart-utils';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface ColumnRangePoint {
|
|
@@ -12,6 +13,7 @@ export interface ColumnRangeSeries {
|
|
|
12
13
|
color?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class ColumnRangeChartComponent {
|
|
16
|
+
private readonly exportSvc;
|
|
15
17
|
readonly PAD_LEFT = 48;
|
|
16
18
|
readonly PAD_TOP = 15;
|
|
17
19
|
readonly PAD_RIGHT = 16;
|
|
@@ -30,7 +32,6 @@ export declare class ColumnRangeChartComponent {
|
|
|
30
32
|
tooltip: import("@angular/core").WritableSignal<any>;
|
|
31
33
|
tooltipX: import("@angular/core").WritableSignal<number>;
|
|
32
34
|
tooltipY: import("@angular/core").WritableSignal<number>;
|
|
33
|
-
exportMenuOpen: import("@angular/core").WritableSignal<boolean>;
|
|
34
35
|
svgEl: import("@angular/core").Signal<ElementRef<SVGElement> | undefined>;
|
|
35
36
|
innerW: import("@angular/core").Signal<number>;
|
|
36
37
|
innerH: import("@angular/core").Signal<number>;
|
|
@@ -53,9 +54,7 @@ export declare class ColumnRangeChartComponent {
|
|
|
53
54
|
onColumnHover(ci: number, si: number, d: ColumnRangePoint, event: MouseEvent): void;
|
|
54
55
|
onColumnMouseMove(event: MouseEvent): void;
|
|
55
56
|
onMouseLeave(): void;
|
|
56
|
-
|
|
57
|
-
closeExportMenu(): void;
|
|
58
|
-
onExport(type: 'json' | 'csv' | 'svg' | 'pdf'): void;
|
|
57
|
+
onExport(type: ExportFormat): void;
|
|
59
58
|
exportToJson(): void;
|
|
60
59
|
exportToCsv(): void;
|
|
61
60
|
exportToSvg(): void;
|