chart-0714
Version:
Professional trading chart library with advanced customization for trading journal apps
21 lines (20 loc) • 669 B
TypeScript
import { ChartData, Theme } from '../types';
import { WebGLRenderer } from '../core/WebGLRenderer';
import { UnifiedCoordinateSystem } from '../core/UnifiedCoordinateSystem';
export declare class GridRenderer {
private renderer;
private theme;
private buffer;
private initialized;
private showGrid;
constructor(renderer: WebGLRenderer, theme: Theme);
init(): Promise<void>;
render(_data: ChartData, coordSystem: UnifiedCoordinateSystem): void;
private calculatePriceStep;
updateTheme(theme: Theme): void;
setShowGrid(show: boolean): void;
updateOptions(options: {
grid?: any;
}): void;
dispose(): void;
}