Commit 17502056 authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents 2e48ce51 29cfef6b
......@@ -108,12 +108,11 @@ function Page_History() {
series: [],
labels: []
};
for (var distro in distributions_counter) {
if (distributions_counter.hasOwnProperty(distro)) {
for (var i = 0; i < all_distributions.length; i++) {
var distro = all_distributions[i];
distributions_data.series.push(distributions_counter[distro]);
distributions_data.labels.push(distro + " (" + distributions_counter[distro] + ")");
}
}
Chartist.Pie('#distributions-chart', distributions_data, {
donut: true,
donutWidth: 15,
......@@ -159,6 +158,7 @@ function Page_History() {
_count_distributions(p);
_count_days(p);
}
all_distributions.sort();
_sort_table();
_create_graph_distributions();
_create_graph_days();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment