@progress/kendo-angular-charts 23.4.0-develop.3 → 24.0.0-develop.1
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/chart/series-item.component.d.ts +3 -3
- package/codemods/v24/navigatorseriesitem-style.js +47 -0
- package/codemods/v24/series-interface-style.js +14 -0
- package/codemods/v24/seriesitem-style.js +47 -0
- package/common/copy-changes.d.ts +9 -0
- package/fesm2022/progress-kendo-angular-charts.mjs +40 -8
- package/field-types/line-style.d.ts +1 -3
- package/option-types/series-item.interface.d.ts +2 -2
- package/package-metadata.mjs +2 -2
- package/package.json +24 -10
|
@@ -346,11 +346,11 @@ export declare class SeriesItemComponent extends CollectionItemComponent impleme
|
|
|
346
346
|
startAngle: number;
|
|
347
347
|
/**
|
|
348
348
|
* Specifies the line style configuration of the series.
|
|
349
|
-
* Use the `
|
|
349
|
+
* Use the `lineStyle` option when [`series.type`](https://www.telerik.com/kendo-angular-ui/components/charts/api/series#type) is set to
|
|
350
350
|
* `"line"`, `"scatterLine"`, `"radarLine"`, or `"polarLine"`.
|
|
351
351
|
* @default 'normal'
|
|
352
352
|
*/
|
|
353
|
-
|
|
353
|
+
lineStyle: LineStyle;
|
|
354
354
|
/**
|
|
355
355
|
* Specifies the data item field which contains the summary type for the Waterfall series.
|
|
356
356
|
* The value (if any) of a data item marked as a summary point will be discarded.
|
|
@@ -539,5 +539,5 @@ export declare class SeriesItemComponent extends CollectionItemComponent impleme
|
|
|
539
539
|
togglePointVisibility(pointIndex: number): void;
|
|
540
540
|
get seriesTooltipTemplateRef(): TemplateRef<any>;
|
|
541
541
|
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesItemComponent, never>;
|
|
542
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesItemComponent, "kendo-chart-series-item", never, { "aggregate": { "alias": "aggregate"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "border": { "alias": "border"; "required": false; }; "categoryAxis": { "alias": "categoryAxis"; "required": false; }; "categoryField": { "alias": "categoryField"; "required": false; }; "closeField": { "alias": "closeField"; "required": false; }; "color": { "alias": "color"; "required": false; }; "colorField": { "alias": "colorField"; "required": false; }; "connectors": { "alias": "connectors"; "required": false; }; "currentField": { "alias": "currentField"; "required": false; }; "dashType": { "alias": "dashType"; "required": false; }; "data": { "alias": "data"; "required": false; }; "downColor": { "alias": "downColor"; "required": false; }; "downColorField": { "alias": "downColorField"; "required": false; }; "drilldownField": { "alias": "drilldownField"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "dynamicSlope": { "alias": "dynamicSlope"; "required": false; }; "errorHighField": { "alias": "errorHighField"; "required": false; }; "errorLowField": { "alias": "errorLowField"; "required": false; }; "explodeField": { "alias": "explodeField"; "required": false; }; "field": { "alias": "field"; "required": false; }; "fromField": { "alias": "fromField"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "highField": { "alias": "highField"; "required": false; }; "holeSize": { "alias": "holeSize"; "required": false; }; "line": { "alias": "line"; "required": false; }; "lowField": { "alias": "lowField"; "required": false; }; "lowerField": { "alias": "lowerField"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "mean": { "alias": "mean"; "required": false; }; "meanField": { "alias": "meanField"; "required": false; }; "median": { "alias": "median"; "required": false; }; "medianField": { "alias": "medianField"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "missingValues": { "alias": "missingValues"; "required": false; }; "name": { "alias": "name"; "required": false; }; "neckRatio": { "alias": "neckRatio"; "required": false; }; "negativeColor": { "alias": "negativeColor"; "required": false; }; "negativeValues": { "alias": "negativeValues"; "required": false; }; "noteTextField": { "alias": "noteTextField"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "openField": { "alias": "openField"; "required": false; }; "outliersField": { "alias": "outliersField"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "q1Field": { "alias": "q1Field"; "required": false; }; "q3Field": { "alias": "q3Field"; "required": false; }; "segmentSpacing": { "alias": "segmentSpacing"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeField": { "alias": "sizeField"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "stack": { "alias": "stack"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "
|
|
542
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesItemComponent, "kendo-chart-series-item", never, { "aggregate": { "alias": "aggregate"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "axis": { "alias": "axis"; "required": false; }; "border": { "alias": "border"; "required": false; }; "categoryAxis": { "alias": "categoryAxis"; "required": false; }; "categoryField": { "alias": "categoryField"; "required": false; }; "closeField": { "alias": "closeField"; "required": false; }; "color": { "alias": "color"; "required": false; }; "colorField": { "alias": "colorField"; "required": false; }; "connectors": { "alias": "connectors"; "required": false; }; "currentField": { "alias": "currentField"; "required": false; }; "dashType": { "alias": "dashType"; "required": false; }; "data": { "alias": "data"; "required": false; }; "downColor": { "alias": "downColor"; "required": false; }; "downColorField": { "alias": "downColorField"; "required": false; }; "drilldownField": { "alias": "drilldownField"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "dynamicSlope": { "alias": "dynamicSlope"; "required": false; }; "errorHighField": { "alias": "errorHighField"; "required": false; }; "errorLowField": { "alias": "errorLowField"; "required": false; }; "explodeField": { "alias": "explodeField"; "required": false; }; "field": { "alias": "field"; "required": false; }; "fromField": { "alias": "fromField"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "highField": { "alias": "highField"; "required": false; }; "holeSize": { "alias": "holeSize"; "required": false; }; "line": { "alias": "line"; "required": false; }; "lowField": { "alias": "lowField"; "required": false; }; "lowerField": { "alias": "lowerField"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "maxSize": { "alias": "maxSize"; "required": false; }; "mean": { "alias": "mean"; "required": false; }; "meanField": { "alias": "meanField"; "required": false; }; "median": { "alias": "median"; "required": false; }; "medianField": { "alias": "medianField"; "required": false; }; "minSize": { "alias": "minSize"; "required": false; }; "missingValues": { "alias": "missingValues"; "required": false; }; "name": { "alias": "name"; "required": false; }; "neckRatio": { "alias": "neckRatio"; "required": false; }; "negativeColor": { "alias": "negativeColor"; "required": false; }; "negativeValues": { "alias": "negativeValues"; "required": false; }; "noteTextField": { "alias": "noteTextField"; "required": false; }; "opacity": { "alias": "opacity"; "required": false; }; "openField": { "alias": "openField"; "required": false; }; "outliersField": { "alias": "outliersField"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "q1Field": { "alias": "q1Field"; "required": false; }; "q3Field": { "alias": "q3Field"; "required": false; }; "segmentSpacing": { "alias": "segmentSpacing"; "required": false; }; "size": { "alias": "size"; "required": false; }; "sizeField": { "alias": "sizeField"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "stack": { "alias": "stack"; "required": false; }; "startAngle": { "alias": "startAngle"; "required": false; }; "lineStyle": { "alias": "lineStyle"; "required": false; }; "summaryField": { "alias": "summaryField"; "required": false; }; "target": { "alias": "target"; "required": false; }; "toField": { "alias": "toField"; "required": false; }; "type": { "alias": "type"; "required": false; }; "upperField": { "alias": "upperField"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "visibleInLegend": { "alias": "visibleInLegend"; "required": false; }; "visibleInLegendField": { "alias": "visibleInLegendField"; "required": false; }; "visual": { "alias": "visual"; "required": false; }; "width": { "alias": "width"; "required": false; }; "whiskers": { "alias": "whiskers"; "required": false; }; "xAxis": { "alias": "xAxis"; "required": false; }; "xErrorHighField": { "alias": "xErrorHighField"; "required": false; }; "xErrorLowField": { "alias": "xErrorLowField"; "required": false; }; "xField": { "alias": "xField"; "required": false; }; "yAxis": { "alias": "yAxis"; "required": false; }; "yErrorHighField": { "alias": "yErrorHighField"; "required": false; }; "yErrorLowField": { "alias": "yErrorLowField"; "required": false; }; "yField": { "alias": "yField"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; "trendline": { "alias": "trendline"; "required": false; }; "for": { "alias": "for"; "required": false; }; "legendItem": { "alias": "legendItem"; "required": false; }; "pattern": { "alias": "pattern"; "required": false; }; "patternField": { "alias": "patternField"; "required": false; }; "errorBars": { "alias": "errorBars"; "required": false; }; "extremes": { "alias": "extremes"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "markers": { "alias": "markers"; "required": false; }; "notes": { "alias": "notes"; "required": false; }; "outliers": { "alias": "outliers"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; }, {}, ["seriesTooltip", "drilldownTemplate"], never, true, never>;
|
|
543
543
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.default = default_1;
|
|
31
|
+
const fs = __importStar(require("fs"));
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
const htmlResult = (0, utils_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, utils_1.attributeNameUpdate)(templateContent, 'kendo-chart-navigator-series-item', 'style', 'lineStyle'));
|
|
36
|
+
if (filePath.endsWith('.html')) {
|
|
37
|
+
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
38
|
+
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
39
|
+
return htmlResult;
|
|
40
|
+
}
|
|
41
|
+
return fileInfo.source;
|
|
42
|
+
}
|
|
43
|
+
const j = api.jscodeshift;
|
|
44
|
+
const rootSource = j(htmlResult || fileInfo.source);
|
|
45
|
+
(0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'NavigatorSeriesItemComponent', 'style', 'lineStyle');
|
|
46
|
+
return rootSource.toSource();
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.default = default_1;
|
|
8
|
+
const utils_1 = require("../utils");
|
|
9
|
+
function default_1(fileInfo, api) {
|
|
10
|
+
const j = api.jscodeshift;
|
|
11
|
+
const rootSource = j(fileInfo.source);
|
|
12
|
+
(0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'Series', 'style', 'lineStyle');
|
|
13
|
+
return rootSource.toSource();
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
"use strict";
|
|
6
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
7
|
+
if (k2 === undefined) k2 = k;
|
|
8
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
9
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
10
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
11
|
+
}
|
|
12
|
+
Object.defineProperty(o, k2, desc);
|
|
13
|
+
}) : (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
o[k2] = m[k];
|
|
16
|
+
}));
|
|
17
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
18
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
19
|
+
}) : function(o, v) {
|
|
20
|
+
o["default"] = v;
|
|
21
|
+
});
|
|
22
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
|
+
if (mod && mod.__esModule) return mod;
|
|
24
|
+
var result = {};
|
|
25
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
26
|
+
__setModuleDefault(result, mod);
|
|
27
|
+
return result;
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
exports.default = default_1;
|
|
31
|
+
const fs = __importStar(require("fs"));
|
|
32
|
+
const utils_1 = require("../utils");
|
|
33
|
+
function default_1(fileInfo, api) {
|
|
34
|
+
const filePath = fileInfo.path;
|
|
35
|
+
const htmlResult = (0, utils_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, utils_1.attributeNameUpdate)(templateContent, 'kendo-chart-series-item', 'style', 'lineStyle'));
|
|
36
|
+
if (filePath.endsWith('.html')) {
|
|
37
|
+
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
38
|
+
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
39
|
+
return htmlResult;
|
|
40
|
+
}
|
|
41
|
+
return fileInfo.source;
|
|
42
|
+
}
|
|
43
|
+
const j = api.jscodeshift;
|
|
44
|
+
const rootSource = j(htmlResult || fileInfo.source);
|
|
45
|
+
(0, utils_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'SeriesItemComponent', 'style', 'lineStyle');
|
|
46
|
+
return rootSource.toSource();
|
|
47
|
+
}
|
package/common/copy-changes.d.ts
CHANGED
|
@@ -9,3 +9,12 @@ import { SimpleChange } from '@angular/core';
|
|
|
9
9
|
export declare function copyChanges(changes: {
|
|
10
10
|
[propertyName: string]: SimpleChange;
|
|
11
11
|
}, options: any): void;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*
|
|
15
|
+
* Normalizes renamed properties in the plain-object series configuration path.
|
|
16
|
+
* When users pass series items as plain objects via [series] binding,
|
|
17
|
+
* the items bypass copyChanges and reach the engine as-is.
|
|
18
|
+
* This function maps `lineStyle` to `style` so the engine receives the correct key.
|
|
19
|
+
*/
|
|
20
|
+
export declare function normalizeSeriesOptions(options: any): void;
|
|
@@ -189,6 +189,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
189
189
|
type: Injectable
|
|
190
190
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
191
191
|
|
|
192
|
+
/**
|
|
193
|
+
* @hidden
|
|
194
|
+
*/
|
|
195
|
+
const NAME_MAP = {
|
|
196
|
+
lineStyle: 'style'
|
|
197
|
+
};
|
|
192
198
|
/**
|
|
193
199
|
* @hidden
|
|
194
200
|
*/
|
|
@@ -197,15 +203,39 @@ function copyChanges(changes, options) {
|
|
|
197
203
|
if (!Object.hasOwnProperty.call(changes, propertyName)) {
|
|
198
204
|
continue;
|
|
199
205
|
}
|
|
206
|
+
const key = NAME_MAP[propertyName] || propertyName;
|
|
200
207
|
const value = changes[propertyName].currentValue;
|
|
201
208
|
if (value === undefined) {
|
|
202
|
-
delete options[
|
|
209
|
+
delete options[key];
|
|
203
210
|
}
|
|
204
211
|
else {
|
|
205
|
-
options[
|
|
212
|
+
options[key] = value;
|
|
206
213
|
}
|
|
207
214
|
}
|
|
208
215
|
}
|
|
216
|
+
function normalizeSeriesItems(seriesList) {
|
|
217
|
+
if (!Array.isArray(seriesList)) {
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
for (const item of seriesList) {
|
|
221
|
+
if (item?.lineStyle !== undefined && item.style === undefined) {
|
|
222
|
+
item.style = item.lineStyle;
|
|
223
|
+
delete item.lineStyle;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* @hidden
|
|
229
|
+
*
|
|
230
|
+
* Normalizes renamed properties in the plain-object series configuration path.
|
|
231
|
+
* When users pass series items as plain objects via [series] binding,
|
|
232
|
+
* the items bypass copyChanges and reach the engine as-is.
|
|
233
|
+
* This function maps `lineStyle` to `style` so the engine receives the correct key.
|
|
234
|
+
*/
|
|
235
|
+
function normalizeSeriesOptions(options) {
|
|
236
|
+
normalizeSeriesItems(options?.series);
|
|
237
|
+
normalizeSeriesItems(options?.navigator?.series);
|
|
238
|
+
}
|
|
209
239
|
|
|
210
240
|
/**
|
|
211
241
|
* @hidden
|
|
@@ -767,11 +797,11 @@ class SeriesItemComponent extends CollectionItemComponent {
|
|
|
767
797
|
startAngle;
|
|
768
798
|
/**
|
|
769
799
|
* Specifies the line style configuration of the series.
|
|
770
|
-
* Use the `
|
|
800
|
+
* Use the `lineStyle` option when [`series.type`](https://www.telerik.com/kendo-angular-ui/components/charts/api/series#type) is set to
|
|
771
801
|
* `"line"`, `"scatterLine"`, `"radarLine"`, or `"polarLine"`.
|
|
772
802
|
* @default 'normal'
|
|
773
803
|
*/
|
|
774
|
-
|
|
804
|
+
lineStyle;
|
|
775
805
|
/**
|
|
776
806
|
* Specifies the data item field which contains the summary type for the Waterfall series.
|
|
777
807
|
* The value (if any) of a data item marked as a summary point will be discarded.
|
|
@@ -976,7 +1006,7 @@ class SeriesItemComponent extends CollectionItemComponent {
|
|
|
976
1006
|
}
|
|
977
1007
|
}
|
|
978
1008
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SeriesItemComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
979
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: SeriesItemComponent, isStandalone: true, selector: "kendo-chart-series-item", inputs: { aggregate: "aggregate", autoFit: "autoFit", axis: "axis", border: "border", categoryAxis: "categoryAxis", categoryField: "categoryField", closeField: "closeField", color: "color", colorField: "colorField", connectors: "connectors", currentField: "currentField", dashType: "dashType", data: "data", downColor: "downColor", downColorField: "downColorField", drilldownField: "drilldownField", dynamicHeight: "dynamicHeight", dynamicSlope: "dynamicSlope", errorHighField: "errorHighField", errorLowField: "errorLowField", explodeField: "explodeField", field: "field", fromField: "fromField", gap: "gap", highField: "highField", holeSize: "holeSize", line: "line", lowField: "lowField", lowerField: "lowerField", margin: "margin", maxSize: "maxSize", mean: "mean", meanField: "meanField", median: "median", medianField: "medianField", minSize: "minSize", missingValues: "missingValues", name: "name", neckRatio: "neckRatio", negativeColor: "negativeColor", negativeValues: "negativeValues", noteTextField: "noteTextField", opacity: "opacity", openField: "openField", outliersField: "outliersField", overlay: "overlay", padding: "padding", q1Field: "q1Field", q3Field: "q3Field", segmentSpacing: "segmentSpacing", size: "size", sizeField: "sizeField", spacing: "spacing", stack: "stack", startAngle: "startAngle",
|
|
1009
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.20", type: SeriesItemComponent, isStandalone: true, selector: "kendo-chart-series-item", inputs: { aggregate: "aggregate", autoFit: "autoFit", axis: "axis", border: "border", categoryAxis: "categoryAxis", categoryField: "categoryField", closeField: "closeField", color: "color", colorField: "colorField", connectors: "connectors", currentField: "currentField", dashType: "dashType", data: "data", downColor: "downColor", downColorField: "downColorField", drilldownField: "drilldownField", dynamicHeight: "dynamicHeight", dynamicSlope: "dynamicSlope", errorHighField: "errorHighField", errorLowField: "errorLowField", explodeField: "explodeField", field: "field", fromField: "fromField", gap: "gap", highField: "highField", holeSize: "holeSize", line: "line", lowField: "lowField", lowerField: "lowerField", margin: "margin", maxSize: "maxSize", mean: "mean", meanField: "meanField", median: "median", medianField: "medianField", minSize: "minSize", missingValues: "missingValues", name: "name", neckRatio: "neckRatio", negativeColor: "negativeColor", negativeValues: "negativeValues", noteTextField: "noteTextField", opacity: "opacity", openField: "openField", outliersField: "outliersField", overlay: "overlay", padding: "padding", q1Field: "q1Field", q3Field: "q3Field", segmentSpacing: "segmentSpacing", size: "size", sizeField: "sizeField", spacing: "spacing", stack: "stack", startAngle: "startAngle", lineStyle: "lineStyle", summaryField: "summaryField", target: "target", toField: "toField", type: "type", upperField: "upperField", visible: "visible", visibleInLegend: "visibleInLegend", visibleInLegendField: "visibleInLegendField", visual: "visual", width: "width", whiskers: "whiskers", xAxis: "xAxis", xErrorHighField: "xErrorHighField", xErrorLowField: "xErrorLowField", xField: "xField", yAxis: "yAxis", yErrorHighField: "yErrorHighField", yErrorLowField: "yErrorLowField", yField: "yField", zIndex: "zIndex", trendline: "trendline", for: "for", legendItem: "legendItem", pattern: "pattern", patternField: "patternField", errorBars: "errorBars", extremes: "extremes", highlight: "highlight", labels: "labels", markers: "markers", notes: "notes", outliers: "outliers", tooltip: "tooltip" }, providers: [ConfigurationService], queries: [{ propertyName: "seriesTooltip", first: true, predicate: SeriesTooltipComponent, descendants: true }, { propertyName: "drilldownTemplate", first: true, predicate: SeriesDrilldownTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
980
1010
|
}
|
|
981
1011
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SeriesItemComponent, decorators: [{
|
|
982
1012
|
type: Component,
|
|
@@ -1097,7 +1127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1097
1127
|
type: Input
|
|
1098
1128
|
}], startAngle: [{
|
|
1099
1129
|
type: Input
|
|
1100
|
-
}],
|
|
1130
|
+
}], lineStyle: [{
|
|
1101
1131
|
type: Input
|
|
1102
1132
|
}], summaryField: [{
|
|
1103
1133
|
type: Input
|
|
@@ -2914,8 +2944,8 @@ const packageMetadata = {
|
|
|
2914
2944
|
productName: 'Kendo UI for Angular',
|
|
2915
2945
|
productCode: 'KENDOUIANGULAR',
|
|
2916
2946
|
productCodes: ['KENDOUIANGULAR'],
|
|
2917
|
-
publishDate:
|
|
2918
|
-
version: '
|
|
2947
|
+
publishDate: 1776779097,
|
|
2948
|
+
version: '24.0.0-develop.1',
|
|
2919
2949
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2920
2950
|
};
|
|
2921
2951
|
|
|
@@ -3817,6 +3847,7 @@ class ChartComponent {
|
|
|
3817
3847
|
}
|
|
3818
3848
|
}
|
|
3819
3849
|
updateOptions() {
|
|
3850
|
+
normalizeSeriesOptions(this.options);
|
|
3820
3851
|
this.instance.setOptions(this.options, this.theme);
|
|
3821
3852
|
}
|
|
3822
3853
|
/**
|
|
@@ -6155,6 +6186,7 @@ class StockChartComponent extends ChartComponent {
|
|
|
6155
6186
|
}
|
|
6156
6187
|
updateOptions() {
|
|
6157
6188
|
this.applyNavigatorDefaults();
|
|
6189
|
+
normalizeSeriesOptions(this.options);
|
|
6158
6190
|
if (this.redrawSlaves) {
|
|
6159
6191
|
this.instance.applyOptions(this.options);
|
|
6160
6192
|
this.instance.bindCategories();
|
|
@@ -13,21 +13,19 @@
|
|
|
13
13
|
* @example
|
|
14
14
|
* ```ts
|
|
15
15
|
* import { Component } from '@angular/core';
|
|
16
|
-
* import { LineStyle } from '@progress/kendo-angular-charts';
|
|
17
16
|
*
|
|
18
17
|
* _@Component({
|
|
19
18
|
* selector: 'my-app',
|
|
20
19
|
* template: `
|
|
21
20
|
* <kendo-chart>
|
|
22
21
|
* <kendo-chart-series>
|
|
23
|
-
* <kendo-chart-series-item type="line" [data]="[1, 2, 1]"
|
|
22
|
+
* <kendo-chart-series-item type="line" [data]="[1, 2, 1]" lineStyle="smooth">
|
|
24
23
|
* </kendo-chart-series-item>
|
|
25
24
|
* </kendo-chart-series>
|
|
26
25
|
* </kendo-chart>
|
|
27
26
|
* `
|
|
28
27
|
* })
|
|
29
28
|
* export class AppComponent {
|
|
30
|
-
* public style: LineStyle = "smooth";
|
|
31
29
|
* }
|
|
32
30
|
*
|
|
33
31
|
* ```
|
|
@@ -345,11 +345,11 @@ export interface Series {
|
|
|
345
345
|
*/
|
|
346
346
|
startAngle?: number;
|
|
347
347
|
/**
|
|
348
|
-
* Specifies the style
|
|
348
|
+
* Specifies the line style configuration of the series.
|
|
349
349
|
* This option is supported when [`series.type`](https://www.telerik.com/kendo-angular-ui/components/charts/api/series#type) is set to
|
|
350
350
|
* `"line"`, `"scatterLine"`, `"radarLine"`, or `"polarLine"`.
|
|
351
351
|
*/
|
|
352
|
-
|
|
352
|
+
lineStyle?: LineStyle;
|
|
353
353
|
/**
|
|
354
354
|
* Specifies the data item field which contains the summary type for the Waterfall series.
|
|
355
355
|
* Discards the value (if any) of a data item marked as a summary point.
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "
|
|
10
|
+
"publishDate": 1776779097,
|
|
11
|
+
"version": "24.0.0-develop.1",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-charts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-develop.1",
|
|
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",
|
|
@@ -51,13 +51,27 @@
|
|
|
51
51
|
"file": "codemods/v19/charts-rendering-changes.js",
|
|
52
52
|
"instructionsOnly": true
|
|
53
53
|
}
|
|
54
|
+
],
|
|
55
|
+
"24": [
|
|
56
|
+
{
|
|
57
|
+
"description": "The `style` property of the Chart Series Item component has been renamed to `lineStyle`.",
|
|
58
|
+
"file": "codemods/v24/seriesitem-style.js"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"description": "The `style` property of the Chart Navigator Series Item component has been renamed to `lineStyle`.",
|
|
62
|
+
"file": "codemods/v24/navigatorseriesitem-style.js"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"description": "The `style` property of the `Series` interface has been renamed to `lineStyle`.",
|
|
66
|
+
"file": "codemods/v24/series-interface-style.js"
|
|
67
|
+
}
|
|
54
68
|
]
|
|
55
69
|
}
|
|
56
70
|
},
|
|
57
71
|
"package": {
|
|
58
72
|
"productName": "Kendo UI for Angular",
|
|
59
73
|
"productCode": "KENDOUIANGULAR",
|
|
60
|
-
"publishDate":
|
|
74
|
+
"publishDate": 1776779097,
|
|
61
75
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
62
76
|
}
|
|
63
77
|
},
|
|
@@ -67,18 +81,18 @@
|
|
|
67
81
|
"@angular/core": "19 - 21",
|
|
68
82
|
"@angular/platform-browser": "19 - 21",
|
|
69
83
|
"@progress/kendo-drawing": "^1.24.1",
|
|
70
|
-
"@progress/kendo-licensing": "^1.
|
|
71
|
-
"@progress/kendo-angular-common": "
|
|
72
|
-
"@progress/kendo-angular-intl": "
|
|
73
|
-
"@progress/kendo-angular-icons": "
|
|
74
|
-
"@progress/kendo-angular-l10n": "
|
|
75
|
-
"@progress/kendo-angular-popup": "
|
|
76
|
-
"@progress/kendo-angular-navigation": "
|
|
84
|
+
"@progress/kendo-licensing": "^1.11.0",
|
|
85
|
+
"@progress/kendo-angular-common": "24.0.0-develop.1",
|
|
86
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.1",
|
|
87
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.1",
|
|
88
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.1",
|
|
89
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.1",
|
|
90
|
+
"@progress/kendo-angular-navigation": "24.0.0-develop.1",
|
|
77
91
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
78
92
|
},
|
|
79
93
|
"dependencies": {
|
|
80
94
|
"tslib": "^2.3.1",
|
|
81
|
-
"@progress/kendo-angular-schematics": "
|
|
95
|
+
"@progress/kendo-angular-schematics": "24.0.0-develop.1",
|
|
82
96
|
"@progress/kendo-charts": "2.11.3",
|
|
83
97
|
"@progress/kendo-svg-icons": "^4.0.0"
|
|
84
98
|
},
|