chart-0714
Version:
Professional trading chart library with advanced customization for trading journal apps
19 lines (18 loc) • 419 B
TypeScript
export interface Marker {
id?: string;
time: number;
price?: number;
position?: 'aboveBar' | 'belowBar' | 'inBar';
color?: string;
shape?: 'circle' | 'square' | 'arrowUp' | 'arrowDown';
text?: string;
size?: number;
}
export interface MarkerStyle {
color: string;
size: number;
strokeColor?: string;
strokeWidth?: number;
textColor?: string;
fontSize?: number;
}