1π
β
In you app.js file on line number 10 :
Gender.push("Gender " + data[i].JenisKelaminID);
you can set an if condition instead of it Like
if(data[i].JenisKelaminID == 1){
Gender.push("Men");
} else if(data[i].JenisKelaminID == 2){
Gender.push("Women");
} else {
Gender.push("Other");
}
In there the chart name is defined, hope it will help your work.
Source:stackexchange.com