add simak to git repo
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="chart"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
var siji=$('#siji').html();
|
||||
var loro=$('#loro').html();
|
||||
var telu=$('#telu').html();
|
||||
var papat=$('#papat').html();
|
||||
var limo=$('#limo').html();
|
||||
var enem=$('#enem').html();
|
||||
var pitu=$('#pitu').html();
|
||||
var wolu=$('#wolu').html();
|
||||
Highcharts.chart('chart', {
|
||||
chart: {
|
||||
plotBackgroundColor: null,
|
||||
plotBorderWidth: null,
|
||||
plotShadow: false,
|
||||
type: 'pie'
|
||||
},
|
||||
title: {
|
||||
text: ''
|
||||
},
|
||||
tooltip: {
|
||||
pointFormat: '{series.name}: <b>{point.y}</b>'
|
||||
},
|
||||
accessibility: {
|
||||
point: {
|
||||
valueSuffix: '%'
|
||||
}
|
||||
},
|
||||
plotOptions: {
|
||||
pie: {
|
||||
allowPointSelect: true,
|
||||
cursor: 'pointer',
|
||||
dataLabels: {
|
||||
enabled: true,
|
||||
format: '{point.name}: {point.y}'
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [{
|
||||
name: 'Jumlah',
|
||||
colorByPoint: true,
|
||||
data: [{
|
||||
name: 'Proses PBJ',
|
||||
y: parseInt(siji)
|
||||
}, {
|
||||
name: 'Proses BA',
|
||||
y: parseInt(wolu)
|
||||
}, {
|
||||
name: 'Proses Validasi',
|
||||
y: parseInt(loro)
|
||||
}, {
|
||||
name: 'Cek Kelengkapan',
|
||||
y: parseInt(telu)
|
||||
}, {
|
||||
name: 'Setor Verifikasi',
|
||||
y: parseInt(papat)
|
||||
}, {
|
||||
name: 'Proses Verifikasi',
|
||||
y: parseInt(limo)
|
||||
}, {
|
||||
name: 'Setor Pelunasan',
|
||||
y: parseInt(enem)
|
||||
}, {
|
||||
name: 'Pelunasan',
|
||||
y: parseInt(pitu)
|
||||
}]
|
||||
}]
|
||||
});
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user