diff --git a/web-ui/src/pages/PulseReportPage.jsx b/web-ui/src/pages/PulseReportPage.jsx index 108051804..b329cc47d 100644 --- a/web-ui/src/pages/PulseReportPage.jsx +++ b/web-ui/src/pages/PulseReportPage.jsx @@ -7,7 +7,7 @@ import { CartesianGrid, Legend, Line, - LineChart, + ComposedChart, ResponsiveContainer, Tooltip, XAxis, @@ -48,7 +48,7 @@ import './PulseReportPage.css'; // Recharts doesn't support using CSS variables, so we can't // easily use color variables defined in variables.css. const ociDarkBlue = '#2c519e'; -//const ociLightBlue = '#76c8d4'; // not currently used +const ociLightBlue = '#76c8d4'; // const ociOrange = '#f8b576'; // too light const orange = '#b26801'; @@ -209,7 +209,8 @@ const PulseReportPage = () => { { date: day.date, internal: day.datapoints.reduce((acc, current) => acc + current.internalScore, 0)/day.datapoints.length, - external: day.datapoints.reduce((acc, current) => acc + current.externalScore, 0)/day.datapoints.length + external: day.datapoints.reduce((acc, current) => acc + current.externalScore, 0)/day.datapoints.length, + responses: day.datapoints.length, } ))); setBarChartData(frequencies); @@ -436,7 +437,7 @@ const PulseReportPage = () => { /> - + { { stroke={orange} type="monotone" /> - + +