UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

30 lines (29 loc) 1.58 kB
import { ESeriesType } from "../../../types/SeriesType"; import { TSciChart } from "../../../types/TSciChart"; import { ResamplingParams } from "../../Numerics/Resamplers/ResamplingParams"; import { BaseRenderableSeries } from "./BaseRenderableSeries"; import { ITextDataLabelProviderOptions } from "./DataLabels/TextDataLabelProvider"; import { IHitTestProvider } from "./HitTest/IHitTestProvider"; import { 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; } /** * 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/v4/2d-charts/chart-types/fast-text-renderable-series/} */ export declare class FastTextRenderableSeries extends BaseRenderableSeries { type: ESeriesType; constructor(webAssemblyContext: TSciChart, options?: ITextRenderableSeriesOptions); /** @inheritDoc */ protected addDrawingProviders(webAssemblyContext: TSciChart, options?: ITextRenderableSeriesOptions): void; /** @inheritDoc */ needsResampling(rp: ResamplingParams): boolean; protected newHitTestProvider(): IHitTestProvider; }