mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #477 from pi-hole/fix/overtimegraphs
Fix/overtimegraphs
This commit is contained in:
@@ -208,11 +208,6 @@ function updateForwardedOverTime() {
|
||||
{
|
||||
if (!{}.hasOwnProperty.call(plotdata[j], key)) continue;
|
||||
var singlepoint = plotdata[j][key];
|
||||
if(singlepoint === 0)
|
||||
{
|
||||
// Don't plot this line
|
||||
singlepoint = NaN;
|
||||
}
|
||||
forwardDestinationChart.data.datasets[key].data.push(singlepoint/sum);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user