Changeset 1275


Ignore:
Timestamp:
Nov 3, 2010, 10:18:29 PM (11 years ago)
Author:
Jari Häkkinen
Message:

Addresses #485. Take care of the case when revisions numbers are used for xaxis rather than dates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9-stable/lib/Graph.cc

    r1274 r1275  
    126126      y0 = iter->second;
    127127    }
    128     svn_revnum_t xlast=y.size();
    129     if (y.size()>xticks_.size())
    130       xlast=xticks_.size();
     128    svn_revnum_t xlast=date_xticks() ? xticks_.size() : y.size();
    131129    --xlast;
    132130    staircase(x0, y0, xlast, y0);
Note: See TracChangeset for help on using the changeset viewer.