@siemens/charts-ng 48.3.0 → 48.4.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.
@@ -2756,7 +2756,7 @@ class SiChartCircleComponent extends SiChartComponent {
2756
2756
  : 0;
2757
2757
  const top = 32 + offset;
2758
2758
  this.series()?.forEach(series => {
2759
- const s = Object.assign({ type: 'pie', top }, series);
2759
+ const s = { type: 'pie', top, ...series };
2760
2760
  optionSeries.push(s);
2761
2761
  if (this.showLegend()) {
2762
2762
  series.data.forEach(data => {
@@ -3534,7 +3534,7 @@ class SiChartSankeyComponent extends SiChartComponent {
3534
3534
  applyOptions() {
3535
3535
  const series = this.series();
3536
3536
  this.actualOptions = {
3537
- series: series ? Object.assign({ type: 'sankey' }, series) : [],
3537
+ series: series ? [{ type: 'sankey', ...series }] : [],
3538
3538
  tooltip: { show: this.toolTip() || this.tooltip() }
3539
3539
  };
3540
3540
  this.applyTitles();
@@ -3569,7 +3569,7 @@ class SiChartSunburstComponent extends SiChartComponent {
3569
3569
  applyOptions() {
3570
3570
  const series = this.series();
3571
3571
  this.actualOptions = {
3572
- series: series ? Object.assign({ type: 'sunburst' }, series) : [],
3572
+ series: series ? [{ type: 'sunburst', ...series }] : [],
3573
3573
  tooltip: { show: this.toolTip() || this.tooltip() }
3574
3574
  };
3575
3575
  this.applyTitles();