Refactored ChartUtils to allow for variable normalization parameters, Added day, week, and month filters to Details chart

This commit is contained in:
Alex Holliday committed 2024-07-17 23:00:24 -07:00
1 parent 07719aad2b
commit 9cb2abd62a
4 files changed
+91 -26

No files matched your search

@@ -4,7 +4,7 @@ import { BarChart, Bar, ResponsiveContainer, Cell } from "recharts";
import { NormalizeData } from "../ChartUtils";
const ResponseTimeChart = ({ checks = [] }) => {
const normalizedChecks = NormalizeData(checks);
const normalizedChecks = NormalizeData(checks, 1, 100);
return (
<div className="chart-container">
<ResponsiveContainer width="100%" height="100%">