sryd-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
132 lines (131 loc) • 5.47 kB
TypeScript
import { type PixelSize, _ModuleSupport } from 'ag-charts-community';
import { LineTextProperties } from '../annotationProperties';
import { type AnnotationContext, AnnotationType } from '../annotationTypes';
declare const HorizontalLineProperties_base: (abstract new (...args: any[]) => {
id: string;
isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: import("../annotationTypes").AnnotationOptionsColorPickerType, isMultiColor?: boolean): string | undefined;
locked?: boolean;
visible?: boolean;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
}) & {
new (...args: any[]): {
value?: import("../utils/scale").PointType;
};
} & {
new (...args: any[]): {
handle: {
stroke?: string;
strokeOpacity?: number;
strokeWidth?: number;
lineCap?: _ModuleSupport.ShapeLineCap;
computedLineDash?: PixelSize[];
lineDash?: number[];
lineDashOffset?: number;
lineStyle?: import("ag-charts-community").AgAnnotationLineStyleType;
fill?: string;
fillOpacity?: number;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
};
};
} & {
new (...args: any[]): {
axisLabel: import("../annotationProperties").AxisLabelProperties;
};
} & {
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 _ModuleSupport.BaseProperties;
export declare class HorizontalLineProperties extends HorizontalLineProperties_base {
readonly direction = "horizontal";
static is(this: void, value: unknown): value is HorizontalLineProperties;
type: AnnotationType.HorizontalLine;
text: LineTextProperties;
isValidWithContext(context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(): string | undefined;
getDefaultOpacity(): number | undefined;
getLineDash(): PixelSize[] | undefined;
getLineCap(): _ModuleSupport.ShapeLineCap | undefined;
}
declare const VerticalLineProperties_base: (abstract new (...args: any[]) => {
id: string;
isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: import("../annotationTypes").AnnotationOptionsColorPickerType, isMultiColor?: boolean): string | undefined;
locked?: boolean;
visible?: boolean;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
}) & {
new (...args: any[]): {
value?: import("../utils/scale").PointType;
};
} & {
new (...args: any[]): {
handle: {
stroke?: string;
strokeOpacity?: number;
strokeWidth?: number;
lineCap?: _ModuleSupport.ShapeLineCap;
computedLineDash?: PixelSize[];
lineDash?: number[];
lineDashOffset?: number;
lineStyle?: import("ag-charts-community").AgAnnotationLineStyleType;
fill?: string;
fillOpacity?: number;
handleUnknownProperties(_unknownKeys: Set<string>, _properties: object): void;
set(properties: object): /*elided*/ any;
isValid<TContext = Omit<object, "type">>(this: TContext, warningPrefix?: string): boolean;
toJson<J>(this: J): object;
};
};
} & {
new (...args: any[]): {
axisLabel: import("../annotationProperties").AxisLabelProperties;
};
} & {
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 _ModuleSupport.BaseProperties;
export declare class VerticalLineProperties extends VerticalLineProperties_base {
readonly direction = "vertical";
static is(this: void, value: unknown): value is VerticalLineProperties;
type: AnnotationType.VerticalLine;
text: LineTextProperties;
isValidWithContext(context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(): string | undefined;
getDefaultOpacity(): number | undefined;
getLineDash(): PixelSize[] | undefined;
getLineCap(): _ModuleSupport.ShapeLineCap | undefined;
}
export type CrossLineProperties = HorizontalLineProperties | VerticalLineProperties;
export {};