UNPKG

@devexperts/dxcharts-lite

Version:
20 lines (19 loc) 1.71 kB
/* * 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 { PriceMovement } from '../../model/candle-series.model'; import { FullChartColors, YAxisConfig, YAxisLabelsColors } from '../../chart.config'; export declare const DEFAULT_LABEL_COLOR = "#FF00FF"; export declare function getPlainLabelTextColor(colorsConfig: FullChartColors, textColor: string, invertedTextColor: string, yAxisState: YAxisConfig): string; export declare const getPrimaryLabelTextColor: (lastPriceMovement: PriceMovement, colors: YAxisLabelsColors) => string; export declare const resolveColorForBar: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForLine: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForCandle: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForArea: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForScatterPlot: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForHistogram: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForBaseLine: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveColorForTrendAndHollow: (priceMovement: PriceMovement, colors: FullChartColors) => string; export declare const resolveDefaultColorForLabel: () => string;