UNPKG

handwritten-graph

Version:

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

26 lines 865 B
import { BaseChart } from '../core/BaseChart'; import { BarChartData, BarChartConfig } from '../types'; export declare class BarChart extends BaseChart<BarChartData, BarChartConfig> { private xScale; private yScale; private colorScale; private tooltip; constructor(selector: string, data: BarChartData, config?: Partial<BarChartConfig>); private static validateAndProcessData; private initializeScales; protected render(): void; private renderEmptyState; private createFillPatterns; private renderGrid; private renderAxes; private renderBars; private renderVerticalBars; private renderHorizontalBars; private renderLegend; private setupInteractions; private handleMouseOver; private handleMouseMove; private handleMouseOut; destroy(): void; } //# sourceMappingURL=BarChart.d.ts.map