all period types
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user