diff options
author | Frank Wuerthwein <fkw@ucsd.edu> | 2009-02-13 03:45:07 +0000 |
---|---|---|
committer | Frank Wuerthwein <fkw@ucsd.edu> | 2009-02-13 03:45:07 +0000 |
commit | cc04c8f261dd1db3db486ec3a3b7c7e565b920fe (patch) | |
tree | 023b479f5254b4b53567ce59f0ab50cc129f4af9 /src | |
parent | a597c372292cc844ff3706aae5728aa274c6f787 (diff) |
Fix typo
Diffstat (limited to 'src')
-rw-r--r-- | src/examples/rrdJFlot.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/rrdJFlot.html b/src/examples/rrdJFlot.html index 3fb045f..8e950ea 100644 --- a/src/examples/rrdJFlot.html +++ b/src/examples/rrdJFlot.html @@ -141,11 +141,11 @@ if (el!=undefined) { rra_pairs[i]=([(last_update+(i-rows+1)*step)*1000.0,el]); } else { - if ((i>0) && ((i+1)<rows)) { - rra_pairs[i]=null; + if ((i>0) && ((i+1)<rows)) { + rra_pairs[i]=[(last_update+(i-rows+1)*step)*1000.0,null]; } else { - rra_pairs[i]=0; // first and last must be defined or Flot gets confused - } + rra_pairs[i]=[(last_update+(i-rows+1)*step)*1000.0,0]; + } } } |