UNPKG

@devexperts/dxcharts-lite

Version:
18 lines (17 loc) 896 B
/* * 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 { ChartModel } from '../../components/chart/chart.model'; import { DataSeriesModel, VisualSeriesPoint } from '../../model/data-series.model'; import { HTSeriesDrawerConfig, SeriesDrawer } from '../data-series.drawer'; /** * Some series have candles which are highlighted. * This drawer draws the candle box on top of original candles. */ export declare class ColorCandleDrawer implements SeriesDrawer { private chartModel; constructor(chartModel: ChartModel); draw(ctx: CanvasRenderingContext2D, allPoints: VisualSeriesPoint[][], model: DataSeriesModel, hitTestDrawerConfig: HTSeriesDrawerConfig): void; }