03.01.26
This commit is contained in:
@@ -178,7 +178,7 @@ const kpis = [
|
|||||||
|
|
||||||
const latestValue = data.length > 4 ? data[4].value : null;
|
const latestValue = data.length > 4 ? data[4].value : null;
|
||||||
const prevValue = data.length > 3 ? data[3].value : null;
|
const prevValue = data.length > 3 ? data[3].value : null;
|
||||||
const latestDate = data.length ? data[0].date : null;
|
const latestDate = data.length > 4 ? data[4].date : null;
|
||||||
|
|
||||||
let trend = null;
|
let trend = null;
|
||||||
let trendColor = null;
|
let trendColor = null;
|
||||||
@@ -583,8 +583,8 @@ export default function App() {
|
|||||||
curve="monotone"
|
curve="monotone"
|
||||||
|
|
||||||
yAxisWidth={0}
|
yAxisWidth={0}
|
||||||
minValue={Math.min(...data.map(d => d.value)) * 0.95}
|
minValue={Math.min(...data.map(d => d.value)) * 0.9}
|
||||||
maxValue={Math.max(...data.map(d => d.value)) * 1.05}
|
maxValue={Math.max(...data.map(d => d.value)) * 1.1}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user