aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2022-04-12 17:44:20 -0400
committerGalen Guyer <galen@galenguyer.com>2022-04-12 17:44:20 -0400
commit290e1694efacc8bfea62b78538cb9d40003f62f6 (patch)
treeb78ec0f353c144920806e2307c4668329caf6237 /src
parent257fb5d0479c835c72477afe966ae3c81a922c3c (diff)
add mark for removal of mask mandate
Diffstat (limited to 'src')
-rw-r--r--src/History.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/History.js b/src/History.js
index 7425b61..58085ac 100644
--- a/src/History.js
+++ b/src/History.js
@@ -9,6 +9,7 @@ import {
XAxis,
YAxis,
Tooltip,
+ ReferenceLine,
ResponsiveContainer,
Label,
} from "recharts";
@@ -23,6 +24,10 @@ const History = (props) => {
};
});
+ if (process.env.NODE_ENV == "development") {
+ console.log(data);
+ }
+
return (
<>
<h3 className="text-3xl">{props.name}</h3>
@@ -34,6 +39,8 @@ const History = (props) => {
data={data}
>
<Line type="monotone" dataKey="value" stroke="#CD8508" dot={false} />
+ {/* <ReferenceLine x={1644594525} label={{ value: "Visitor Policy adjusted", angle: -90, position: 'center' }} /> */}
+ <ReferenceLine x={1647550274} label={{ value: "Mask Mandate dropped", angle: -90, position: 'left' }} />
<CartesianGrid strokeDasharray="3 3" />
<XAxis
dataKey="date"