chartly-charts
Version:
Modern themed charts for React applications
28 lines • 981 B
TypeScript
import React from "react";
interface ChartlyAreaProps {
data: any[];
theme?: "cyberpunk" | "techno" | "ocean" | "sunset" | "glassmorphism" | "neomorphism" | "darkMode";
rounded?: boolean;
glow?: boolean;
shadow?: "small" | "medium" | "large";
tooltip?: boolean;
xAxisLabel?: string;
yAxisLabel?: string;
showGrid?: boolean;
gridStyle?: "solid" | "dashed" | "dotted";
legend?: boolean;
legendPosition?: "top" | "bottom" | "left" | "right";
width?: number;
height?: number;
responsive?: boolean;
dataKey?: string;
className?: string;
fillOpacity?: number;
curveType?: "monotone" | "linear" | "step" | "basis" | "natural";
onPointClick?: (pointData: any) => void;
onPointHover?: (pointData: any) => void;
customLegend?: (props: any) => React.ReactNode;
}
export declare const ChartlyArea: React.FC<ChartlyAreaProps>;
export {};
//# sourceMappingURL=ChartlyArea.d.ts.map