diff --git a/docs/codesandbox/cli/model/html.ts b/docs/codesandbox/cli/model/html.ts
index 2d022d86..48ce1ae2 100644
--- a/docs/codesandbox/cli/model/html.ts
+++ b/docs/codesandbox/cli/model/html.ts
@@ -14,7 +14,7 @@ interface HTMLImport {
export const isHTMLFile = (filepath: string) => getFileName(filepath)?.includes('html') ?? false;
-export const combineRelativeParsedImportToAbsolute = (htmlFile: string, originalFilepath: string) =>
+export const combineRelativeParsedImportToAbsolute = (htmlFile: string, originalFilepath: string) =>
path.resolve(htmlFile, `../${originalFilepath}`);
export const parseHTMLImports = (htmlFilepath: string, html: string): HTMLImport[] => {
@@ -87,9 +87,9 @@ export const HTMLFilesToCSBPayload = (htmlFiles: string[]): CodeSandboxPayload =
const htmlContent = getFileContent(htmlFile);
const parsedHTMLImports = parseHTMLImports(htmlFile, htmlContent);
- const csbPayloadFromHTMLImports = filesToCSBPayload(parsedHTMLImports.map(i =>
- combineRelativeParsedImportToAbsolute(htmlFile, i.originalFilepath)
- ));
+ const csbPayloadFromHTMLImports = filesToCSBPayload(
+ parsedHTMLImports.map(i => combineRelativeParsedImportToAbsolute(htmlFile, i.originalFilepath)),
+ );
htmlCSBPayload = concatCSBPayload(htmlCSBPayload, csbPayloadFromHTMLImports);
const htmlContentWithNewImports = replaceHTMLImports(htmlContent, parsedHTMLImports);
diff --git a/src/chart/__tests__/chart.test.ts b/src/chart/__tests__/chart.test.ts
index bf0d4289..d6ef284a 100644
--- a/src/chart/__tests__/chart.test.ts
+++ b/src/chart/__tests__/chart.test.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 './env';
import { createChart } from '../../index';
import { generateCandlesDataTS } from '../utils/candles-generator-ts.utils';
diff --git a/src/chart/__tests__/env.ts b/src/chart/__tests__/env.ts
index 26c6bcc6..8b5e760d 100644
--- a/src/chart/__tests__/env.ts
+++ b/src/chart/__tests__/env.ts
@@ -1,3 +1,8 @@
+/*
+ * 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/.
+ */
/* @see https://jestjs.io/docs/29.4/manual-mocks#mocking-methods-which-are-not-implemented-in-jsdom */
Object.defineProperty(window, 'matchMedia', {
writable: true,
diff --git a/src/chart/__tests__/model/date-time.formatter.test.ts b/src/chart/__tests__/model/date-time.formatter.test.ts
index efe2c45b..9def1f3d 100644
--- a/src/chart/__tests__/model/date-time.formatter.test.ts
+++ b/src/chart/__tests__/model/date-time.formatter.test.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 '../env';
import { formatDate, getShortDays, getShortMonths } from '../../model/date-time.formatter';
import { getDefaultConfig } from '../../chart.config';
diff --git a/src/chart/animation/canvas-animation.ts b/src/chart/animation/canvas-animation.ts
index 3d313236..2b1a3096 100644
--- a/src/chart/animation/canvas-animation.ts
+++ b/src/chart/animation/canvas-animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/animation/types/animation.ts b/src/chart/animation/types/animation.ts
index 50166aba..69f5418d 100644
--- a/src/chart/animation/types/animation.ts
+++ b/src/chart/animation/types/animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/animation/types/color-alpha-animation.ts b/src/chart/animation/types/color-alpha-animation.ts
index d7296467..a2a77bec 100644
--- a/src/chart/animation/types/color-alpha-animation.ts
+++ b/src/chart/animation/types/color-alpha-animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/animation/types/color-transition-animation.ts b/src/chart/animation/types/color-transition-animation.ts
index f89e4d25..10da281d 100644
--- a/src/chart/animation/types/color-transition-animation.ts
+++ b/src/chart/animation/types/color-transition-animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/animation/types/viewport-movement-animation.ts b/src/chart/animation/types/viewport-movement-animation.ts
index 616f59be..633c5564 100644
--- a/src/chart/animation/types/viewport-movement-animation.ts
+++ b/src/chart/animation/types/viewport-movement-animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/animation/viewport-model-animation.ts b/src/chart/animation/viewport-model-animation.ts
index 3b10b56c..c93e2273 100644
--- a/src/chart/animation/viewport-model-animation.ts
+++ b/src/chart/animation/viewport-model-animation.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/canvas-bounds-container.ts b/src/chart/canvas/canvas-bounds-container.ts
index b255533b..f68d13f5 100644
--- a/src/chart/canvas/canvas-bounds-container.ts
+++ b/src/chart/canvas/canvas-bounds-container.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/canvas-chart-html.ts b/src/chart/canvas/canvas-chart-html.ts
index 1f6116db..14bf14d2 100644
--- a/src/chart/canvas/canvas-chart-html.ts
+++ b/src/chart/canvas/canvas-chart-html.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/chart-elements.ts b/src/chart/canvas/chart-elements.ts
index e32dc410..93de6d20 100644
--- a/src/chart/canvas/chart-elements.ts
+++ b/src/chart/canvas/chart-elements.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/cursor.handler.ts b/src/chart/canvas/cursor.handler.ts
index a895e281..662879b0 100644
--- a/src/chart/canvas/cursor.handler.ts
+++ b/src/chart/canvas/cursor.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/layout-creator.ts b/src/chart/canvas/layout-creator.ts
index 73bb3470..b85787f2 100644
--- a/src/chart/canvas/layout-creator.ts
+++ b/src/chart/canvas/layout-creator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/canvas/y-axis-bounds.container.ts b/src/chart/canvas/y-axis-bounds.container.ts
index 19f121e0..be5da8b9 100644
--- a/src/chart/canvas/y-axis-bounds.container.ts
+++ b/src/chart/canvas/y-axis-bounds.container.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/chart.ts b/src/chart/chart.ts
index a341d9eb..c2f2cf77 100644
--- a/src/chart/chart.ts
+++ b/src/chart/chart.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 ChartBootstrap from './bootstrap';
import { BarType, PartialChartConfig } from './chart.config';
import { CandleSeries } from './components/chart/chart.component';
diff --git a/src/chart/components/chart/basic-scale.ts b/src/chart/components/chart/basic-scale.ts
index 1cffda52..de3513dd 100644
--- a/src/chart/components/chart/basic-scale.ts
+++ b/src/chart/components/chart/basic-scale.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/chart/candle-width-calculator.functions.ts b/src/chart/components/chart/candle-width-calculator.functions.ts
index 675fcfe3..c38a561d 100644
--- a/src/chart/components/chart/candle-width-calculator.functions.ts
+++ b/src/chart/components/chart/candle-width-calculator.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/chart/chart-area-pan.handler.ts b/src/chart/components/chart/chart-area-pan.handler.ts
index 7d4b70cd..f27b6fe5 100644
--- a/src/chart/components/chart/chart-area-pan.handler.ts
+++ b/src/chart/components/chart/chart-area-pan.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/chart/chart-base.model.ts b/src/chart/components/chart/chart-base.model.ts
index ebea9d84..70bc75b9 100644
--- a/src/chart/components/chart/chart-base.model.ts
+++ b/src/chart/components/chart/chart-base.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -50,7 +50,11 @@ export class ChartBaseModel {
* @param timestamp
*/
// TODO think how to make this function like candleFromX
- public dataFromTimestamp(timestamp: Timestamp, shouldExtrapolate: boolean = true, selectedDataPoints: DataPoint[] = this.mainDataPoints): VisualPoint {
+ public dataFromTimestamp(
+ timestamp: Timestamp,
+ shouldExtrapolate: boolean = true,
+ selectedDataPoints: DataPoint[] = this.mainDataPoints,
+ ): VisualPoint {
const result = searchCandleIndex(timestamp, shouldExtrapolate, selectedDataPoints, this.period);
return this.dataFromIdx(result.index);
}
diff --git a/src/chart/components/chart/data-series.high-low-provider.ts b/src/chart/components/chart/data-series.high-low-provider.ts
index 7ace0e8b..fd704657 100644
--- a/src/chart/components/chart/data-series.high-low-provider.ts
+++ b/src/chart/components/chart/data-series.high-low-provider.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/chart/fake-visual-candle.ts b/src/chart/components/chart/fake-visual-candle.ts
index de0dab32..2a8ebe02 100644
--- a/src/chart/components/chart/fake-visual-candle.ts
+++ b/src/chart/components/chart/fake-visual-candle.ts
@@ -1,8 +1,13 @@
-import { Candle, nameDirection } from "../../model/candle.model";
-import { DataSeriesPoint, VisualSeriesPoint } from "../../model/data-series.model";
-import { Index, Pixel, Unit } from "../../model/scaling/viewport.model";
-import VisualCandle from "../../model/visual-candle";
-import { DEFAULT_PERIOD, fakeCandle, fakeDataPoint } from "./fake-candles";
+/*
+ * 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 { Candle, nameDirection } from '../../model/candle.model';
+import { DataSeriesPoint, VisualSeriesPoint } from '../../model/data-series.model';
+import { Index, Pixel, Unit } from '../../model/scaling/viewport.model';
+import VisualCandle from '../../model/visual-candle';
+import { DEFAULT_PERIOD, fakeCandle, fakeDataPoint } from './fake-candles';
/**
* Generates fake candle for left and right "out of data range" zones.
@@ -68,4 +73,4 @@ export const fakeVisualPoint = (
x = firstCandle.centerUnit - offsetFromFirst;
}
return new VisualSeriesPoint(x, candle.close);
-};
\ No newline at end of file
+};
diff --git a/src/chart/components/chart/price.formatter.ts b/src/chart/components/chart/price.formatter.ts
index 74f59890..ca980144 100644
--- a/src/chart/components/chart/price.formatter.ts
+++ b/src/chart/components/chart/price.formatter.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/chart/secondary-chart-colors-pool.ts b/src/chart/components/chart/secondary-chart-colors-pool.ts
index c5eb5e38..07b3e729 100644
--- a/src/chart/components/chart/secondary-chart-colors-pool.ts
+++ b/src/chart/components/chart/secondary-chart-colors-pool.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/cross_tool/cross-tool.component.ts b/src/chart/components/cross_tool/cross-tool.component.ts
index 2feec13f..7b75ed6c 100644
--- a/src/chart/components/cross_tool/cross-tool.component.ts
+++ b/src/chart/components/cross_tool/cross-tool.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -63,22 +63,11 @@ export class CrossToolComponent extends ChartBaseElement {
private registerDefaultDrawerTypes() {
this.registerCrossToolTypeDrawer(
'cross-and-labels',
- new CrossAndLabelsDrawerType(
- this.config,
- this.canvasBoundsContainer,
- this.paneManager,
- () => true,
- ),
+ new CrossAndLabelsDrawerType(this.config, this.canvasBoundsContainer, this.paneManager, () => true),
);
this.registerCrossToolTypeDrawer(
'just-labels',
- new CrossAndLabelsDrawerType(
- this.config,
- this.canvasBoundsContainer,
- this.paneManager,
- () => true,
- true,
- ),
+ new CrossAndLabelsDrawerType(this.config, this.canvasBoundsContainer, this.paneManager, () => true, true),
);
this.registerCrossToolTypeDrawer('none', new NoneDrawerType());
}
diff --git a/src/chart/components/cross_tool/cross-tool.drawer.ts b/src/chart/components/cross_tool/cross-tool.drawer.ts
index 1a5bede9..ac8018c4 100644
--- a/src/chart/components/cross_tool/cross-tool.drawer.ts
+++ b/src/chart/components/cross_tool/cross-tool.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/cross_tool/cross-tool.model.ts b/src/chart/components/cross_tool/cross-tool.model.ts
index 84d78ffb..3206f6f2 100644
--- a/src/chart/components/cross_tool/cross-tool.model.ts
+++ b/src/chart/components/cross_tool/cross-tool.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/cross_tool/types/cross-and-labels.drawer.ts b/src/chart/components/cross_tool/types/cross-and-labels.drawer.ts
index 25fb9a06..dc3639cc 100644
--- a/src/chart/components/cross_tool/types/cross-and-labels.drawer.ts
+++ b/src/chart/components/cross_tool/types/cross-and-labels.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/cross_tool/types/none.drawer.ts b/src/chart/components/cross_tool/types/none.drawer.ts
index 9f0347e2..6bdadab2 100644
--- a/src/chart/components/cross_tool/types/none.drawer.ts
+++ b/src/chart/components/cross_tool/types/none.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/dran-n-drop_helper/drag-n-drop-x.component.ts b/src/chart/components/dran-n-drop_helper/drag-n-drop-x.component.ts
index a70d77c9..8eae1195 100644
--- a/src/chart/components/dran-n-drop_helper/drag-n-drop-x.component.ts
+++ b/src/chart/components/dran-n-drop_helper/drag-n-drop-x.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/dran-n-drop_helper/drag-n-drop-y.component.ts b/src/chart/components/dran-n-drop_helper/drag-n-drop-y.component.ts
index e0d7a27b..9932bc0c 100644
--- a/src/chart/components/dran-n-drop_helper/drag-n-drop-y.component.ts
+++ b/src/chart/components/dran-n-drop_helper/drag-n-drop-y.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/dran-n-drop_helper/drag-n-drop.component.ts b/src/chart/components/dran-n-drop_helper/drag-n-drop.component.ts
index e666a51e..3ea8eed9 100644
--- a/src/chart/components/dran-n-drop_helper/drag-n-drop.component.ts
+++ b/src/chart/components/dran-n-drop_helper/drag-n-drop.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/dynamic-objects/dynamic-objects.component.ts b/src/chart/components/dynamic-objects/dynamic-objects.component.ts
index 14507e46..e4f2a2d3 100644
--- a/src/chart/components/dynamic-objects/dynamic-objects.component.ts
+++ b/src/chart/components/dynamic-objects/dynamic-objects.component.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 { DrawingManager } from '../../drawers/drawing-manager';
import { CanvasModel } from '../../model/canvas.model';
import { ChartBaseElement } from '../../model/chart-base-element';
diff --git a/src/chart/components/dynamic-objects/dynamic-objects.drawer.ts b/src/chart/components/dynamic-objects/dynamic-objects.drawer.ts
index 52a7cf9e..0d8d0630 100644
--- a/src/chart/components/dynamic-objects/dynamic-objects.drawer.ts
+++ b/src/chart/components/dynamic-objects/dynamic-objects.drawer.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 { Drawer } from '../../drawers/drawing-manager';
import { CanvasModel } from '../../model/canvas.model';
import { DynamicObjectsModel } from './dynamic-objects.model';
diff --git a/src/chart/components/dynamic-objects/dynamic-objects.model.ts b/src/chart/components/dynamic-objects/dynamic-objects.model.ts
index d59bb16d..7efa493f 100644
--- a/src/chart/components/dynamic-objects/dynamic-objects.model.ts
+++ b/src/chart/components/dynamic-objects/dynamic-objects.model.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 { BehaviorSubject } from 'rxjs';
import { ChartBaseElement } from '../../model/chart-base-element';
import { LinkedList, ListNode } from '../../utils/linkedList.utils';
diff --git a/src/chart/components/events/events-hit-test.drawer.ts b/src/chart/components/events/events-hit-test.drawer.ts
index 9fcbf53b..27e76618 100644
--- a/src/chart/components/events/events-hit-test.drawer.ts
+++ b/src/chart/components/events/events-hit-test.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/events/events.component.ts b/src/chart/components/events/events.component.ts
index 62bbdb2a..7d6a6baf 100644
--- a/src/chart/components/events/events.component.ts
+++ b/src/chart/components/events/events.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/events/events.drawer.ts b/src/chart/components/events/events.drawer.ts
index 9284daf7..2c6cac01 100644
--- a/src/chart/components/events/events.drawer.ts
+++ b/src/chart/components/events/events.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -201,7 +201,6 @@ export class EventsDrawer implements Drawer {
ctx.strokeStyle = this.config.colors.xAxis.backgroundColor;
ctx.fillRect(x - width / 2, xAxisBounds.y + 1, width, xAxisBounds.height - 1);
-
ctx.fillStyle = this.config.colors.events[event.type].color;
ctx.fillText(labelText, x - width / 2, y);
}
diff --git a/src/chart/components/events/events.model.ts b/src/chart/components/events/events.model.ts
index 513287b1..818d9374 100644
--- a/src/chart/components/events/events.model.ts
+++ b/src/chart/components/events/events.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/grid/grid.component.ts b/src/chart/components/grid/grid.component.ts
index 8c9ca0f3..e0369aa8 100644
--- a/src/chart/components/grid/grid.component.ts
+++ b/src/chart/components/grid/grid.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/grid/grid.drawer.ts b/src/chart/components/grid/grid.drawer.ts
index 1be196f9..06875781 100644
--- a/src/chart/components/grid/grid.drawer.ts
+++ b/src/chart/components/grid/grid.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/high_low/high-low.component.ts b/src/chart/components/high_low/high-low.component.ts
index d77e3695..9fbd3cc1 100644
--- a/src/chart/components/high_low/high-low.component.ts
+++ b/src/chart/components/high_low/high-low.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/high_low/high-low.drawer.ts b/src/chart/components/high_low/high-low.drawer.ts
index f8e6f748..81a3a699 100644
--- a/src/chart/components/high_low/high-low.drawer.ts
+++ b/src/chart/components/high_low/high-low.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/highlights/highlights.component.ts b/src/chart/components/highlights/highlights.component.ts
index d7bab814..64f8af1f 100644
--- a/src/chart/components/highlights/highlights.component.ts
+++ b/src/chart/components/highlights/highlights.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/highlights/highlights.drawer.ts b/src/chart/components/highlights/highlights.drawer.ts
index f159f316..fd75a584 100644
--- a/src/chart/components/highlights/highlights.drawer.ts
+++ b/src/chart/components/highlights/highlights.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/highlights/highlights.model.ts b/src/chart/components/highlights/highlights.model.ts
index 700c847d..d36ab8c3 100644
--- a/src/chart/components/highlights/highlights.model.ts
+++ b/src/chart/components/highlights/highlights.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/hit-test/hit-test.component.ts b/src/chart/components/hit-test/hit-test.component.ts
index d76318a9..7c8bbaf5 100644
--- a/src/chart/components/hit-test/hit-test.component.ts
+++ b/src/chart/components/hit-test/hit-test.component.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 { distinctUntilChanged } from 'rxjs/operators';
import { CanvasAnimation } from '../../animation/canvas-animation';
import EventBus from '../../events/event-bus';
diff --git a/src/chart/components/labels_generator/numeric-axis-labels.generator.ts b/src/chart/components/labels_generator/numeric-axis-labels.generator.ts
index d2b0c822..8e1343fe 100644
--- a/src/chart/components/labels_generator/numeric-axis-labels.generator.ts
+++ b/src/chart/components/labels_generator/numeric-axis-labels.generator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/navigation_map/navigation-map-move.handler.ts b/src/chart/components/navigation_map/navigation-map-move.handler.ts
index 9745f046..d07d3f9a 100644
--- a/src/chart/components/navigation_map/navigation-map-move.handler.ts
+++ b/src/chart/components/navigation_map/navigation-map-move.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/navigation_map/navigation-map.component.ts b/src/chart/components/navigation_map/navigation-map.component.ts
index 96d59c36..4b61ba35 100644
--- a/src/chart/components/navigation_map/navigation-map.component.ts
+++ b/src/chart/components/navigation_map/navigation-map.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/navigation_map/navigation-map.drawer.ts b/src/chart/components/navigation_map/navigation-map.drawer.ts
index 023a3a31..46f0685f 100644
--- a/src/chart/components/navigation_map/navigation-map.drawer.ts
+++ b/src/chart/components/navigation_map/navigation-map.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/navigation_map/navigation-map.model.ts b/src/chart/components/navigation_map/navigation-map.model.ts
index 7bb9cdb8..e2238402 100644
--- a/src/chart/components/navigation_map/navigation-map.model.ts
+++ b/src/chart/components/navigation_map/navigation-map.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/pan/chart-pan.component.ts b/src/chart/components/pan/chart-pan.component.ts
index 456177b8..b9b91c8d 100644
--- a/src/chart/components/pan/chart-pan.component.ts
+++ b/src/chart/components/pan/chart-pan.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/pane/extent/y-extent-component.ts b/src/chart/components/pane/extent/y-extent-component.ts
index 1854c8da..587c87cc 100644
--- a/src/chart/components/pane/extent/y-extent-component.ts
+++ b/src/chart/components/pane/extent/y-extent-component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/pane/pane-hit-test.controller.ts b/src/chart/components/pane/pane-hit-test.controller.ts
index 76d4c63b..d17e8d85 100644
--- a/src/chart/components/pane/pane-hit-test.controller.ts
+++ b/src/chart/components/pane/pane-hit-test.controller.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/pane/pane-manager.component.ts b/src/chart/components/pane/pane-manager.component.ts
index eb92dfba..a443f64f 100644
--- a/src/chart/components/pane/pane-manager.component.ts
+++ b/src/chart/components/pane/pane-manager.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/pane/pane.component.ts b/src/chart/components/pane/pane.component.ts
index f3f68e06..37a5dca2 100644
--- a/src/chart/components/pane/pane.component.ts
+++ b/src/chart/components/pane/pane.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/resizer/bar-resizer.component.ts b/src/chart/components/resizer/bar-resizer.component.ts
index a16811e3..3a6985c7 100644
--- a/src/chart/components/resizer/bar-resizer.component.ts
+++ b/src/chart/components/resizer/bar-resizer.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/resizer/bar-resizer.drawer.ts b/src/chart/components/resizer/bar-resizer.drawer.ts
index 742c5c1f..6024e7c5 100644
--- a/src/chart/components/resizer/bar-resizer.drawer.ts
+++ b/src/chart/components/resizer/bar-resizer.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/snapshot/snapshot.component.ts b/src/chart/components/snapshot/snapshot.component.ts
index af10c69d..6e266137 100644
--- a/src/chart/components/snapshot/snapshot.component.ts
+++ b/src/chart/components/snapshot/snapshot.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/volumes/volume-color-resolvers.functions.ts b/src/chart/components/volumes/volume-color-resolvers.functions.ts
index 47c9266b..20e21f40 100644
--- a/src/chart/components/volumes/volume-color-resolvers.functions.ts
+++ b/src/chart/components/volumes/volume-color-resolvers.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/volumes/volumes.formatter.ts b/src/chart/components/volumes/volumes.formatter.ts
index 4309d46b..67c5a38a 100644
--- a/src/chart/components/volumes/volumes.formatter.ts
+++ b/src/chart/components/volumes/volumes.formatter.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -37,4 +37,4 @@ export const volumeFormatter = (value: number, precision = 1) => {
}
return format(value);
-};
\ No newline at end of file
+};
diff --git a/src/chart/components/volumes/volumes.model.ts b/src/chart/components/volumes/volumes.model.ts
index 2e2238ab..210a8629 100644
--- a/src/chart/components/volumes/volumes.model.ts
+++ b/src/chart/components/volumes/volumes.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/watermark/water-mark.drawer.ts b/src/chart/components/watermark/water-mark.drawer.ts
index 04280d9b..832f5dc4 100644
--- a/src/chart/components/watermark/water-mark.drawer.ts
+++ b/src/chart/components/watermark/water-mark.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/numeric-x-axis-labels.generator.ts b/src/chart/components/x_axis/numeric-x-axis-labels.generator.ts
index 427ed72e..457f5b9e 100644
--- a/src/chart/components/x_axis/numeric-x-axis-labels.generator.ts
+++ b/src/chart/components/x_axis/numeric-x-axis-labels.generator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/time/parser/time-formats-matchers.functions.ts b/src/chart/components/x_axis/time/parser/time-formats-matchers.functions.ts
index 24bdfdaa..2c3a4326 100644
--- a/src/chart/components/x_axis/time/parser/time-formats-matchers.functions.ts
+++ b/src/chart/components/x_axis/time/parser/time-formats-matchers.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/time/parser/time-formats-validators.functions.ts b/src/chart/components/x_axis/time/parser/time-formats-validators.functions.ts
index 1e817179..559ad16b 100644
--- a/src/chart/components/x_axis/time/parser/time-formats-validators.functions.ts
+++ b/src/chart/components/x_axis/time/parser/time-formats-validators.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/time/parser/time-formats.model.ts b/src/chart/components/x_axis/time/parser/time-formats.model.ts
index 2507156a..3a8bac38 100644
--- a/src/chart/components/x_axis/time/parser/time-formats.model.ts
+++ b/src/chart/components/x_axis/time/parser/time-formats.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/time/x-axis-weights.functions.ts b/src/chart/components/x_axis/time/x-axis-weights.functions.ts
index 0b7f9a49..3b2117b3 100644
--- a/src/chart/components/x_axis/time/x-axis-weights.functions.ts
+++ b/src/chart/components/x_axis/time/x-axis-weights.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/time/x-axis-weights.generator.ts b/src/chart/components/x_axis/time/x-axis-weights.generator.ts
index f2278665..cb0c3ebc 100644
--- a/src/chart/components/x_axis/time/x-axis-weights.generator.ts
+++ b/src/chart/components/x_axis/time/x-axis-weights.generator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/x-axis-draw.functions.ts b/src/chart/components/x_axis/x-axis-draw.functions.ts
index 77ec480a..623c8249 100644
--- a/src/chart/components/x_axis/x-axis-draw.functions.ts
+++ b/src/chart/components/x_axis/x-axis-draw.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/x-axis-labels.drawer.ts b/src/chart/components/x_axis/x-axis-labels.drawer.ts
index ae718304..574acabd 100644
--- a/src/chart/components/x_axis/x-axis-labels.drawer.ts
+++ b/src/chart/components/x_axis/x-axis-labels.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/x-axis-labels.generator.ts b/src/chart/components/x_axis/x-axis-labels.generator.ts
index 874a1d93..637b3ae7 100644
--- a/src/chart/components/x_axis/x-axis-labels.generator.ts
+++ b/src/chart/components/x_axis/x-axis-labels.generator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/x-axis-labels.model.ts b/src/chart/components/x_axis/x-axis-labels.model.ts
index 6ad378e8..da9fa9c4 100644
--- a/src/chart/components/x_axis/x-axis-labels.model.ts
+++ b/src/chart/components/x_axis/x-axis-labels.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/x_axis/x-axis-scale.handler.ts b/src/chart/components/x_axis/x-axis-scale.handler.ts
index c2eb8cd8..90f8c746 100644
--- a/src/chart/components/x_axis/x-axis-scale.handler.ts
+++ b/src/chart/components/x_axis/x-axis-scale.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -122,7 +122,7 @@ export class XAxisScaleHandler extends ChartBaseElement {
this.hitTestCanvasModel.hitTestDrawersPredicateSubject.next(true);
};
- public setDblTapCallback = (cb: () => void) => this.dblTapCallback = cb;
+ public setDblTapCallback = (cb: () => void) => (this.dblTapCallback = cb);
- public setDblClickCallback = (cb: () => void) => this.dblClickCallback = cb;
+ public setDblClickCallback = (cb: () => void) => (this.dblClickCallback = cb);
}
diff --git a/src/chart/components/x_axis/x-axis-time-labels.drawer.ts b/src/chart/components/x_axis/x-axis-time-labels.drawer.ts
index ac2ffc6b..37ac9457 100644
--- a/src/chart/components/x_axis/x-axis-time-labels.drawer.ts
+++ b/src/chart/components/x_axis/x-axis-time-labels.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/label-color.functions.ts b/src/chart/components/y_axis/label-color.functions.ts
index 39d8a117..1e937186 100644
--- a/src/chart/components/y_axis/label-color.functions.ts
+++ b/src/chart/components/y_axis/label-color.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/numeric-y-axis-labels.generator.ts b/src/chart/components/y_axis/numeric-y-axis-labels.generator.ts
index 9f386cc8..b9fd3937 100644
--- a/src/chart/components/y_axis/numeric-y-axis-labels.generator.ts
+++ b/src/chart/components/y_axis/numeric-y-axis-labels.generator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.ts b/src/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.ts
index c4a1fc67..3d806fc0 100644
--- a/src/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.ts
+++ b/src/chart/components/y_axis/price_labels/data-series-y-axis-labels.provider.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/price_labels/labels-positions-calculator.ts b/src/chart/components/y_axis/price_labels/labels-positions-calculator.ts
index 7ccaae15..6ab85b8e 100644
--- a/src/chart/components/y_axis/price_labels/labels-positions-calculator.ts
+++ b/src/chart/components/y_axis/price_labels/labels-positions-calculator.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/price_labels/last-candle-labels.provider.ts b/src/chart/components/y_axis/price_labels/last-candle-labels.provider.ts
index 82fbd377..5c07f8a4 100644
--- a/src/chart/components/y_axis/price_labels/last-candle-labels.provider.ts
+++ b/src/chart/components/y_axis/price_labels/last-candle-labels.provider.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/price_labels/price-label.drawer.ts b/src/chart/components/y_axis/price_labels/price-label.drawer.ts
index 01f7a2b2..b0a5b7f2 100644
--- a/src/chart/components/y_axis/price_labels/price-label.drawer.ts
+++ b/src/chart/components/y_axis/price_labels/price-label.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -77,7 +77,7 @@ export function drawLabel(
const showLine = isLineVisible(bounds, labelY, labelBoxHeight);
const _drawDescription = () =>
- showDescription && drawDescription(backgroundCtx, ctx, bounds, paneBounds, visualLabel, config);
+ showDescription && drawDescription(backgroundCtx, ctx, bounds, paneBounds, visualLabel, config);
let lineXStart: number;
let lineXEnd: number;
diff --git a/src/chart/components/y_axis/price_labels/y-axis-labels.model.ts b/src/chart/components/y_axis/price_labels/y-axis-labels.model.ts
index a402b027..9bb85e71 100644
--- a/src/chart/components/y_axis/price_labels/y-axis-labels.model.ts
+++ b/src/chart/components/y_axis/price_labels/y-axis-labels.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.ts b/src/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.ts
index 49cc898c..635944a9 100644
--- a/src/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.ts
+++ b/src/chart/components/y_axis/price_labels/y-axis-price-labels.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/y-axis-base-labels.model.ts b/src/chart/components/y_axis/y-axis-base-labels.model.ts
index 86b00c21..9455326e 100644
--- a/src/chart/components/y_axis/y-axis-base-labels.model.ts
+++ b/src/chart/components/y_axis/y-axis-base-labels.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/y-axis-labels.drawer.ts b/src/chart/components/y_axis/y-axis-labels.drawer.ts
index 3d649182..6df23f00 100644
--- a/src/chart/components/y_axis/y-axis-labels.drawer.ts
+++ b/src/chart/components/y_axis/y-axis-labels.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -267,4 +267,4 @@ export function getLabelYOffset(
*/
export function checkLabelInBoundaries(centralY: number, bounds: Bounds, labelBoxHeight: number) {
return !(centralY < bounds.y + labelBoxHeight / 2 || centralY > bounds.y + bounds.height - labelBoxHeight / 2);
-}
\ No newline at end of file
+}
diff --git a/src/chart/components/y_axis/y-axis-scale.handler.ts b/src/chart/components/y_axis/y-axis-scale.handler.ts
index c3ef3a20..d9549881 100644
--- a/src/chart/components/y_axis/y-axis-scale.handler.ts
+++ b/src/chart/components/y_axis/y-axis-scale.handler.ts
@@ -1,10 +1,15 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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, CanvasElement, DEFAULT_MIN_PANE_HEIGHT, HitBoundsTest } from '../../canvas/canvas-bounds-container';
+import {
+ CanvasBoundsContainer,
+ CanvasElement,
+ DEFAULT_MIN_PANE_HEIGHT,
+ HitBoundsTest,
+} from '../../canvas/canvas-bounds-container';
import { YAxisConfig } from '../../chart.config';
import EventBus from '../../events/event-bus';
import { ChartBaseElement } from '../../model/chart-base-element';
@@ -63,7 +68,8 @@ export class YAxisScaleHandler extends ChartBaseElement {
canvasInputListener,
panning,
{
- dragPredicate: () => panning.chartAreaPanHandler.chartPanningOptions.vertical && config.type !== 'percent',
+ dragPredicate: () =>
+ panning.chartAreaPanHandler.chartPanningOptions.vertical && config.type !== 'percent',
},
);
this.addChildEntity(dragNDropYComponent);
@@ -148,7 +154,7 @@ export class YAxisScaleHandler extends ChartBaseElement {
this.hitTestCanvasModel.hitTestDrawersPredicateSubject.next(true);
};
- public setDblTapCallback = (cb: () => void) => this.dblTapCallback = cb;
+ public setDblTapCallback = (cb: () => void) => (this.dblTapCallback = cb);
- public setDblClickCallback = (cb: () => void) => this.dblClickCallback = cb;
-}
\ No newline at end of file
+ public setDblClickCallback = (cb: () => void) => (this.dblClickCallback = cb);
+}
diff --git a/src/chart/components/y_axis/y-axis.component.ts b/src/chart/components/y_axis/y-axis.component.ts
index 807c89b0..1c8f2e37 100644
--- a/src/chart/components/y_axis/y-axis.component.ts
+++ b/src/chart/components/y_axis/y-axis.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/components/y_axis/y-axis.drawer.ts b/src/chart/components/y_axis/y-axis.drawer.ts
index a5e8554d..16913056 100644
--- a/src/chart/components/y_axis/y-axis.drawer.ts
+++ b/src/chart/components/y_axis/y-axis.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -49,21 +49,21 @@ export class YAxisDrawer implements Drawer {
const labels = yAxisComponent.model.baseLabelsModel.labels;
const bounds: Bounds = yAxisComponent.getBounds();
- const ctx = this.canvasModel.ctx;
+ const ctx = this.canvasModel.ctx;
- // draw axis background rect animation
- ctx.fillStyle = this.getBackgroundColor();
- ctx.fillRect(bounds.x, bounds.y, bounds.width, bounds.height);
+ // draw axis background rect animation
+ ctx.fillStyle = this.getBackgroundColor();
+ ctx.fillRect(bounds.x, bounds.y, bounds.width, bounds.height);
const font = getFontFromConfig(yAxisComponent.state);
- const fontHeight = calculateSymbolHeight(font, ctx);
+ const fontHeight = calculateSymbolHeight(font, ctx);
- const textColor = this.getLabelTextColor();
- ctx.save();
- clipToBounds(ctx, bounds);
+ const textColor = this.getLabelTextColor();
+ ctx.save();
+ clipToBounds(ctx, bounds);
this.drawLabels(ctx, labels, bounds, fontHeight, font, textColor, yAxisComponent);
- ctx.restore();
- }
+ ctx.restore();
+ }
});
}
diff --git a/src/chart/components/y_axis/y-axis.model.ts b/src/chart/components/y_axis/y-axis.model.ts
index 7757085a..0b38f96d 100644
--- a/src/chart/components/y_axis/y-axis.model.ts
+++ b/src/chart/components/y_axis/y-axis.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-background.drawer.ts b/src/chart/drawers/chart-background.drawer.ts
index f372136f..03432fad 100644
--- a/src/chart/drawers/chart-background.drawer.ts
+++ b/src/chart/drawers/chart-background.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -25,7 +25,12 @@ export class BackgroundDrawer implements Drawer {
this.canvasModel.clear();
const ctx = this.canvasModel.ctx;
if (this.config.colors.chartAreaTheme.backgroundMode === 'gradient') {
- const grd = ctx.createLinearGradient(0, 0 + this.canvasModel.height / 2, this.canvasModel.width, 0 + this.canvasModel.height / 2);
+ const grd = ctx.createLinearGradient(
+ 0,
+ 0 + this.canvasModel.height / 2,
+ this.canvasModel.width,
+ 0 + this.canvasModel.height / 2,
+ );
grd.addColorStop(0, this.config.colors.chartAreaTheme.backgroundGradientTopColor);
grd.addColorStop(1, this.config.colors.chartAreaTheme.backgroundGradientBottomColor);
ctx.fillStyle = grd;
diff --git a/src/chart/drawers/chart-type-drawers/area.drawer.ts b/src/chart/drawers/chart-type-drawers/area.drawer.ts
index 9d679938..07d02c5b 100644
--- a/src/chart/drawers/chart-type-drawers/area.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/area.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/bar.drawer.ts b/src/chart/drawers/chart-type-drawers/bar.drawer.ts
index bbef1a01..e18f8631 100644
--- a/src/chart/drawers/chart-type-drawers/bar.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/bar.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/baseline.drawer.ts b/src/chart/drawers/chart-type-drawers/baseline.drawer.ts
index 888fb05b..922945be 100644
--- a/src/chart/drawers/chart-type-drawers/baseline.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/baseline.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/candle.drawer.ts b/src/chart/drawers/chart-type-drawers/candle.drawer.ts
index 0f134c68..de712b99 100644
--- a/src/chart/drawers/chart-type-drawers/candle.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/candle.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/histogram.drawer.ts b/src/chart/drawers/chart-type-drawers/histogram.drawer.ts
index 554520ec..b81734ae 100644
--- a/src/chart/drawers/chart-type-drawers/histogram.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/histogram.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/line.drawer.ts b/src/chart/drawers/chart-type-drawers/line.drawer.ts
index d7efbbdd..1e9fdec7 100644
--- a/src/chart/drawers/chart-type-drawers/line.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/line.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/chart-type-drawers/scatter-plot.drawer.ts b/src/chart/drawers/chart-type-drawers/scatter-plot.drawer.ts
index 7cb82d61..9d83991d 100644
--- a/src/chart/drawers/chart-type-drawers/scatter-plot.drawer.ts
+++ b/src/chart/drawers/chart-type-drawers/scatter-plot.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/clear-canvas.drawer.ts b/src/chart/drawers/clear-canvas.drawer.ts
index 46a08d41..e9d1736e 100644
--- a/src/chart/drawers/clear-canvas.drawer.ts
+++ b/src/chart/drawers/clear-canvas.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/composite.drawer.ts b/src/chart/drawers/composite.drawer.ts
index a5586849..15e4b289 100644
--- a/src/chart/drawers/composite.drawer.ts
+++ b/src/chart/drawers/composite.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/candle-series-wrapper.ts b/src/chart/drawers/data-series-drawers/candle-series-wrapper.ts
index 4ae59599..061a8b8c 100644
--- a/src/chart/drawers/data-series-drawers/candle-series-wrapper.ts
+++ b/src/chart/drawers/data-series-drawers/candle-series-wrapper.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/color-candle.drawer.ts b/src/chart/drawers/data-series-drawers/color-candle.drawer.ts
index 530f5898..1c6922f7 100644
--- a/src/chart/drawers/data-series-drawers/color-candle.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/color-candle.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/data-series-drawers.utils.ts b/src/chart/drawers/data-series-drawers/data-series-drawers.utils.ts
index 0c326e38..499e9fcc 100644
--- a/src/chart/drawers/data-series-drawers/data-series-drawers.utils.ts
+++ b/src/chart/drawers/data-series-drawers/data-series-drawers.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/difference-cloud.drawer.ts b/src/chart/drawers/data-series-drawers/difference-cloud.drawer.ts
index ea111841..4d38a5e4 100644
--- a/src/chart/drawers/data-series-drawers/difference-cloud.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/difference-cloud.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/histogram.drawer.ts b/src/chart/drawers/data-series-drawers/histogram.drawer.ts
index dbc07f64..ecd186ae 100644
--- a/src/chart/drawers/data-series-drawers/histogram.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/histogram.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/linear.drawer.ts b/src/chart/drawers/data-series-drawers/linear.drawer.ts
index 77c9193d..506b3588 100644
--- a/src/chart/drawers/data-series-drawers/linear.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/linear.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/points.drawer.ts b/src/chart/drawers/data-series-drawers/points.drawer.ts
index 24fa91ce..9011f9ad 100644
--- a/src/chart/drawers/data-series-drawers/points.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/points.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/rectangular-tool.drawer.ts b/src/chart/drawers/data-series-drawers/rectangular-tool.drawer.ts
index 9516d99c..1fbb8108 100644
--- a/src/chart/drawers/data-series-drawers/rectangular-tool.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/rectangular-tool.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/text.drawer.ts b/src/chart/drawers/data-series-drawers/text.drawer.ts
index ef47a309..2afe7a2a 100644
--- a/src/chart/drawers/data-series-drawers/text.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/text.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/trend-histogram.drawer.ts b/src/chart/drawers/data-series-drawers/trend-histogram.drawer.ts
index 1374c831..26784bf2 100644
--- a/src/chart/drawers/data-series-drawers/trend-histogram.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/trend-histogram.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series-drawers/triangle.drawer.ts b/src/chart/drawers/data-series-drawers/triangle.drawer.ts
index 89f5e75b..7e7ad438 100644
--- a/src/chart/drawers/data-series-drawers/triangle.drawer.ts
+++ b/src/chart/drawers/data-series-drawers/triangle.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/data-series.drawer.ts b/src/chart/drawers/data-series.drawer.ts
index 45751c52..793691f3 100644
--- a/src/chart/drawers/data-series.drawer.ts
+++ b/src/chart/drawers/data-series.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/drawers/ht-data-series.drawer.ts b/src/chart/drawers/ht-data-series.drawer.ts
index 8cbbfb02..edd1a6d4 100644
--- a/src/chart/drawers/ht-data-series.drawer.ts
+++ b/src/chart/drawers/ht-data-series.drawer.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/events/event-bus.ts b/src/chart/events/event-bus.ts
index 5d514490..8beed6d8 100644
--- a/src/chart/events/event-bus.ts
+++ b/src/chart/events/event-bus.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/events/events.ts b/src/chart/events/events.ts
index 59afdf2f..cec7aae2 100644
--- a/src/chart/events/events.ts
+++ b/src/chart/events/events.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/inputhandlers/candle-tap.handler.ts b/src/chart/inputhandlers/candle-tap.handler.ts
index b655533a..cff161c4 100644
--- a/src/chart/inputhandlers/candle-tap.handler.ts
+++ b/src/chart/inputhandlers/candle-tap.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/inputhandlers/chart-resize.handler.ts b/src/chart/inputhandlers/chart-resize.handler.ts
index a4c9efee..0abd4009 100644
--- a/src/chart/inputhandlers/chart-resize.handler.ts
+++ b/src/chart/inputhandlers/chart-resize.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/inputhandlers/cross-event-producer.component.ts b/src/chart/inputhandlers/cross-event-producer.component.ts
index 047367aa..d126740c 100644
--- a/src/chart/inputhandlers/cross-event-producer.component.ts
+++ b/src/chart/inputhandlers/cross-event-producer.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/inputhandlers/main-canvas-touch.handler.ts b/src/chart/inputhandlers/main-canvas-touch.handler.ts
index 300e40cd..ed2d8d1b 100644
--- a/src/chart/inputhandlers/main-canvas-touch.handler.ts
+++ b/src/chart/inputhandlers/main-canvas-touch.handler.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/inputlisteners/canvas-input-listener.component.ts b/src/chart/inputlisteners/canvas-input-listener.component.ts
index 2e971257..b1d8fb85 100644
--- a/src/chart/inputlisteners/canvas-input-listener.component.ts
+++ b/src/chart/inputlisteners/canvas-input-listener.component.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/baseline.model.ts b/src/chart/model/baseline.model.ts
index 8958b66a..b15c2ad5 100644
--- a/src/chart/model/baseline.model.ts
+++ b/src/chart/model/baseline.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/bounds.model.ts b/src/chart/model/bounds.model.ts
index b164dd44..3d2833dc 100644
--- a/src/chart/model/bounds.model.ts
+++ b/src/chart/model/bounds.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/candle-hover.ts b/src/chart/model/candle-hover.ts
index d0d9b680..ca901520 100644
--- a/src/chart/model/candle-hover.ts
+++ b/src/chart/model/candle-hover.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/candle-series-high-low.provider.ts b/src/chart/model/candle-series-high-low.provider.ts
index 7b684bed..115555ae 100644
--- a/src/chart/model/candle-series-high-low.provider.ts
+++ b/src/chart/model/candle-series-high-low.provider.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/candle-series.model.ts b/src/chart/model/candle-series.model.ts
index 7800687f..caca5387 100644
--- a/src/chart/model/candle-series.model.ts
+++ b/src/chart/model/candle-series.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/canvas.model.ts b/src/chart/model/canvas.model.ts
index 8d769af6..2ecfd5d2 100644
--- a/src/chart/model/canvas.model.ts
+++ b/src/chart/model/canvas.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/chart-base-element.ts b/src/chart/model/chart-base-element.ts
index 6993dd7b..80e315c8 100644
--- a/src/chart/model/chart-base-element.ts
+++ b/src/chart/model/chart-base-element.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/compare-series-hover.ts b/src/chart/model/compare-series-hover.ts
index e8042bf3..7b702403 100644
--- a/src/chart/model/compare-series-hover.ts
+++ b/src/chart/model/compare-series-hover.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/data-series-view.ts b/src/chart/model/data-series-view.ts
index c7ac54dd..fa81ea09 100644
--- a/src/chart/model/data-series-view.ts
+++ b/src/chart/model/data-series-view.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/data-series.config.ts b/src/chart/model/data-series.config.ts
index f8a91518..9bad3897 100644
--- a/src/chart/model/data-series.config.ts
+++ b/src/chart/model/data-series.config.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/date-time.formatter.ts b/src/chart/model/date-time.formatter.ts
index b5bf813f..ae9bc115 100644
--- a/src/chart/model/date-time.formatter.ts
+++ b/src/chart/model/date-time.formatter.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -222,4 +222,4 @@ export const formatDate = (date: Date, patternStr: string, daysOfWeek: string[],
return patternStr;
};
const twoDigitPad = (num: string | number) => (typeof num === 'number' && num < 10 ? '0' + num : num);
-//#endregion
\ No newline at end of file
+//#endregion
diff --git a/src/chart/model/hit-test-canvas.model.ts b/src/chart/model/hit-test-canvas.model.ts
index 9d1d9067..add08846 100644
--- a/src/chart/model/hit-test-canvas.model.ts
+++ b/src/chart/model/hit-test-canvas.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/main-candle-series.model.ts b/src/chart/model/main-candle-series.model.ts
index 89839b25..bd70ee13 100644
--- a/src/chart/model/main-candle-series.model.ts
+++ b/src/chart/model/main-candle-series.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/scaling/auto-scale.model.ts b/src/chart/model/scaling/auto-scale.model.ts
index 363616eb..4c400695 100644
--- a/src/chart/model/scaling/auto-scale.model.ts
+++ b/src/chart/model/scaling/auto-scale.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/scaling/constrait.functions.ts b/src/chart/model/scaling/constrait.functions.ts
index f77d98b5..f1e405a4 100644
--- a/src/chart/model/scaling/constrait.functions.ts
+++ b/src/chart/model/scaling/constrait.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -46,4 +46,4 @@ export const candleEdgesConstrait = (
newState.xStart = normalizedXStart;
newState.xEnd = normalizedXEnd;
return newState;
-};
\ No newline at end of file
+};
diff --git a/src/chart/model/scaling/lock-ratio.model.ts b/src/chart/model/scaling/lock-ratio.model.ts
index 5289b095..198d37fc 100644
--- a/src/chart/model/scaling/lock-ratio.model.ts
+++ b/src/chart/model/scaling/lock-ratio.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/scaling/move-chart.functions.ts b/src/chart/model/scaling/move-chart.functions.ts
index 60a38302..a23522d5 100644
--- a/src/chart/model/scaling/move-chart.functions.ts
+++ b/src/chart/model/scaling/move-chart.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/scaling/x-zooming.functions.ts b/src/chart/model/scaling/x-zooming.functions.ts
index 52efd193..6b3d9485 100644
--- a/src/chart/model/scaling/x-zooming.functions.ts
+++ b/src/chart/model/scaling/x-zooming.functions.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/model/time-zone.model.ts b/src/chart/model/time-zone.model.ts
index cf33fef2..86774557 100644
--- a/src/chart/model/time-zone.model.ts
+++ b/src/chart/model/time-zone.model.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -106,11 +106,9 @@ export class TimeZoneModel {
// so we have to subtract localOffset from current time
return time => {
return new Date(
- time +
- getTimezoneOffset(timezone, time) +
- new Date(time).getTimezoneOffset() * timeMultiplier,
+ time + getTimezoneOffset(timezone, time) + new Date(time).getTimezoneOffset() * timeMultiplier,
);
};
}
}
-}
\ No newline at end of file
+}
diff --git a/src/chart/model/visual-candle.ts b/src/chart/model/visual-candle.ts
index a2772bab..576b9d3b 100644
--- a/src/chart/model/visual-candle.ts
+++ b/src/chart/model/visual-candle.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/__tests__/array.utils.test.ts b/src/chart/utils/__tests__/array.utils.test.ts
index 7eff0ff4..a930684a 100644
--- a/src/chart/utils/__tests__/array.utils.test.ts
+++ b/src/chart/utils/__tests__/array.utils.test.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/__tests__/math.utils.test.ts b/src/chart/utils/__tests__/math.utils.test.ts
index edd24dd9..b0961798 100644
--- a/src/chart/utils/__tests__/math.utils.test.ts
+++ b/src/chart/utils/__tests__/math.utils.test.ts
@@ -1,3 +1,8 @@
+/*
+ * 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 { clamp } from '../math.utils';
describe('math.utils', () => {
diff --git a/src/chart/utils/__tests__/object.utils.test.ts b/src/chart/utils/__tests__/object.utils.test.ts
index 8d99d227..b7dd25c2 100644
--- a/src/chart/utils/__tests__/object.utils.test.ts
+++ b/src/chart/utils/__tests__/object.utils.test.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/__tests__/priceIncrementsUtils.test.ts b/src/chart/utils/__tests__/priceIncrementsUtils.test.ts
index 16379642..1a45728d 100644
--- a/src/chart/utils/__tests__/priceIncrementsUtils.test.ts
+++ b/src/chart/utils/__tests__/priceIncrementsUtils.test.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/array.utils.ts b/src/chart/utils/array.utils.ts
index 1554aa89..0d1dfa60 100644
--- a/src/chart/utils/array.utils.ts
+++ b/src/chart/utils/array.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/auto-period-detector.utils.ts b/src/chart/utils/auto-period-detector.utils.ts
index 34c04e74..ec5ae962 100644
--- a/src/chart/utils/auto-period-detector.utils.ts
+++ b/src/chart/utils/auto-period-detector.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/candles-generator-ts.utils.ts b/src/chart/utils/candles-generator-ts.utils.ts
index 3a5117c8..2d675a30 100644
--- a/src/chart/utils/candles-generator-ts.utils.ts
+++ b/src/chart/utils/candles-generator-ts.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/candles.utils.ts b/src/chart/utils/candles.utils.ts
index 4b968b3e..6ee98d12 100644
--- a/src/chart/utils/candles.utils.ts
+++ b/src/chart/utils/candles.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/canvas/canvas-drawing-functions.utils.ts b/src/chart/utils/canvas/canvas-drawing-functions.utils.ts
index 0f95f5b2..81d7fa85 100644
--- a/src/chart/utils/canvas/canvas-drawing-functions.utils.ts
+++ b/src/chart/utils/canvas/canvas-drawing-functions.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/canvas/canvas-font-measure-tool.utils.ts b/src/chart/utils/canvas/canvas-font-measure-tool.utils.ts
index 7a998c07..ec01fdcd 100644
--- a/src/chart/utils/canvas/canvas-font-measure-tool.utils.ts
+++ b/src/chart/utils/canvas/canvas-font-measure-tool.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/canvas/canvas-text-functions.utils.ts b/src/chart/utils/canvas/canvas-text-functions.utils.ts
index 1085d460..4c048afe 100644
--- a/src/chart/utils/canvas/canvas-text-functions.utils.ts
+++ b/src/chart/utils/canvas/canvas-text-functions.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/color.utils.ts b/src/chart/utils/color.utils.ts
index ed9a6348..4d70b75b 100644
--- a/src/chart/utils/color.utils.ts
+++ b/src/chart/utils/color.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/device/browser.utils.ts b/src/chart/utils/device/browser.utils.ts
index 88d4cca1..290efa67 100644
--- a/src/chart/utils/device/browser.utils.ts
+++ b/src/chart/utils/device/browser.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/device/device-detector.utils.ts b/src/chart/utils/device/device-detector.utils.ts
index 7d0ebe1e..8578b523 100644
--- a/src/chart/utils/device/device-detector.utils.ts
+++ b/src/chart/utils/device/device-detector.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/device/device-pixel-ratio.utils.ts b/src/chart/utils/device/device-pixel-ratio.utils.ts
index a763226c..bb2050ef 100644
--- a/src/chart/utils/device/device-pixel-ratio.utils.ts
+++ b/src/chart/utils/device/device-pixel-ratio.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/device/touchpad.utils.ts b/src/chart/utils/device/touchpad.utils.ts
index 17ca1ac5..4399c0a3 100644
--- a/src/chart/utils/device/touchpad.utils.ts
+++ b/src/chart/utils/device/touchpad.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/dom.utils.ts b/src/chart/utils/dom.utils.ts
index b9553bc6..1f00fdc7 100644
--- a/src/chart/utils/dom.utils.ts
+++ b/src/chart/utils/dom.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/function.utils.ts b/src/chart/utils/function.utils.ts
index 55eed1e8..473d4fe7 100644
--- a/src/chart/utils/function.utils.ts
+++ b/src/chart/utils/function.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/linkedList.utils.ts b/src/chart/utils/linkedList.utils.ts
index 672eb246..0e15b7e1 100644
--- a/src/chart/utils/linkedList.utils.ts
+++ b/src/chart/utils/linkedList.utils.ts
@@ -1,3 +1,8 @@
+/*
+ * 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/.
+ */
export class ListNode {
public data: T;
public next: ListNode | null;
diff --git a/src/chart/utils/math.utils.ts b/src/chart/utils/math.utils.ts
index 8d2da5aa..1bafde7d 100644
--- a/src/chart/utils/math.utils.ts
+++ b/src/chart/utils/math.utils.ts
@@ -1,7 +1,7 @@
import { StringTMap } from './object.utils';
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/merge.utils.ts b/src/chart/utils/merge.utils.ts
index bbf90e83..db52c86e 100644
--- a/src/chart/utils/merge.utils.ts
+++ b/src/chart/utils/merge.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/object.utils.ts b/src/chart/utils/object.utils.ts
index 1fbac63f..cba6e8eb 100644
--- a/src/chart/utils/object.utils.ts
+++ b/src/chart/utils/object.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/performance/animation-frame-cache.utils.ts b/src/chart/utils/performance/animation-frame-cache.utils.ts
index 4c0b2ef1..f48a2b3c 100644
--- a/src/chart/utils/performance/animation-frame-cache.utils.ts
+++ b/src/chart/utils/performance/animation-frame-cache.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/performance/debounce.utils.ts b/src/chart/utils/performance/debounce.utils.ts
index 6f589496..7132ba81 100644
--- a/src/chart/utils/performance/debounce.utils.ts
+++ b/src/chart/utils/performance/debounce.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/performance/memoize.utils.ts b/src/chart/utils/performance/memoize.utils.ts
index c8c04cc2..0deee725 100644
--- a/src/chart/utils/performance/memoize.utils.ts
+++ b/src/chart/utils/performance/memoize.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/performance/request-animation-frame-throttle.utils.ts b/src/chart/utils/performance/request-animation-frame-throttle.utils.ts
index 26981c6f..1a727fbc 100644
--- a/src/chart/utils/performance/request-animation-frame-throttle.utils.ts
+++ b/src/chart/utils/performance/request-animation-frame-throttle.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/performance/throttle.utils.ts b/src/chart/utils/performance/throttle.utils.ts
index cbd499a8..5ceb62fc 100644
--- a/src/chart/utils/performance/throttle.utils.ts
+++ b/src/chart/utils/performance/throttle.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/chart/utils/price-increments.utils.ts b/src/chart/utils/price-increments.utils.ts
index 850fa748..f6ea2637 100644
--- a/src/chart/utils/price-increments.utils.ts
+++ b/src/chart/utils/price-increments.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
@@ -140,9 +140,8 @@ export class PriceIncrementsUtils {
}
}
-
// TODO review dxFeed precision format
export const precisionsToIncrement = (price: number, precisions: number[]) => {
const precision = lastOf(precisions) ?? 1;
return Math.pow(10, -precision);
-}
\ No newline at end of file
+};
diff --git a/src/chart/utils/timezone.utils.ts b/src/chart/utils/timezone.utils.ts
index 61c4df3b..74921899 100644
--- a/src/chart/utils/timezone.utils.ts
+++ b/src/chart/utils/timezone.utils.ts
@@ -1,3 +1,8 @@
+/*
+ * 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/.
+ */
/**
* Get a cached Intl.DateTimeFormat instance for the IANA `timeZone`. This can be used
* to get deterministic local date/time output according to the `en-US` locale which
diff --git a/src/chart/utils/uuid.utils.ts b/src/chart/utils/uuid.utils.ts
index e10a7973..5a8aad8e 100644
--- a/src/chart/utils/uuid.utils.ts
+++ b/src/chart/utils/uuid.utils.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/index.dev.ts b/src/index.dev.ts
index acfaf04c..13792214 100644
--- a/src/index.dev.ts
+++ b/src/index.dev.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/
diff --git a/src/index.ts b/src/index.ts
index 449ca954..7790ff5c 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2019 - 2023 Devexperts Solutions IE Limited
+ * 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/.
*/