sryd-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
93 lines (92 loc) • 3.79 kB
TypeScript
import { type PixelSize, _ModuleSupport } from 'ag-charts-community';
import { ChannelAnnotationMiddleProperties, ChannelTextProperties } from '../annotationProperties';
import { type AnnotationContext, type AnnotationOptionsColorPickerType, AnnotationType } from '../annotationTypes';
declare const ParallelChannelProperties_base: (abstract new (...args: any[]) => {
id: string;
isValidWithContext(_context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: 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[]): {
background: {
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[]): {
start: import("../annotationProperties").PointProperties;
end: import("../annotationProperties").PointProperties;
};
} & {
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[]): {
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 _ModuleSupport.BaseProperties;
export declare class ParallelChannelProperties extends ParallelChannelProperties_base {
static is(this: void, value: unknown): value is ParallelChannelProperties;
type: AnnotationType.ParallelChannel;
height: number;
middle: ChannelAnnotationMiddleProperties;
text: ChannelTextProperties;
snapToAngle: number;
get bottom(): {
start: {
x: import("../utils/scale").PointType;
y: import("../utils/scale").PointType;
};
end: {
x: import("../utils/scale").PointType;
y: import("../utils/scale").PointType;
};
};
isValidWithContext(context: AnnotationContext, warningPrefix?: string): boolean;
getDefaultColor(colorPickerType: AnnotationOptionsColorPickerType): string | undefined;
getDefaultOpacity(colorPickerType: AnnotationOptionsColorPickerType): number | undefined;
getLineDash(): PixelSize[] | undefined;
getLineCap(): _ModuleSupport.ShapeLineCap | undefined;
}
export {};