05-28-2018, 07:00 PM
Quote:Thankyou for this tipp - it seems to go in the right direction.
But I have a question:
how do you create pieChart-ticket in HTML-<Body>
- or do you use an other existing IW-Object ?
Yes, i create in body.
Code:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<div class="wrapper">
etc....
</div>
<!-- Placed at the end of the document so the pages load faster -->
<script>
var pieTicket = document.getElementById("pieChart-ticket").getContext('2d');
var myPieTicket = new Chart(pieTicket, {
type: 'doughnut',
data: {
etc...
</script>
</body>
</html>
