Permalink
Browse files

Tweaks to tickets plot. Change legend from Opened to Open. Add day to…

… x-axis labels.
  • Loading branch information...
mdkendall committed Mar 14, 2011
1 parent 71c66ba commit dbb4c398c4e689268a726a14db9618bf31e13273
Showing with 2 additions and 2 deletions.
  1. +2 −2 tracstats/templates/tickets.html
@@ -49,7 +49,7 @@ <h2>Open Tickets</h2>
var options = {
lines: { show: true, fill: true },
- xaxis: { mode: "time", timeformat: "%b %y" },
+ xaxis: { mode: "time", timeformat: "%d %b %y" },
colors: [ "#afd8f8", "#cb4b4b" ],
legend: { show: true, backgroundOpacity: 0, },
};
@@ -61,7 +61,7 @@ <h2>Open Tickets</h2>
var d2 = [<py:for each="stat in history">[${stat.x}, ${stat.accepted}]<py:if
test="stat != history[-1]">,</py:if></py:for>];
- $.plot($("#opentickets"), [ { data: d1, label: 'Opened' },
+ $.plot($("#opentickets"), [ { data: d1, label: 'Open' },
{ data: d2, label: 'Accepted' } ], options);
});
</script>

0 comments on commit dbb4c39

Please sign in to comment.