Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions projects/charts-ng/common/si-chart-base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
}
if (changes.theme || changes.renderer) {
// need to completely redo the chart for the theme change to take effect
return this.resetChart();

Check warning on line 392 in projects/charts-ng/common/si-chart-base.component.ts

View workflow job for this annotation

GitHub Actions / verification

`resetChart` is deprecated. The method is deprecated and should not be used directly by the consumer
}

let updates = 0;
Expand Down Expand Up @@ -767,9 +767,9 @@
if (paletteValue) {
const palette = this.getThemeCustomValue(['colorPalettes', paletteValue], null);
if (palette) {
this.actualOptions.color = palette;
this.actualOptions.color = Array.isArray(palette) ? palette.filter(Boolean) : palette;
if (this.customLegendAction()) {
this.fetchSeriesColors(palette);
this.fetchSeriesColors(this.actualOptions.color);
}
}
}
Expand Down Expand Up @@ -818,7 +818,7 @@
? this.getThemeCustomValue(['externalZoomSlider', 'grid'], {})
: this.getThemeCustomValue(['dataZoom', 'grid'], {});

if (this.showTimeRangeBar()) {

Check warning on line 821 in projects/charts-ng/common/si-chart-base.component.ts

View workflow job for this annotation

GitHub Actions / verification

`showTimeRangeBar` is deprecated. The input will be removed in future versions as the time range bar slot is deprecated
const timeBarOptions = this.getThemeCustomValue(['timeRangeBar'], {});
if (customOptions.height && customOptions.bottom) {
this.timeBarBottom.set(customOptions.height + customOptions.bottom);
Expand Down
Loading