@acorex/charts 20.7.31 → 20.7.32
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/fesm2022/acorex-charts-chart-tooltip.mjs +2 -2
- package/fesm2022/acorex-charts-chart-tooltip.mjs.map +1 -1
- package/fesm2022/acorex-charts-donut-chart.mjs +6 -5
- package/fesm2022/acorex-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-funnel-chart.mjs +2 -2
- package/fesm2022/acorex-charts-funnel-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-gauge-chart.mjs +2 -2
- package/fesm2022/acorex-charts-gauge-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-heatmap-chart.mjs +22 -7
- package/fesm2022/acorex-charts-heatmap-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-hierarchy-chart.mjs +17 -11
- package/fesm2022/acorex-charts-hierarchy-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-line-chart.mjs +43 -17
- package/fesm2022/acorex-charts-line-chart.mjs.map +1 -1
- package/heatmap-chart/index.d.ts +14 -0
- package/hierarchy-chart/index.d.ts +5 -2
- package/line-chart/index.d.ts +1 -0
- package/package.json +1 -1
package/heatmap-chart/index.d.ts
CHANGED
|
@@ -15,6 +15,19 @@ interface AXHeatmapMessages {
|
|
|
15
15
|
noDataHelp?: string;
|
|
16
16
|
noDataIcon?: string;
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* Heatmap chart options interface
|
|
20
|
+
*
|
|
21
|
+
* Component supports the following CSS custom properties (design tokens):
|
|
22
|
+
* - `--ax-comp-heatmap-chart-labels-color`: Color for axis tick labels.
|
|
23
|
+
* Default: `--ax-sys-color-on-lightest-surface` (applied with 0.7 opacity)
|
|
24
|
+
* - `--ax-comp-heatmap-chart-axis-label-color`: Color for X/Y axis titles.
|
|
25
|
+
* Default: `--ax-sys-color-on-lightest-surface`
|
|
26
|
+
* - `--ax-comp-heatmap-chart-axis-color`: Color for axis lines.
|
|
27
|
+
* Default: `--ax-sys-color-on-lightest-surface`
|
|
28
|
+
* - `--ax-comp-heatmap-chart-bg-color`: Background color for the chart.
|
|
29
|
+
* Default: transparent
|
|
30
|
+
*/
|
|
18
31
|
interface AXHeatmapChartOption {
|
|
19
32
|
width?: number;
|
|
20
33
|
height?: number;
|
|
@@ -70,6 +83,7 @@ declare class AXHeatmapChartComponent extends AXChartComponent implements OnDest
|
|
|
70
83
|
private readonly MAX_LABEL_LENGTH;
|
|
71
84
|
private readonly TICK_AREA_PADDING;
|
|
72
85
|
private readonly X_AXIS_TITLE_GAP;
|
|
86
|
+
private readonly X_AXIS_TITLE_FONT_SIZE;
|
|
73
87
|
private readonly MIN_FONT_SIZE_X_AXIS;
|
|
74
88
|
private readonly MAX_FONT_SIZE_X_AXIS;
|
|
75
89
|
private readonly defaultConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _acorex_charts from '@acorex/charts';
|
|
2
2
|
import { NXNativeEvent, AXAnimationEasing, AXChartComponent, AXChartComponentBase } from '@acorex/charts';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import { TemplateRef, InjectionToken } from '@angular/core';
|
|
4
|
+
import { OnDestroy, TemplateRef, InjectionToken } from '@angular/core';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Represents a node in the hierarchy chart.
|
|
@@ -285,7 +285,7 @@ interface AXHierarchyChartToggleEvent {
|
|
|
285
285
|
*
|
|
286
286
|
* Supports both default node styling and custom node templates.
|
|
287
287
|
*/
|
|
288
|
-
declare class AXHierarchyChartComponent extends AXChartComponent implements AXChartComponentBase {
|
|
288
|
+
declare class AXHierarchyChartComponent extends AXChartComponent implements AXChartComponentBase, OnDestroy {
|
|
289
289
|
private chartContainer;
|
|
290
290
|
customNodeTemplate: _angular_core.Signal<TemplateRef<AXHierarchyChartNodeContext>>;
|
|
291
291
|
private ngZone;
|
|
@@ -298,6 +298,7 @@ declare class AXHierarchyChartComponent extends AXChartComponent implements AXCh
|
|
|
298
298
|
private _dimensions;
|
|
299
299
|
private _nodeElements;
|
|
300
300
|
private _chartData;
|
|
301
|
+
private embeddedViews;
|
|
301
302
|
data: _angular_core.InputSignal<AXHierarchyChartNode | AXHierarchyChartNode[]>;
|
|
302
303
|
options: _angular_core.InputSignal<AXHierarchyChartOption>;
|
|
303
304
|
nodeTemplate: _angular_core.InputSignal<TemplateRef<AXHierarchyChartNodeContext>>;
|
|
@@ -368,6 +369,8 @@ declare class AXHierarchyChartComponent extends AXChartComponent implements AXCh
|
|
|
368
369
|
* Clear existing chart
|
|
369
370
|
*/
|
|
370
371
|
cleanupChart(): void;
|
|
372
|
+
ngOnDestroy(): void;
|
|
373
|
+
private destroyEmbeddedViews;
|
|
371
374
|
updateChart(): void;
|
|
372
375
|
/**
|
|
373
376
|
* Get D3 easing function from string name
|
package/line-chart/index.d.ts
CHANGED
|
@@ -262,6 +262,7 @@ declare class AXLineChartComponent extends AXChartComponent implements OnInit, A
|
|
|
262
262
|
private handlePointHover;
|
|
263
263
|
private showCrosshairLines;
|
|
264
264
|
private updateTooltipPosition;
|
|
265
|
+
private scheduleTooltipPosition;
|
|
265
266
|
private handlePointClick;
|
|
266
267
|
private showNoDataMessage;
|
|
267
268
|
private showAllSeriesHiddenMessage;
|