Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while( $row = $result->fetch_assoc() )
- {
- extract($row);
- echo "['{$nm_kategori}', {$jumlah_barang}],";
- $a[$i] = $nm_kategori;
- $b[$i] = $kd_kategori;
- $i++;
- }
- ?
- // Create and draw the visualization.
- var pieChart = new google.visualization.PieChart(document.getElementById('visual'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement