2017년 6월 20일 화요일

AI2, JavaScript API Chart.js. Statistical graphs, bars, lines, pie. Easy.


by JavaScript API Chart.js you can build statistical graphs, lines, pie, bars,...


You need upload to your app Chart.bundle.js and utils.js files, then JS get datas by

var datos = window.AppInventor.getWebViewString(); 
      datos = datos.split(",");
  
  // data: [12, 19, 3, 5, 2, 3], 
         data: datos,
 
You can write numbers in TextBox and then click in "Pulsa" Button.








--
great examples!


earlier I also played around with the chart.js library, see also https://puravidaapps.com/pie.php
your example shows very nice, what else is possible using that library!

--
Thank you Taifun, great work with Extensions in your site.

--

댓글 없음:

댓글 쓰기