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