UNPKG

ag-charts-enterprise

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

28 lines (27 loc) 1.48 kB
import { type FormatterParams, _ModuleSupport } from 'ag-charts-community'; import type { AxisID, DomainWithMetadata, DynamicContext, NormalisedAngleNumberAxisOptions } from 'ag-charts-core'; import type { AngleAxisLabelDatum } from '../angle/angleAxis'; import { AngleAxis } from '../angle/angleAxis'; import { LinearAngleScale } from './linearAngleScale'; export declare class AngleNumberAxis extends AngleAxis<number, LinearAngleScale, NormalisedAngleNumberAxisOptions> { static readonly className = "AngleNumberAxis"; static readonly type: "angle-number"; get shape(): 'circle'; constructor(moduleCtx: DynamicContext<_ModuleSupport.ChartRegistry>, id: AxisID, options: NormalisedAngleNumberAxisOptions); protected getLabelFormat(): string | undefined; hasDefinedDomain(): boolean; normaliseDataDomain(d: DomainWithMetadata<number>): { domain: number[]; clipped: boolean; }; getDomainExtentsNice(): [boolean, boolean]; updateScale(): void; protected getRangeArcLength(): number; protected generateAngleTicks(domain: number[]): { value: number; visible: boolean; }[]; protected avoidLabelCollisions(labelData: AngleAxisLabelDatum[]): void; tickFormatParams(_domain: number[], _ticks: number[], fractionDigits?: number): _ModuleSupport.AxisTickFormatParams; datumFormatParams(value: any, params: _ModuleSupport.FormatDatumParams, fractionDigits?: number): FormatterParams<any>; }