Ignore:
Timestamp:
Apr 7, 2011, 8:56:04 PM (14 years ago)
Author:
Rick van der Zwet
Message:
  • Login/logout
  • Revised admin form admin form
File:
1 edited

Legend:

Unmodified
Added
Removed
  • django_apps/running/static/year-total.js

    r300 r301  
    11function yearTotalGraph(data, binder) {
     2  if (data.length == 0) {
     3    return;
     4  }
    25  var start = data[0].x;
    36  var end = data[data.length - 1].x;
     
    3336                  pv.search.index(data, d2, function(d) d.x) + 1);
    3437          fx.domain(d1, d2);
    35           fy.domain(scale.checked ? [0, pv.max(dd, function(d) d.y)] : y.domain());
     38          fy.domain(scale.checked ? [0, pv.max(dd, function(d) d.y) * 1.1] : y.domain());
    3639          return dd;
    3740        })
Note: See TracChangeset for help on using the changeset viewer.