UNPKG

scichart

Version:

Fast WebGL JavaScript Charting Library and Framework

32 lines (31 loc) 1.54 kB
import { TDataLabelStyle } from "../../../../../types/TDataLabelStyle"; import { SCRTDoubleVector } from "../../../../../types/TSciChart"; import { WebGlRenderContext2D } from "../../../../Drawing/WebGlRenderContext2D"; import { RenderPassData } from "../../../../Services/RenderPassData"; import { PolarColumnRenderableSeries } from "../PolarColumnRenderableSeries"; import { PolarDataLabelState } from "./PolarDataLabelState"; export declare class PolarColumnDataLabelState extends PolarDataLabelState { readonly x1Values: Float64Array | undefined; private columnWidthProperty; private isFlippedProperty; private x1CoordCache; private zeroXCoordCache; private zeroYCoordCache; private accumulatedWidthCoordCache; /** * Accumulated width array. Is used to get an information about the start angle, which is needed for {@link EPolarLabelMode.Width} */ private accumulatedWidthValues; constructor(renderContext: WebGlRenderContext2D, renderPassData: RenderPassData, style: TDataLabelStyle, color: string, yValues: SCRTDoubleVector, parentSeries: PolarColumnRenderableSeries); private fillAccumulatedWidthValues; get columnWidth(): number; get isFlipped(): boolean; x1Val(index?: number): number; accumulatedWidth(index?: number): number; accumulatedWidthCoord(index?: number): number; get index(): number; set index(value: number); x1Coord(index?: number): number; get zeroXCoord(): number; get zeroYCoord(): number; }