// Merge -> 10309

This commit is contained in:
rMalie
2011-11-21 11:05:10 +00:00
parent 3bfd9ad4ca
commit 82c9dead2a
365 changed files with 11185 additions and 1571 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ class ChartCore
$options = 'xaxis:{mode:"time",timeformat:\''.addslashes($this->format).'\',min:'.$this->from.'000,max:'.$this->to.'000}';
if ($this->granularity == 'd')
foreach ($this->curves as $curve)
for ($i = $this->from; $i <= $this->to; $i += 86400)
for ($i = $this->from; $i <= $this->to; $i = strtotime('+1 day', $i))
if (!$curve->getPoint($i))
$curve->setPoint($i, 0);
}