chart-0714
Version:
Professional trading chart library with advanced customization for trading journal apps
30 lines (29 loc) • 677 B
TypeScript
export interface StopLossLine {
id: string;
price: number;
label?: string;
color?: string;
lineWidth?: number;
opacity?: number;
dashed?: boolean;
dashLength?: number;
gapLength?: number;
}
export interface StopLossOptions {
label?: string;
color?: string;
lineWidth?: number;
opacity?: number;
dashed?: boolean;
dashLength?: number;
gapLength?: number;
defaultColor?: string;
defaultLineWidth?: number;
defaultOpacity?: number;
showLabel?: boolean;
labelPosition?: 'left' | 'right';
labelBackground?: string;
labelTextColor?: string;
fontSize?: number;
fontFamily?: string;
}