@devexperts/dxcharts-lite
Version:
21 lines (20 loc) • 888 B
TypeScript
/*
* Copyright (C) 2019 - 2025 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 { HighLowProvider } from './scaling/auto-scale.model';
import VisualCandle from './visual-candle';
import { HighLowWithIndex } from './scale.model';
import { CandleSeriesModel } from './candle-series.model';
/**
* Candles high low provider.
* @param candleSeriesModel
* @doc-tags viewport,scaling
*/
export declare const createCandleSeriesHighLowProvider: (candleSeriesModel: CandleSeriesModel) => HighLowProvider;
/**
* Calculates the high and low values for given candles array.
* @param visualCandles
*/
export declare const calculateCandlesHighLow: (visualCandles: VisualCandle[]) => HighLowWithIndex;