@progress/kendo-angular-charts 23.4.0 → 24.0.0-develop.10
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/NOTICE.txt +2599 -172
- package/chart/series-item.component.d.ts +7 -3
- package/codemods/libs/charts/codemods/v24/navigatorseriesitem-style.js +25 -0
- package/codemods/libs/charts/codemods/v24/series-interface-style.js +14 -0
- package/codemods/libs/charts/codemods/v24/seriesitem-style.js +25 -0
- package/common/copy-changes.d.ts +9 -0
- package/fesm2022/progress-kendo-angular-charts.mjs +47 -7
- 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 +23 -9
|
@@ -346,11 +346,15 @@ 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
|
+
/**
|
|
355
|
+
* @hidden
|
|
356
|
+
*/
|
|
357
|
+
set style(value: LineStyle);
|
|
354
358
|
/**
|
|
355
359
|
* Specifies the data item field which contains the summary type for the Waterfall series.
|
|
356
360
|
* The value (if any) of a data item marked as a summary point will be discarded.
|
|
@@ -539,5 +543,5 @@ export declare class SeriesItemComponent extends CollectionItemComponent impleme
|
|
|
539
543
|
togglePointVisibility(pointIndex: number): void;
|
|
540
544
|
get seriesTooltipTemplateRef(): TemplateRef<any>;
|
|
541
545
|
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; }; "style": { "alias": "style"; "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>;
|
|
546
|
+
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; }; "style": { "alias": "style"; "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
547
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
9
|
+
const fs = tslib_1.__importStar(require("fs"));
|
|
10
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
11
|
+
function default_1(fileInfo, api) {
|
|
12
|
+
const filePath = fileInfo.path;
|
|
13
|
+
const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-chart-navigator-series-item', 'style', 'lineStyle'));
|
|
14
|
+
if (filePath.endsWith('.html')) {
|
|
15
|
+
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
16
|
+
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
17
|
+
return htmlResult;
|
|
18
|
+
}
|
|
19
|
+
return fileInfo.source;
|
|
20
|
+
}
|
|
21
|
+
const j = api.jscodeshift;
|
|
22
|
+
const rootSource = j(htmlResult || fileInfo.source);
|
|
23
|
+
(0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'NavigatorSeriesItemComponent', 'style', 'lineStyle');
|
|
24
|
+
return rootSource.toSource();
|
|
25
|
+
}
|
|
@@ -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 codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
9
|
+
function default_1(fileInfo, api) {
|
|
10
|
+
const j = api.jscodeshift;
|
|
11
|
+
const rootSource = j(fileInfo.source);
|
|
12
|
+
(0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'Series', 'style', 'lineStyle');
|
|
13
|
+
return rootSource.toSource();
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
9
|
+
const fs = tslib_1.__importStar(require("fs"));
|
|
10
|
+
const codemods_1 = require("@progress/kendo-angular-common/codemods");
|
|
11
|
+
function default_1(fileInfo, api) {
|
|
12
|
+
const filePath = fileInfo.path;
|
|
13
|
+
const htmlResult = (0, codemods_1.htmlTransformer)(fileInfo, api, (templateContent) => (0, codemods_1.attributeNameUpdate)(templateContent, 'kendo-chart-series-item', 'style', 'lineStyle'));
|
|
14
|
+
if (filePath.endsWith('.html')) {
|
|
15
|
+
if (htmlResult && htmlResult !== fileInfo.source) {
|
|
16
|
+
fs.writeFileSync(filePath, htmlResult, 'utf-8');
|
|
17
|
+
return htmlResult;
|
|
18
|
+
}
|
|
19
|
+
return fileInfo.source;
|
|
20
|
+
}
|
|
21
|
+
const j = api.jscodeshift;
|
|
22
|
+
const rootSource = j(htmlResult || fileInfo.source);
|
|
23
|
+
(0, codemods_1.tsPropertyTransformer)(fileInfo.source, rootSource, j, '@progress/kendo-angular-charts', 'SeriesItemComponent', 'style', 'lineStyle');
|
|
24
|
+
return rootSource.toSource();
|
|
25
|
+
}
|
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,17 @@ 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;
|
|
805
|
+
/**
|
|
806
|
+
* @hidden
|
|
807
|
+
*/
|
|
808
|
+
set style(value) {
|
|
809
|
+
this.lineStyle = value;
|
|
810
|
+
}
|
|
775
811
|
/**
|
|
776
812
|
* Specifies the data item field which contains the summary type for the Waterfall series.
|
|
777
813
|
* The value (if any) of a data item marked as a summary point will be discarded.
|
|
@@ -976,7 +1012,7 @@ class SeriesItemComponent extends CollectionItemComponent {
|
|
|
976
1012
|
}
|
|
977
1013
|
}
|
|
978
1014
|
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", style: "style", 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 });
|
|
1015
|
+
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", style: "style", 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
1016
|
}
|
|
981
1017
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: SeriesItemComponent, decorators: [{
|
|
982
1018
|
type: Component,
|
|
@@ -1097,6 +1133,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImpo
|
|
|
1097
1133
|
type: Input
|
|
1098
1134
|
}], startAngle: [{
|
|
1099
1135
|
type: Input
|
|
1136
|
+
}], lineStyle: [{
|
|
1137
|
+
type: Input
|
|
1100
1138
|
}], style: [{
|
|
1101
1139
|
type: Input
|
|
1102
1140
|
}], summaryField: [{
|
|
@@ -2914,8 +2952,8 @@ const packageMetadata = {
|
|
|
2914
2952
|
productName: 'Kendo UI for Angular',
|
|
2915
2953
|
productCode: 'KENDOUIANGULAR',
|
|
2916
2954
|
productCodes: ['KENDOUIANGULAR'],
|
|
2917
|
-
publishDate:
|
|
2918
|
-
version: '
|
|
2955
|
+
publishDate: 1777368215,
|
|
2956
|
+
version: '24.0.0-develop.10',
|
|
2919
2957
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2920
2958
|
};
|
|
2921
2959
|
|
|
@@ -3817,6 +3855,7 @@ class ChartComponent {
|
|
|
3817
3855
|
}
|
|
3818
3856
|
}
|
|
3819
3857
|
updateOptions() {
|
|
3858
|
+
normalizeSeriesOptions(this.options);
|
|
3820
3859
|
this.instance.setOptions(this.options, this.theme);
|
|
3821
3860
|
}
|
|
3822
3861
|
/**
|
|
@@ -6155,6 +6194,7 @@ class StockChartComponent extends ChartComponent {
|
|
|
6155
6194
|
}
|
|
6156
6195
|
updateOptions() {
|
|
6157
6196
|
this.applyNavigatorDefaults();
|
|
6197
|
+
normalizeSeriesOptions(this.options);
|
|
6158
6198
|
if (this.redrawSlaves) {
|
|
6159
6199
|
this.instance.applyOptions(this.options);
|
|
6160
6200
|
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": 1777368215,
|
|
11
|
+
"version": "24.0.0-develop.10",
|
|
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.10",
|
|
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": 1777368215,
|
|
61
75
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
62
76
|
}
|
|
63
77
|
},
|
|
@@ -68,17 +82,17 @@
|
|
|
68
82
|
"@angular/platform-browser": "19 - 21",
|
|
69
83
|
"@progress/kendo-drawing": "^1.24.1",
|
|
70
84
|
"@progress/kendo-licensing": "^1.11.0",
|
|
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": "
|
|
85
|
+
"@progress/kendo-angular-common": "24.0.0-develop.10",
|
|
86
|
+
"@progress/kendo-angular-intl": "24.0.0-develop.10",
|
|
87
|
+
"@progress/kendo-angular-icons": "24.0.0-develop.10",
|
|
88
|
+
"@progress/kendo-angular-l10n": "24.0.0-develop.10",
|
|
89
|
+
"@progress/kendo-angular-popup": "24.0.0-develop.10",
|
|
90
|
+
"@progress/kendo-angular-navigation": "24.0.0-develop.10",
|
|
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.10",
|
|
82
96
|
"@progress/kendo-charts": "2.11.3",
|
|
83
97
|
"@progress/kendo-svg-icons": "^4.0.0"
|
|
84
98
|
},
|