ok
Direktori : /home2/selectio/public_html/wedding-info/ |
Current File : /home2/selectio/public_html/wedding-info/craft.php |
<!DOCTYPE html> <html> <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script> <body> <canvas id="myChart" style="width:100%;max-width:600px"></canvas> <script> var xValues = ["Italy", "France", "Spain", "tamil", "USA", "Argentina"]; var yValues = [55, 49, 44, 50, 30, 15]; var barColors = ["red", "green","blue","yellow","orange","brown"]; new Chart("myChart", { type: "bar", data: { labels: xValues, datasets: [{ backgroundColor: barColors, data: yValues }] }, options: { legend: {display: false}, title: { display: true, text: "World Wine Production 2023" } } }); </script> </body> </html>