UNPKG

sryd-charts-enterprise

Version:

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

48 lines (47 loc) 1.96 kB
import { _ModuleSupport } from 'ag-charts-community'; import { type AnnotationContext, type AnnotationOptionsColorPickerType, type Padding } from '../annotationTypes'; import type { AnnotationTextAlignment, AnnotationTextPosition } from '../text/util'; import { StartEndProperties } from './startEndProperties'; declare const TextualStartEndProperties_base: { new (...args: any[]): { localeManager?: _ModuleSupport.ModuleContext["localeManager"]; setLocaleManager(localeManager: _ModuleSupport.ModuleContext["localeManager"]): void; }; } & { new (...args: any[]): { padding?: number; textAlign: import("ag-charts-community").TextAlign; formatter?: import("ag-charts-community").Formatter<import("../annotationProperties").AxisLabelFormatterParams>; }; } & { new (...args: any[]): { fontStyle?: import("ag-charts-community").FontStyle; fontWeight?: import("ag-charts-community").FontWeight; fontSize: number; fontFamily: string; color?: string; }; } & typeof StartEndProperties; export declare class TextualStartEndProperties extends TextualStartEndProperties_base { text: string; position: AnnotationTextPosition; alignment: AnnotationTextAlignment; placement: 'inside' | 'outside'; width?: number; placeholderText?: string; isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean; getDefaultColor(_colorPickerType: AnnotationOptionsColorPickerType): string | undefined; getDefaultOpacity(_colorPickerType: AnnotationOptionsColorPickerType): number | undefined; getPlaceholderColor(): string | undefined; getPadding(): Padding; getText(): { text: string; isPlaceholder: boolean; }; getTextInputCoords(context: AnnotationContext, _height: number): { x: number; y: number; }; getTextPosition(): AnnotationTextPosition; } export {};