Scale the Y axis to the visible points

[?]
Oct 7, 2014, 11:10 AM
CVWVXXJUVVBFJMU7T464S5G7XHFHEERH2E3GXMZXMLY5RTIGWRDAC

Dependencies

  • [2] 6GZZDDQB Move the store path size chart to the job page
  • [3] BB2KXLXZ Move the build time chart to the job page
  • [4] QCGCX2BR Generalize lazy tabs
  • [*] IK53RV4V

Change contents

  • edit in src/root/common.tt at line 585
    [2.1935]
    [2.1935]
    var ymax = 0;
    d.forEach(function(x) {
    if (x[0] < ranges.xaxis.from) return;
    if (x[0] > ranges.xaxis.to) return;
    ymax = Math.max(x[1], ymax);
    });
  • replacement in src/root/common.tt at line 595
    [2.2060][2.2060:2132]()
    xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to }
    [2.2060]
    [2.2132]
    xaxis: { min: ranges.xaxis.from, max: ranges.xaxis.to },
    yaxis: { min: 0, max: ymax * 1.1 }