refactor AreaChart to take an array of data keys
This commit is contained in:
1 parent
d75b15b890
commit
8db24e9016
2 files changed
+13
-9
No files matched your search
@@ -460,7 +460,7 @@ const InfrastructureDetails = () => {
|
||||
<AreaChart
|
||||
height={areaChartHeight}
|
||||
data={monitor?.checks ?? []}
|
||||
dataKey={config.dataKey}
|
||||
dataKeys={[config.dataKey]}
|
||||
xKey="createdAt"
|
||||
yKey={config.dataKey}
|
||||
yDomain={config.yDomain}
|
||||
|
||||
Reference in new issue
Block a user