mirror of
https://github.com/seigler/neat-charts
synced 2025-07-27 09:26:10 +00:00
readability
This commit is contained in:
parent
b6cbca8013
commit
e23b4a5526
1 changed files with 1 additions and 1 deletions
|
@ -44,8 +44,8 @@ foreach ($last24h as $datum) {
|
||||||
}
|
}
|
||||||
$previousValue = $thisY;
|
$previousValue = $thisY;
|
||||||
}
|
}
|
||||||
end($chartData); // already at end, not needed
|
|
||||||
$yRange = $yMax - $yMin;
|
$yRange = $yMax - $yMin;
|
||||||
|
end($chartData);
|
||||||
$xMax = key($chartData);
|
$xMax = key($chartData);
|
||||||
reset($chartData);
|
reset($chartData);
|
||||||
$xMin = key($chartData);
|
$xMin = key($chartData);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue