@progress/kendo-angular-charts 16.0.0-develop.8 → 16.0.0
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/esm2020/chart/axis-defaults/crosshair.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/labels.component.mjs +3 -3
- package/esm2020/chart/axis-defaults/title.component.mjs +3 -3
- package/esm2020/chart/axis-defaults.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/range-labels.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/select.component.mjs +3 -3
- package/esm2020/chart/category-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/category-axis-item.component.mjs +3 -3
- package/esm2020/chart/category-axis.component.mjs +3 -3
- package/esm2020/chart/chart-area.component.mjs +3 -3
- package/esm2020/chart/donut-center-template.directive.mjs +3 -3
- package/esm2020/chart/legend/inactive-items.component.mjs +3 -3
- package/esm2020/chart/legend/item.component.mjs +3 -3
- package/esm2020/chart/legend.component.mjs +3 -3
- package/esm2020/chart/pane/title.component.mjs +3 -3
- package/esm2020/chart/pane-defaults/title.component.mjs +3 -3
- package/esm2020/chart/pane-defaults.component.mjs +3 -3
- package/esm2020/chart/pane.component.mjs +3 -3
- package/esm2020/chart/panes.component.mjs +3 -3
- package/esm2020/chart/plot-area.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.from.component.mjs +3 -3
- package/esm2020/chart/series-defaults/labels.to.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.icon.component.mjs +3 -3
- package/esm2020/chart/series-defaults/notes.label.component.mjs +3 -3
- package/esm2020/chart/series-defaults/tooltip.component.mjs +3 -3
- package/esm2020/chart/series-defaults.component.mjs +3 -3
- package/esm2020/chart/series-drilldown-template.directive.mjs +3 -3
- package/esm2020/chart/series-item/error-bars.component.mjs +3 -3
- package/esm2020/chart/series-item/extremes.component.mjs +3 -3
- package/esm2020/chart/series-item/highlight.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.from.component.mjs +3 -3
- package/esm2020/chart/series-item/labels.to.component.mjs +3 -3
- package/esm2020/chart/series-item/markers.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/series-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/series-item/outliers.component.mjs +3 -3
- package/esm2020/chart/series-item/tooltip.component.mjs +3 -3
- package/esm2020/chart/series-item/trendline.component.mjs +3 -3
- package/esm2020/chart/series-item/trendline.forecast.component.mjs +3 -3
- package/esm2020/chart/series-item.component.mjs +3 -3
- package/esm2020/chart/series.component.mjs +3 -3
- package/esm2020/chart/subtitle.component.mjs +3 -3
- package/esm2020/chart/title.component.mjs +3 -3
- package/esm2020/chart/tooltip/base-tooltip.mjs +3 -3
- package/esm2020/chart/tooltip/crosshair-tooltip.component.mjs +3 -3
- package/esm2020/chart/tooltip/crosshair-tooltips-container.component.mjs +3 -3
- package/esm2020/chart/tooltip/series-tooltip-template.directive.mjs +3 -3
- package/esm2020/chart/tooltip/shared-tooltip-template.directive.mjs +3 -3
- package/esm2020/chart/tooltip/tooltip-popup.component.mjs +3 -3
- package/esm2020/chart/tooltip.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/value-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/value-axis-item.component.mjs +3 -3
- package/esm2020/chart/value-axis.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/x-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/x-axis-item.component.mjs +3 -3
- package/esm2020/chart/x-axis.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/crosshair.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/labels.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.icon.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/notes.label.component.mjs +3 -3
- package/esm2020/chart/y-axis-item/title.component.mjs +3 -3
- package/esm2020/chart/y-axis-item.component.mjs +3 -3
- package/esm2020/chart/y-axis.component.mjs +3 -3
- package/esm2020/chart/zoomable.component.mjs +3 -3
- package/esm2020/chart-breadcrumb.component.mjs +3 -3
- package/esm2020/chart.component.mjs +3 -3
- package/esm2020/chart.module.mjs +4 -4
- package/esm2020/charts.module.mjs +4 -4
- package/esm2020/common/collection-item.component.mjs +3 -3
- package/esm2020/common/collection.component.mjs +3 -3
- package/esm2020/common/collection.service.mjs +3 -3
- package/esm2020/common/configuration.service.mjs +3 -3
- package/esm2020/common/prefix-configuration.service.mjs +3 -3
- package/esm2020/common/root-configuration.service.mjs +3 -3
- package/esm2020/common/settings.component.mjs +3 -3
- package/esm2020/common/theme.service.mjs +11 -6
- package/esm2020/common/tooltip-template.service.mjs +3 -3
- package/esm2020/events/base-event.mjs +3 -3
- package/esm2020/events/preventable-event.mjs +3 -3
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/sankey/data-binding/flat-binding.directive.mjs +6 -6
- package/esm2020/sankey/labels.component.mjs +5 -5
- package/esm2020/sankey/legend.component.mjs +3 -3
- package/esm2020/sankey/links.component.mjs +5 -5
- package/esm2020/sankey/localization/custom-messages.component.mjs +10 -5
- package/esm2020/sankey/localization/localized-messages.directive.mjs +3 -3
- package/esm2020/sankey/localization/messages.mjs +3 -3
- package/esm2020/sankey/nodes.component.mjs +5 -5
- package/esm2020/sankey/title.component.mjs +3 -3
- package/esm2020/sankey/tooltip/link-tooltip-template.directive.mjs +3 -3
- package/esm2020/sankey/tooltip/node-tooltip-template.directive.mjs +3 -3
- package/esm2020/sankey/tooltip/square-symbol.directive.mjs +3 -3
- package/esm2020/sankey/tooltip/tooltip-popup.component.mjs +3 -3
- package/esm2020/sankey/tooltip/tooltip-template.service.mjs +3 -3
- package/esm2020/sankey/tooltip.component.mjs +3 -3
- package/esm2020/sankey.component.mjs +3 -3
- package/esm2020/sankey.module.mjs +4 -4
- package/esm2020/sparkline.component.mjs +3 -3
- package/esm2020/sparkline.module.mjs +4 -4
- package/esm2020/stock-chart/navigator/category-axis/crosshair.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/crosshair.tooltip.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/labels.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.icon.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/notes.label.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/select.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis/title.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/category-axis.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/hint.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/pane/title.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/pane.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/select.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/error-bars.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/extremes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/highlight.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.from.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/labels.to.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/markers.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.icon.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/notes.label.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/outliers.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item/tooltip.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series-item.component.mjs +3 -3
- package/esm2020/stock-chart/navigator/series.component.mjs +3 -3
- package/esm2020/stock-chart/navigator.component.mjs +3 -3
- package/esm2020/stock-chart.component.mjs +3 -3
- package/esm2020/stock-chart.module.mjs +4 -4
- package/fesm2015/progress-kendo-angular-charts.mjs +490 -521
- package/fesm2020/progress-kendo-angular-charts.mjs +490 -521
- package/package.json +8 -8
- package/sankey/labels.component.d.ts +2 -2
- package/sankey/links.component.d.ts +2 -2
- package/sankey/localization/custom-messages.component.d.ts +7 -2
- package/sankey/nodes.component.d.ts +2 -2
- package/esm2020/sankey/data-binding/create-sankey-data.mjs +0 -44
- package/sankey/data-binding/create-sankey-data.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-charts",
|
|
3
|
-
"version": "16.0.0
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"@angular/platform-browser": "15 - 17",
|
|
48
48
|
"@progress/kendo-drawing": "^1.19.0",
|
|
49
49
|
"@progress/kendo-licensing": "^1.0.2",
|
|
50
|
-
"@progress/kendo-angular-common": "16.0.0
|
|
51
|
-
"@progress/kendo-angular-intl": "16.0.0
|
|
52
|
-
"@progress/kendo-angular-icons": "16.0.0
|
|
53
|
-
"@progress/kendo-angular-l10n": "16.0.0
|
|
54
|
-
"@progress/kendo-angular-popup": "16.0.0
|
|
55
|
-
"@progress/kendo-angular-navigation": "16.0.0
|
|
50
|
+
"@progress/kendo-angular-common": "16.0.0",
|
|
51
|
+
"@progress/kendo-angular-intl": "16.0.0",
|
|
52
|
+
"@progress/kendo-angular-icons": "16.0.0",
|
|
53
|
+
"@progress/kendo-angular-l10n": "16.0.0",
|
|
54
|
+
"@progress/kendo-angular-popup": "16.0.0",
|
|
55
|
+
"@progress/kendo-angular-navigation": "16.0.0",
|
|
56
56
|
"hammerjs": "^2.0.0",
|
|
57
57
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"tslib": "^2.3.1",
|
|
61
|
-
"@progress/kendo-angular-schematics": "16.0.0
|
|
61
|
+
"@progress/kendo-angular-schematics": "16.0.0",
|
|
62
62
|
"@progress/kendo-charts": "2.3.0",
|
|
63
63
|
"@progress/kendo-svg-icons": "^2.0.0"
|
|
64
64
|
},
|
|
@@ -8,8 +8,8 @@ import { SankeyLabelDefaults, SankeyOffset } from './api-types';
|
|
|
8
8
|
import { Border, Padding } from '../common/property-types';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
11
|
-
* The configuration options of the Sankey
|
|
12
|
-
* ([see example](
|
|
11
|
+
* The configuration options of the Sankey labels
|
|
12
|
+
* ([see example](slug:slug:customization_sankey#toc-customizing-the-sankey-chart-elements)).
|
|
13
13
|
*/
|
|
14
14
|
export declare class SankeyLabelsComponent extends SettingsComponent implements SankeyLabelDefaults {
|
|
15
15
|
configurationService: ConfigurationService;
|
|
@@ -7,8 +7,8 @@ import { SettingsComponent } from '../common/settings.component';
|
|
|
7
7
|
import { SankeyLinkDefaults, SankeyLinkHighlight } from './api-types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* The configuration options of the Sankey
|
|
11
|
-
* ([see example](
|
|
10
|
+
* The configuration options of the Sankey links
|
|
11
|
+
* ([see example](slug:slug:customization_sankey#toc-customizing-the-sankey-chart-elements)).
|
|
12
12
|
*/
|
|
13
13
|
export declare class SankeyLinksComponent extends SettingsComponent implements SankeyLinkDefaults {
|
|
14
14
|
configurationService: ConfigurationService;
|
|
@@ -6,8 +6,13 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
6
6
|
import { Messages } from './messages';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* Custom component messages override default component messages
|
|
10
|
-
*
|
|
9
|
+
* Custom component messages override default component messages.
|
|
10
|
+
* @example
|
|
11
|
+
* ```html
|
|
12
|
+
* <kendo-sankey [data]="data">
|
|
13
|
+
* <kendo-sankey-messages tooltipUnitFormat='kelvin'></kendo-sankey-messages>
|
|
14
|
+
* </kendo-sankey>
|
|
15
|
+
* ```
|
|
11
16
|
*/
|
|
12
17
|
export declare class SankeyCustomMessagesComponent extends Messages {
|
|
13
18
|
protected service: LocalizationService;
|
|
@@ -7,8 +7,8 @@ import { SettingsComponent } from '../common/settings.component';
|
|
|
7
7
|
import { SankeyNodeDefaults, SankeyOffset } from './api-types';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
10
|
-
* The configuration options of the Sankey
|
|
11
|
-
* ([see example](
|
|
10
|
+
* The configuration options of the Sankey nodes
|
|
11
|
+
* ([see example](slug:slug:customization_sankey#toc-customizing-the-sankey-chart-elements)).
|
|
12
12
|
*/
|
|
13
13
|
export declare class SankeyNodesComponent extends SettingsComponent implements SankeyNodeDefaults {
|
|
14
14
|
configurationService: ConfigurationService;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export function createSankeyData(data, dimensions, measure) {
|
|
9
|
-
const nodes = new Set();
|
|
10
|
-
const links = new Map();
|
|
11
|
-
const linksMap = new Map();
|
|
12
|
-
data.forEach((row) => {
|
|
13
|
-
dimensions.forEach((dimension) => {
|
|
14
|
-
nodes.add(dimension(row));
|
|
15
|
-
});
|
|
16
|
-
for (let i = 0; i < dimensions.length - 1; i++) {
|
|
17
|
-
const source = dimensions[i](row);
|
|
18
|
-
const target = dimensions[i + 1](row);
|
|
19
|
-
const key = `${source}_${target}`;
|
|
20
|
-
const value = measure(row);
|
|
21
|
-
if (links.has(key)) {
|
|
22
|
-
links.set(key, links.get(key) + value);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
links.set(key, value);
|
|
26
|
-
linksMap.set(key, { source, target });
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
const nodesId = new Map();
|
|
31
|
-
const nodesArray = Array.from(nodes).map((node, index) => {
|
|
32
|
-
nodesId.set(node, index);
|
|
33
|
-
return { id: index, label: { text: String(node) } };
|
|
34
|
-
});
|
|
35
|
-
const linksArray = Array.from(links).map(([key, value]) => {
|
|
36
|
-
const { source, target } = linksMap.get(key);
|
|
37
|
-
return {
|
|
38
|
-
sourceId: nodesId.get(source),
|
|
39
|
-
targetId: nodesId.get(target),
|
|
40
|
-
value
|
|
41
|
-
};
|
|
42
|
-
});
|
|
43
|
-
return { nodes: nodesArray, links: linksArray };
|
|
44
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { SankeyData } from "../api-types";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare function createSankeyData<T>(data: T[], dimensions: ((item: T) => any)[], measure: (item: T) => number): SankeyData;
|