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}}
|
||||
];
|
||||
var ctx = document.getElementById("FederationChart").getContext("2d");
|
||||
var myDoughnutChart = new Chart(ctx).Doughnut(FedData,
|
||||
{
|
||||
animateRotate : false,
|
||||
});
|
||||
document.getElementById('FederationLegend').innerHTML = myDoughnutChart.generateLegend();
|
||||
var myDoughnutChart = new Chart(ctx).Doughnut(FedData, { animateRotate : false, });
|
||||
</script>
|
||||
|
||||
<table id="federation-stats">
|
||||
|
|
Loading…
Reference in a new issue