Skip to content

Commit

Permalink
Pull request #5303: Feature/DXCF-5560 new web multiple scales add ini…
Browse files Browse the repository at this point in the history
…tial configuration to chart config

Merge in DXCHARTS/dxchart5 from feature/DXCF-5560-new-web-multiple-scales-add-initial-configuration-to-chart-config to master

* commit 'd61f1d3363a15347806f720afc457aa875d48a7c':
  [DXCF-5560] [Web] Multiple scales - add initial configuration to chart config // pr fix
  [DXCF-5560] [Web] Multiple scales - add initial configuration to chart config // init
  [DXCF-5560] [Web] Multiple scales - add initial configuration to chart config // init
  [DXCF-5560] [Web] Multiple scales - add initial configuration to chart config // init

GitOrigin-RevId: 192236b4d3b3a59b92074e13bd83f1927f16217f
  • Loading branch information
Keelaro1 authored and dxcity committed Nov 19, 2024
1 parent 8f35039 commit 41cc122
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions src/chart/chart.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export const getDefaultConfig = (): FullChartConfig => ({
histogram: {
barCapSize: 1,
},
maxYAxisScalesAmount: 10,
sortCandles: defaultSortCandles,
},
yAxis: {
Expand Down Expand Up @@ -984,6 +985,10 @@ export interface ChartConfigComponentsChart {
selectedWidth: number;
minCandlesOffset: number;
histogram: ChartConfigComponentsHistogram;
/**
* The maximum amount of Y axis scales on a single chart
*/
maxYAxisScalesAmount: number;
// optional because backward compability
sortCandles?: (candles: Candle[]) => Candle[];
}
Expand Down
5 changes: 0 additions & 5 deletions src/chart/inputhandlers/cross-event-producer.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* 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/.
*/
/*
* 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.
Expand Down
5 changes: 0 additions & 5 deletions src/chart/inputhandlers/hover-producer.component.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
/*
* 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/.
*/
/*
* 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.
Expand Down

0 comments on commit 41cc122

Please sign in to comment.