Margaret,
сделайте макет -- ниже это макет, который нужно делать вам чтоб получить быстрее ответ.
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.js"></script>
<script>
window.onload = function(){
var data = {
labels: ["January", "February", "March", "April", "May", "June", "July"],
datasets: [
{
label: "My First dataset",
fillColor: "rgba(220,220,220,0.2)",
strokeColor: "rgba(220,220,220,1)",
pointColor: "rgba(220,220,220,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(220,220,220,1)",
data: [65, 59, 80, 81, 56, 55, 40]
},
{
label: "My Second dataset",
fillColor: "rgba(151,187,205,0.2)",
strokeColor: "rgba(151,187,205,1)",
pointColor: "rgba(151,187,205,1)",
pointStrokeColor: "#fff",
pointHighlightFill: "#fff",
pointHighlightStroke: "rgba(151,187,205,1)",
data: [28, 48, 40, 19, 86, 27, 90]
}
]
};
//Лепестковая
var radarChartData = data;
var myRadar = new Chart(document.getElementById("canvas").getContext("2d")).Radar(radarChartData,{responsive: true});
// Столбчатая диаграмма
var barChartData = data ;
var ctx = document.getElementById("canvas1").getContext("2d");
var myBar = new Chart(ctx).Bar(barChartData, {responsive : true});
};
</script>
</head>
<body>
<canvas id="canvas" width="400" height="400"></canvas>
<canvas id="canvas1" width="400" height="400"></canvas>
</body>
</html>