summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/rrdFlotSupport.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/rrdFlotSupport.js b/src/lib/rrdFlotSupport.js
index 8ab8ba7..8aa9e49 100644
--- a/src/lib/rrdFlotSupport.js
+++ b/src/lib/rrdFlotSupport.js
@@ -32,12 +32,7 @@ function rrdDS2FlotSeries(rrd_file,ds_id,rra_idx,want_label) {
if (el!=undefined) {
flot_series.push([timestamp,el]);
} else {
- if ((i>0) && ((i+1)<rra_rows)) {
- flot_series.push([timestamp,null]);
- } else {
- // Flot misbehaves if first or last point is null
- flot_series.push([timestamp,0]);
- }
+ flot_series.push([timestamp,null]);
}
} // end for