Commit 0aedfcbf by Ari Agung Prasetiyo

update pbb table

1 parent 5b2fc957
......@@ -217,8 +217,8 @@
var canvasBar = document.getElementById('chartPie');
canvasBar.width = window.innerWidth;
// canvas.height = window.innerHeight / 2;
console.log(window.innerHeight);
console.log($("#panelRealisasi").height())
//console.log(window.innerHeight);
//console.log($("#panelRealisasi").height())
canvasBar.height = $("#panelRealisasi").height() + 125;
canvasBar.parentNode.parentNode.parentNode.style.height = $("#panelRealisasi").height() + "px";
// const bar_data = {
......@@ -282,7 +282,8 @@
// borderWidth: 2,
// }
// },
// responsive: true,
responsive: true,
maintainAspectRatio: true,
plugins: {
legend: {
display: false,
......@@ -511,6 +512,7 @@
"searching": false,
"info": false,
"autoWidth": false,
"scrollX" : true,
"order": [[0, 'asc']],
"columnDefs": [
{ className: 'text-center', width: "50px", targets: [0] },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!