Refactored ChartUtils to allow for variable normalization parameters, Added day, week, and month filters to Details chart
This commit is contained in:
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%">
|
||||
|
||||
Reference in new issue
Block a user