removed dead space
This commit is contained in:
parent
a197b730a1
commit
53ddf5ae04
1 changed files with 17 additions and 22 deletions
|
@ -418,7 +418,6 @@
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
// - ASSET STATUS CHART -
|
// - ASSET STATUS CHART -
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
|
|
||||||
var pieChartCanvas = $("#statusPieChart").get(0).getContext("2d");
|
var pieChartCanvas = $("#statusPieChart").get(0).getContext("2d");
|
||||||
var pieChart = new Chart(pieChartCanvas);
|
var pieChart = new Chart(pieChartCanvas);
|
||||||
var ctx = document.getElementById("statusPieChart");
|
var ctx = document.getElementById("statusPieChart");
|
||||||
|
@ -427,7 +426,6 @@
|
||||||
position: 'top',
|
position: 'top',
|
||||||
responsive: true,
|
responsive: true,
|
||||||
maintainAspectRatio: true,
|
maintainAspectRatio: true,
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -440,16 +438,13 @@
|
||||||
},
|
},
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
|
var myPieChart = new Chart(ctx,{
|
||||||
var myPieChart = new Chart(ctx, {
|
type : 'doughnut',
|
||||||
type: 'doughnut',
|
data : data,
|
||||||
data: data,
|
|
||||||
options: pieOptions
|
options: pieOptions
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
error: function (data) {
|
error: function (data) {
|
||||||
|
|
||||||
// window.location.reload(true);
|
// window.location.reload(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue