Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IWCanvas
#3
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>
Reply


Messages In This Thread
IWCanvas - by UdoBausch - 05-28-2018, 09:23 AM
RE: IWCanvas - by Jose Nilton Pace - 05-28-2018, 01:59 PM
RE: IWCanvas - by Jose Nilton Pace - 05-28-2018, 07:00 PM
RE: IWCanvas - by UdoBausch - 05-28-2018, 08:01 PM
RE: IWCanvas - by Jose Nilton Pace - 05-28-2018, 08:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)