UNPKG

handwritten-graph

Version:

A TypeScript library to create handwritten-style line graphs and pie charts using D3.js

27 lines 891 B
import { BaseChart } from '../core/BaseChart'; import { LineChartData, LineChartConfig } from '../types'; export declare class LineChart extends BaseChart<LineChartData, LineChartConfig> { private xScale; private yScale; private tooltip; private hoverLine; constructor(selector: string, data: LineChartData, config?: Partial<LineChartConfig>); private static validateAndProcessData; private initializeScales; private initializeHoverLine; protected render(): void; private renderEmptyState; private createFillPatterns; private renderGrid; private renderAxes; private renderAreas; private renderLines; private renderPoints; private renderLegend; private setupInteractions; private handleMouseOver; private handleMouseMove; private handleMouseOut; destroy(): void; } //# sourceMappingURL=LineChart.d.ts.map