Add inline style to ResponseTime chart
This commit is contained in:
1 parent
004e43092b
commit
8d58506070
1 file changed
+6
-1
@@ -8,7 +8,12 @@ const ResponseTimeChart = ({ checks = [] }) => {
|
|||||||
return (
|
return (
|
||||||
<div className="chart-container">
|
<div className="chart-container">
|
||||||
<ResponsiveContainer width="100%" height="100%">
|
<ResponsiveContainer width="100%" height="100%">
|
||||||
<BarChart width={150} height={40} data={normalizedChecks}>
|
<BarChart
|
||||||
|
width={150}
|
||||||
|
height={40}
|
||||||
|
data={normalizedChecks}
|
||||||
|
style={{ cursor: "pointer" }}
|
||||||
|
>
|
||||||
<Bar maxBarSize={10} dataKey="responseTime">
|
<Bar maxBarSize={10} dataKey="responseTime">
|
||||||
{normalizedChecks.map((check, index) => (
|
{normalizedChecks.map((check, index) => (
|
||||||
<Cell
|
<Cell
|
||||||
|
|||||||
Reference in new issue
Block a user