Commit ff4cefbc by Ari Agung Prasetiyo Committed by Ari Agung Prasetiyo

update

1 parent 4f3a7385
......@@ -102,9 +102,11 @@ div.col-md-6 {
.odoometer-head {
font-size: 2.0em !important;
font-weight: bold !important;
}
.odoometer-sub {
font-size: 1.5em !important;
font-weight: bold !important;
}
}
\ No newline at end of file
......@@ -185,7 +185,8 @@
}
}
}
});
}
);
var ctx = document.getElementById('chartRealisasi').getContext('2d');
var canvas = document.getElementById('chartRealisasi');
......@@ -219,7 +220,7 @@
}
});
var realisasi_data = {
var transaksi_data = {
labels: ['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'H7',],
datasets: [{
label: 'Tren Transaksi',
......@@ -230,13 +231,14 @@
tension: 0.5
}]
};
var ctx = document.getElementById('chartRealisasiCnt').getContext('2d');
var canvas = document.getElementById('chartRealisasiCnt');
canvas.width = window.innerWidth;
canvas.height = window.innerHeight / 3.38;
trxTrendChart = new Chart(ctx, {
type: 'line',
data: realisasi_data,
data: transaksi_data,
options: {
responsive: true,
maintainAspectRatio: false,
......@@ -286,6 +288,7 @@
});
$().datarefresh();
});
function addData(chart, data) {
labels = [];
aData = [];
......@@ -386,8 +389,6 @@
// $().get_series();
}
</script>
</html>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!