diff --git a/src/chart/chart.config.ts b/src/chart/chart.config.ts index 45cf8d6..98d03e4 100644 --- a/src/chart/chart.config.ts +++ b/src/chart/chart.config.ts @@ -115,6 +115,7 @@ export const getDefaultConfig = (): FullChartConfig => ({ histogram: { barCapSize: 1, }, + maxYAxisScalesAmount: 10, sortCandles: defaultSortCandles, }, yAxis: { @@ -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[]; } diff --git a/src/chart/inputhandlers/cross-event-producer.component.ts b/src/chart/inputhandlers/cross-event-producer.component.ts index 7fedf81..bf093d0 100644 --- a/src/chart/inputhandlers/cross-event-producer.component.ts +++ b/src/chart/inputhandlers/cross-event-producer.component.ts @@ -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. diff --git a/src/chart/inputhandlers/hover-producer.component.ts b/src/chart/inputhandlers/hover-producer.component.ts index 9f2d89c..ecd724c 100644 --- a/src/chart/inputhandlers/hover-producer.component.ts +++ b/src/chart/inputhandlers/hover-producer.component.ts @@ -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.