Closed codxse closed 8 years ago
Though the date only 2012, please make a filter so it can changes to another date (year). The code is your call.
console.log('on ngOnInit'); this.tahun = 2012; this.url = "https://api.kawaljakarta.org/v1/komponen-inflasi/key=tahun&gd=%22" +(this.tahun - 1).toString()+"%22&ld=%22"+this.tahun.toString()+"%22"; this.loadData(this.url);
for example, for 2012 data the end point
https://api.kawaljakarta.org/v1/komponen-inflasi/key=tahun&gd='2011'&ld='2012'
please make the default value is the last year
done #18
Though the date only 2012, please make a filter so it can changes to another date (year). The code is your call.
for example, for 2012 data the end point
please make the default value is the last year