mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Don't skip line if there are no queries, simply set its contribution to zero
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