@acorex/charts 19.14.0 → 19.14.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/bar-chart/lib/bar-chart.component.d.ts +5 -5
- package/bar-chart/lib/bar-chart.config.d.ts +5 -5
- package/bar-chart/lib/bar-chart.type.d.ts +7 -6
- package/donut-chart/lib/donut-chart.component.d.ts +9 -9
- package/donut-chart/lib/donut-chart.config.d.ts +5 -5
- package/donut-chart/lib/donut-chart.type.d.ts +8 -5
- package/fesm2022/acorex-charts-bar-chart.mjs +30 -16
- package/fesm2022/acorex-charts-bar-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-chart-tooltip.mjs +3 -3
- package/fesm2022/acorex-charts-donut-chart.mjs +52 -62
- package/fesm2022/acorex-charts-donut-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-gauge-chart.mjs +4 -4
- package/fesm2022/acorex-charts-gauge-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-hierarchy-chart.mjs +56 -6
- package/fesm2022/acorex-charts-hierarchy-chart.mjs.map +1 -1
- package/fesm2022/acorex-charts-line-chart.mjs +41 -25
- package/fesm2022/acorex-charts-line-chart.mjs.map +1 -1
- package/gauge-chart/lib/gauge-chart.component.d.ts +3 -3
- package/gauge-chart/lib/gauge-chart.config.d.ts +5 -5
- package/gauge-chart/lib/gauge-chart.type.d.ts +5 -4
- package/hierarchy-chart/lib/hierarchy-chart.component.d.ts +6 -2
- package/hierarchy-chart/lib/hierarchy-chart.type.d.ts +2 -2
- package/line-chart/lib/line-chart.component.d.ts +3 -3
- package/line-chart/lib/line-chart.type.d.ts +4 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NXNativeEvent } from '@acorex/
|
|
1
|
+
import { AXAnimationEasing, NXNativeEvent } from '@acorex/cdk/common';
|
|
2
2
|
/**
|
|
3
3
|
* Represents a node in the hierarchy chart.
|
|
4
4
|
*/
|
|
@@ -198,7 +198,7 @@ export interface AXHierarchyChartOption {
|
|
|
198
198
|
/**
|
|
199
199
|
* Type of easing function to use for animations
|
|
200
200
|
*/
|
|
201
|
-
animationEasing?:
|
|
201
|
+
animationEasing?: AXAnimationEasing;
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
* Context data for node template rendering.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { NXComponent } from '@acorex/cdk/common';
|
|
1
2
|
import { AXChartTooltipData } from '@acorex/charts/chart-tooltip';
|
|
2
|
-
import { NXComponent } from '@acorex/components/common';
|
|
3
3
|
import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
|
|
4
4
|
import { AXLineChartOption, AXLineChartPointClickEvent, AXLineChartValue } from './line-chart.type';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const AXLineChartColors: {
|
|
7
7
|
defaultColors: string[];
|
|
8
8
|
getColor: (index: number, customPalette?: string[]) => string;
|
|
9
9
|
};
|
|
@@ -64,7 +64,7 @@ export declare class AXLineChartComponent extends NXComponent implements OnInit,
|
|
|
64
64
|
fillOpacity?: number;
|
|
65
65
|
showCrosshair?: boolean;
|
|
66
66
|
animationDuration?: number;
|
|
67
|
-
animationEasing?: "
|
|
67
|
+
animationEasing?: import("@acorex/cdk/common").AXAnimationEasing;
|
|
68
68
|
}>;
|
|
69
69
|
ngOnInit(): void;
|
|
70
70
|
ngAfterViewInit(): void;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { NXNativeEvent } from '@acorex/
|
|
1
|
+
import { AXAnimationEasing, NXNativeEvent } from '@acorex/cdk/common';
|
|
2
2
|
/**
|
|
3
3
|
* Line chart data point interface
|
|
4
4
|
*/
|
|
5
5
|
export interface AXLineChartData {
|
|
6
6
|
id?: string;
|
|
7
7
|
label?: string;
|
|
8
|
+
tooltipLabel?: string;
|
|
8
9
|
lineColor?: string;
|
|
9
10
|
fillColor?: string;
|
|
10
11
|
data: Array<{
|
|
11
12
|
x: number | string;
|
|
12
13
|
y: number;
|
|
14
|
+
tooltipLabel?: string;
|
|
13
15
|
}>;
|
|
14
16
|
}
|
|
15
17
|
/**
|
|
@@ -53,7 +55,7 @@ export interface AXLineChartOption {
|
|
|
53
55
|
fillOpacity?: number;
|
|
54
56
|
showCrosshair?: boolean;
|
|
55
57
|
animationDuration?: number;
|
|
56
|
-
animationEasing?:
|
|
58
|
+
animationEasing?: AXAnimationEasing;
|
|
57
59
|
}
|
|
58
60
|
/**
|
|
59
61
|
* Line chart point click event interface
|