summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank Wuerthwein <fkw@ucsd.edu>2009-02-13 13:55:19 +0000
committerFrank Wuerthwein <fkw@ucsd.edu>2009-02-13 13:55:19 +0000
commit356e91b74a428565137cdec764f02122ebc0e564 (patch)
treecb70ddb4f67b524c405175a253490127014baf1b /src
parentbf9c7675b257dfc03c70653ac336c177dcd77805 (diff)
Remove special case.... not needed
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