Line Flex
4 years ago in HTML
<!DOCTYPE html>
<html>
<head>
<title> Sales Volume by Products</title>
<link rel = "icon" type = "image/png" href = "https://storage.googleapis.com/piyaphanwebsite.appspot.com/Work/logo.png">
<!-- For apple devices -->
<link rel = "apple-touch-icon" type = "image/png" href = "https://storage.googleapis.com/piyaphanwebsite.appspot.com/Work/logo.png"/>
<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([
['Products', 'Revenues'],
['น้ำอัดลม', 20000000],
['น้ำแร่', 17000000],
['น้ำชาเขียว', 13000000],
['น้ำดื่มให้พลังงาน', 10000000],
['น้ำชามะนาว', 9000000],
]);
var options = {
title: 'Sales Volume by Products 1 Aprill - 30 June 2020 ',
pieStartAngle: 100,
pieHole: 0.4,
sliceVisibilityThreshold: .1,
};
var chart = new google.visualization.PieChart(document.getElementById('donutchart'));
chart.draw(data, options);
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-75065234-3', 'auto');
ga('send', 'pageview', '/11f5ef6f-4dee-4443-8335-34af1b8063f9.html');
</script></head>
<body>
<div id="donutchart" style="width: 100%; height: 600px;" ></div>
</body>
<!-- upload at url="https://neighborlysumatranrhinoceros.htmlpasta.com/"
Or you can comment out a large number of lines.
-->
</html>