From 5a4ad7aabaaae8647ae6edc68a73522131e41711 Mon Sep 17 00:00:00 2001 From: elvanowen <vanzz_95@hotmail.com> Date: Mon, 16 May 2016 18:02:59 +0700 Subject: [PATCH] Everything --- salaryman/public/js/salaryman/statistics.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/salaryman/public/js/salaryman/statistics.js b/salaryman/public/js/salaryman/statistics.js index 2dce27c..b2d835e 100644 --- a/salaryman/public/js/salaryman/statistics.js +++ b/salaryman/public/js/salaryman/statistics.js @@ -35,12 +35,15 @@ $(function () { var randomScalingFactor = function(){ return Math.round(Math.random()*100)}; function generateGraph(month, year){ + alert("kampret") + $.ajax({ type: "GET", url: "statistics.salaryman.dev/y/" + year + "/m/" + month, dataType: "json", success: function(response){ console.log(response) + alert("kampret2") var barChartData = { labels : ["Golongan 1", "Golongan 2", "Golongan 3", "Golongan 4",], -- GitLab