Skip to content
Snippets Groups Projects
Commit 5a4ad7aa authored by elvanowen's avatar elvanowen
Browse files

Everything

parent 388d87f8
Branches
No related merge requests found
Pipeline #2773 skipped
...@@ -35,12 +35,15 @@ $(function () { ...@@ -35,12 +35,15 @@ $(function () {
var randomScalingFactor = function(){ return Math.round(Math.random()*100)}; var randomScalingFactor = function(){ return Math.round(Math.random()*100)};
function generateGraph(month, year){ function generateGraph(month, year){
alert("kampret")
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "statistics.salaryman.dev/y/" + year + "/m/" + month, url: "statistics.salaryman.dev/y/" + year + "/m/" + month,
dataType: "json", dataType: "json",
success: function(response){ success: function(response){
console.log(response) console.log(response)
alert("kampret2")
var barChartData = { var barChartData = {
labels : ["Golongan 1", "Golongan 2", "Golongan 3", "Golongan 4",], labels : ["Golongan 1", "Golongan 2", "Golongan 3", "Golongan 4",],
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment