Changeset 1065


Ignore:
Timestamp:
12/01/09 01:41:34 (2 years ago)
Author:
stefan
Message:

Fix incomplete drawing in rating chart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/views/plot_rating.php

    r1031 r1065  
    99    $range_start = floor($history[$keys[0]]['timestamp'] / (24 * 3600)); 
    1010    $range_start -= (int)date('d', $history[$keys[0]]['timestamp']) - 1; 
    11     $range_end = floor($history[$keys[count($history) - 1]]['timestamp'] / (24 * 3600)); 
     11    $range_end = ceil($history[$keys[count($history) - 1]]['timestamp'] / (24 * 3600)) + 10; 
    1212 
    1313    $rating_start = $history[$keys[0]]['rating']; 
Note: See TracChangeset for help on using the changeset viewer.