UNPKG

@devexperts/dxcharts-lite

Version:
16 lines (15 loc) 929 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 { CanvasBoundsContainer } from '../../canvas/canvas-bounds-container'; import { BaselineModel } from '../../model/baseline.model'; import { DataSeriesModel, VisualSeriesPoint } from '../../model/data-series.model'; import { HTSeriesDrawerConfig, SeriesDrawer } from '../data-series.drawer'; export declare class BaselineDrawer implements SeriesDrawer { private baseLineModel; private canvasBoundContainer; constructor(baseLineModel: BaselineModel, canvasBoundContainer: CanvasBoundsContainer); draw(ctx: CanvasRenderingContext2D, points: VisualSeriesPoint[][], model: DataSeriesModel, hitTestDrawerConfig?: HTSeriesDrawerConfig): void; }