import { NumberRange } from "../../../Core/NumberRange"; import { ESeriesType } from "../../../types/SeriesType"; import type { TSciChart } from "../../../types/TSciChart"; import type { ResamplingParams } from "../../Numerics/Resamplers/ResamplingParams"; import { BaseRenderableSeries } from "./BaseRenderableSeries"; import type { ITextDataLabelProviderOptions, ITextPositionFields } from "./DataLabels/TextDataLabelProvider"; import type { IHitTestProvider } from "./HitTest/IHitTestProvider"; import type { IBaseRenderableSeriesOptions } from "./IBaseRenderableSeriesOptions"; export interface ITextRenderableSeriesOptions extends IBaseRenderableSeriesOptions { /** * Options to pass to the DataLabelProvider. Set a style with font and size to enable per-point text for this series. */ dataLabels?: ITextDataLabelProviderOptions; /** A constant y position (data space) used for all labels. Overridden by yField. See {@link ITextPositionFields} */ defaultY?: number; /** Name or index of a value array on the dataSeries used as x position, overriding xValues */ xField?: string | number; /** Name or index of a value array on the dataSeries used as y position, overriding defaultY and y values */ yField?: string | number; } /** * FastTextRenderableSeries is a specialized renderable series for displaying text in SciChart's High Performance Real-time * {@link https://www.scichart.com/javascript-chart-features | JavaScript Charts} * * --- * 📚 Docs: {@link https://www.scichart.com/documentation/js/current/2d-charts/chart-types/fast-text-renderable-series/} */ export declare class FastTextRenderableSeries extends BaseRenderableSeries implements ITextPositionFields { type: ESeriesType; protected defaultYProperty: number; protected xFieldProperty: string | number; protected yFieldProperty: string | number; constructor(webAssemblyContext: TSciChart, options?: ITextRenderableSeriesOptions); /** A constant y position (data space) used for all labels. Overridden by yField. See {@link ITextPositionFields} */ get defaultY(): number; set defaultY(value: number); /** Name or index of a value array on the dataSeries used as x position, overriding xValues */ get xField(): string | number; set xField(value: string | number); /** Name or index of a value array on the dataSeries used as y position, overriding defaultY and y values */ get yField(): string | number; set yField(value: string | number); /** @inheritDoc */ getYRange(xVisibleRange: NumberRange, isXCategoryAxis?: boolean): NumberRange; /** @inheritDoc */ toJSON(excludeData?: boolean): import("../../..").TSeriesDefinition; /** @inheritDoc */ protected addDrawingProviders(webAssemblyContext: TSciChart, options?: ITextRenderableSeriesOptions): void; /** @inheritDoc */ needsResampling(rp: ResamplingParams): boolean; protected newHitTestProvider(): IHitTestProvider; } /** Registers {@link FastTextRenderableSeries} for `ESeriesType.TextSeries` definitions. */ export declare function registerTextSeries(overWrite?: boolean): void;