0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.225.54.199


Current Path : /proc/thread-self/root/var/www/oasis/h/html_modules/
Upload File :
Current File : //proc/thread-self/root/var/www/oasis/h/html_modules/piecharttesting.html

<!DOCTYPE html>
<html>
  <head>
    <script
      type="text/javascript"
      src="https://www.gstatic.com/charts/loader.js"
    ></script>

    <script type="text/javascript">
      google.charts.load("current", { packages: ["corechart"] });
      google.charts.setOnLoadCallback(drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
          ["DESC.", "DATA"],
          ["NE", 5],
          ["F", 5],
          ["AB", 5],
          ["PP", 5],
          ["NP", 5],
          ["Others (MP, I, TL, DR, W)", 5],
          ["S", 5],
          ["A", 5],
          ["B", 5],
          ["C", 5],
          ["D", 5],
          ["E", 5],
        ]);
        var options = {
          title: "My Daily Activities",
          pieSliceText: "label",
        };
        var chart = new google.visualization.PieChart(
          document.getElementById("piechart")
        );
        chart.draw(data, options);
      }
    </script>
  </head>
  <body>
    <div>
      <button onclick="getData()">Submit</button>
      <div id="piechart" style="height: 100vh; width: 100vh"></div>
    </div>
    <script
      src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"
      type="text/javascript"
    ></script>
    <script src="../js/piecharttesting.js"></script>
  </body>
</html>