some beautification to the template code
This commit is contained in:
parent
9150ec59b5
commit
846153d388
1 changed files with 30 additions and 34 deletions
|
@ -23,11 +23,7 @@ var FedData = [
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
];
|
];
|
||||||
var ctx = document.getElementById("FederationChart").getContext("2d");
|
var ctx = document.getElementById("FederationChart").getContext("2d");
|
||||||
var myDoughnutChart = new Chart(ctx).Doughnut(FedData,
|
var myDoughnutChart = new Chart(ctx).Doughnut(FedData, { animateRotate : false, });
|
||||||
{
|
|
||||||
animateRotate : false,
|
|
||||||
});
|
|
||||||
document.getElementById('FederationLegend').innerHTML = myDoughnutChart.generateLegend();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<table id="federation-stats">
|
<table id="federation-stats">
|
||||||
|
|
Loading…
Reference in a new issue