@siemens/charts-ng 48.8.0 → 48.10.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/index.d.ts CHANGED
@@ -415,8 +415,13 @@ declare class SiChartComponent implements AfterViewInit, OnChanges, OnInit, OnDe
415
415
  private calculateTextWidth;
416
416
  private disposeChart;
417
417
  ngOnDestroy(): void;
418
+ /**
419
+ * Switch theme using echarts api, which does not need reloading the whole chart.
420
+ */
421
+ themeSwitch(): void;
418
422
  /**
419
423
  * Re-render the whole chart.
424
+ * @deprecated The method is deprecated and should not be used directly by the consumer.
420
425
  */
421
426
  resetChart(): void;
422
427
  protected handleLegendClick(legend: CustomLegendItem): void;
@@ -1185,6 +1190,7 @@ declare const themeSupport: {
1185
1190
  pie: {
1186
1191
  radius: (string | number)[];
1187
1192
  label: {
1193
+ distanceToLabelLine: number;
1188
1194
  fontFamily: string | undefined;
1189
1195
  formatter: string;
1190
1196
  color: string;
@@ -1192,6 +1198,7 @@ declare const themeSupport: {
1192
1198
  fontSize: number;
1193
1199
  };
1194
1200
  labelLine: {
1201
+ length: number;
1195
1202
  length2: number;
1196
1203
  lineStyle: {
1197
1204
  color: string;
@@ -1589,6 +1596,7 @@ declare const themeElement: {
1589
1596
  pie: {
1590
1597
  radius: (string | number)[];
1591
1598
  label: {
1599
+ distanceToLabelLine: number;
1592
1600
  fontFamily: string | undefined;
1593
1601
  formatter: string;
1594
1602
  color: string;
@@ -1596,6 +1604,7 @@ declare const themeElement: {
1596
1604
  fontSize: number;
1597
1605
  };
1598
1606
  labelLine: {
1607
+ length: number;
1599
1608
  length2: number;
1600
1609
  lineStyle: {
1601
1610
  color: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@siemens/charts-ng",
3
3
  "description": "Element Charts library.",
4
- "version": "48.8.0",
4
+ "version": "48.10.0",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -18,8 +18,8 @@
18
18
  },
19
19
  "type": "module",
20
20
  "peerDependencies": {
21
- "@angular/common": "20",
22
- "@angular/core": "20",
21
+ "@angular/common": "20 - 21",
22
+ "@angular/core": "20 - 21",
23
23
  "echarts": "^6.0.0"
24
24
  },
25
25
  "exports": {