willen vervangen door iets soortgelijks als bv $a en buiten json om te werken
heb diverse dingen gezocht maar kom er niet uit wellicht dat iemand het antwoord heeft
alvast bedankt
<html>
<head>
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["corechart"]});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Task', 'Hours per Day'],
['plan', ],
['do', 2],
['Check', 2],
['Feedback', 2],
['niet geborgd', 7]
]);
var options = {
title: 'My Daily Activities',
is3D: true,
};
var chart = new google.visualization.PieChart(document.getElementById('piechart_3d'));
chart.draw(data, {
colors: ['red', 'orange', 'yellow', 'green', '#000001'],
is3D: true
});
}
</script>
</head>
<body>
<div id="piechart_3d" style="width: 900px; height: 500px;"></div>
</body>
</html>