all period types

This commit is contained in:
2026-05-05 13:26:35 +05:30
parent 34594215f9
commit 7470da6d2d
4 changed files with 23 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ export default function HistoryChart(props: HistoryChartProps) {
: 1;
const visibleCountMap = { daily: 7, weekly: 6, monthly: 4 };
// const visibleCountMap = { daily: 7, weekly: 6, monthly: 4, yearly: 4, fyly: 4, full: 4 };
const visibleCount = visibleCountMap[activeDataKey];
const total = currentData.length;