Enhance dashboard widgets with advanced chart customization options

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/fef6b379-41f3-4a0e-b128-7337e490c626.jpg
This commit is contained in:
alphaeusmote
2025-04-10 00:45:14 +00:00
parent 0535c20d9a
commit 3ba3798286
2 changed files with 181 additions and 1 deletions
@@ -26,6 +26,14 @@ export interface WidgetProps {
showLegend?: boolean;
stacked?: boolean;
precision?: number;
// New chart options
showGrid?: boolean;
showTooltip?: boolean;
enableAnimation?: boolean;
valueFormatter?: "none" | "number" | "percent" | "currency";
currencySymbol?: string;
minValue?: number | null;
maxValue?: number | null;
};
onEdit: (id: string) => void;
onDelete: (id: string) => void;