Skip to content

Commit

Permalink
Pull request #5446: Bugfix/DXCF-5792 indicators values for indicators…
Browse files Browse the repository at this point in the history
… in the legend are displayed incorrectly when

Merge in DXCHARTS/dxchart5 from bugfix/DXCF-5792-indicators-values-for-indicators-in-the-legend-are-displayed-incorrectly-when to master

* commit '36c003f3e91eef3dcc355afa9f8cac1cdbe9ddda':
  [DXCF-5792] Indicators - Values for indicators in the legend are displayed incorrectly when several indicators are added // init
  [DXCF-5792] Indicators - Values for indicators in the legend are displayed incorrectly when several indicators are added // fix docs lite examples viewport
  [DXCF-5792] Indicators - Values for indicators in the legend are displayed incorrectly when several indicators are added // init
  [DXCF-5792] Indicators - Values for indicators in the legend are displayed incorrectly when several indicators are added // init

GitOrigin-RevId: 16e91aecfe596c79506dd52d0532149bf6da0a8b
  • Loading branch information
Keelaro1 authored and dxcity committed Feb 5, 2025
1 parent f48aac0 commit ecdc6c3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion src/chart/components/chart/chart.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class ChartModel extends ChartBaseElement {
const nextYAxisWidth = this.canvasBoundsContainer.getEffectiveYAxisWidth();

if (this.prevChartWidth === 0 && this.scale) {
this.scale.isViewportValid(false) && this.scale.recalculateZoom();
this.scale.isViewportValid(false) ? this.scale.recalculateZoom() : this.doBasicScale();
this.prevChartWidth = nextChartWidth;
this.prevYWidth = nextYAxisWidth;
return;
Expand Down
5 changes: 0 additions & 5 deletions src/chart/components/y_axis/y-axis-scale.handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (C) 2019 - 2024 Devexperts Solutions IE Limited
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
import { Subject } from 'rxjs';
import {
CanvasBoundsContainer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

import { VisualSeriesPoint, DataSeriesModel } from '../../model/data-series.model';
import { flat } from '../../utils/array.utils';
import { SeriesDrawer } from '../data-series.drawer';
Expand Down
5 changes: 0 additions & 5 deletions src/chart/utils/object.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
/*
* Copyright (C) 2019 - 2024 Devexperts Solutions IE Limited
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
/**
* @description
* Helps with the partial objects functions arguments, but errors the empty object case, which is allowed by simple Partial<T>
Expand Down

0 comments on commit ecdc6c3

Please sign in to comment.