Skip to content

Commit

Permalink
update style.css, nambahin chart, filter dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnisaCS committed Jun 11, 2024
1 parent 56b8644 commit 18dc1f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,8 @@ function drawCharts(totalByTypeData, revMonthly, categoryData, monthlyData) {
.map((key) => monthlyData[key]);

// Bagian tipe transaksi
const ctxTransaction = document
.getElementById("transactionChart")
.getContext("2d");
new Chart(ctxTransaction, {
const ctxTypeTransaction = document.getElementById("transactionTypeChart").getContext("2d");
new Chart(ctxTypeTransaction, {
type: "bar",
data: {
labels: labelsTransaction,
Expand Down

0 comments on commit 18dc1f9

Please sign in to comment.