UNPKG

chart-0714

Version:

Professional trading chart library with advanced customization for trading journal apps

18 lines (17 loc) 680 B
import { UnifiedCoordinateSystem } from '../core/UnifiedCoordinateSystem'; import { ChartData, Theme } from '../types'; export declare class AxisRenderer { private theme; private width; private height; constructor(theme: Theme); renderYAxis(container: HTMLElement, viewport: UnifiedCoordinateSystem, type: 'price' | 'volume', data?: ChartData): void; private renderPriceScale; private renderVolumeScale; renderXAxis(container: HTMLElement, viewport: UnifiedCoordinateSystem, data: ChartData): void; private formatPrice; private formatVolume; updateTheme(theme: Theme): void; getYAxisWidth(): number; getXAxisHeight(): number; }