sryd-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
53 lines (52 loc) • 1.99 kB
TypeScript
import { type PixelSize, _ModuleSupport } from 'ag-charts-community';
import { LineTextProperties } from '../annotationProperties';
import { type AnnotationContext, type AnnotationOptionsColorPickerType, AnnotationType } from '../annotationTypes';
import { StartEndProperties } from '../properties/startEndProperties';
declare const LineTypeProperties_base: {
new (...args: any[]): {
localeManager?: _ModuleSupport.ModuleContext["localeManager"];
setLocaleManager(localeManager: _ModuleSupport.ModuleContext["localeManager"]): void;
};
} & {
new (...args: any[]): {
startCap?: "arrow";
endCap?: "arrow";
};
} & {
new (...args: any[]): {
extendStart?: boolean;
extendEnd?: boolean;
};
} & {
new (...args: any[]): {
stroke?: string;
strokeOpacity?: number;
strokeWidth?: number;
};
} & {
new (...args: any[]): {
lineCap?: _ModuleSupport.ShapeLineCap;
computedLineDash?: PixelSize[];
lineDash?: number[];
lineDashOffset?: number;
lineStyle?: import("ag-charts-community").AgAnnotationLineStyleType;
};
} & typeof StartEndProperties;
export declare abstract class LineTypeProperties extends LineTypeProperties_base {
text: LineTextProperties;
isValidWithContext(context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: AnnotationOptionsColorPickerType): string | undefined;
getDefaultOpacity(): number | undefined;
getLineDash(): PixelSize[] | undefined;
getLineCap(): _ModuleSupport.ShapeLineCap | undefined;
}
export declare class ArrowProperties extends LineTypeProperties {
static is(this: void, value: unknown): value is ArrowProperties;
type: AnnotationType.Arrow;
endCap: "arrow";
}
export declare class LineProperties extends LineTypeProperties {
static is(this: void, value: unknown): value is LineProperties;
type: AnnotationType.Line;
}
export {};