ein p im Script? Bei mir sieht das wie folgend im Firebug aus
HTML
<script>
var ctx = document.getElementById("myChart");
var myChart = new Chart(ctx, {
type: 'line',
data: {
labels: [
"Tatort 174 - Tod macht erfinderisch",
"Tatort 177 - Die kleine Kanaille",
"Tatort 183 - Tödliche Blende ",
"Tatort 202 - Schuldlos schuldig",
"Tatort 219 - Keine Tricks, Herr Bülow "
],
datasets: [{
label: "Einschaltquote in Mio.",
fill: true,
backgroundColor: "rgba(245,245,245,0.6)",
pointBorderColor: "rgba(0,127,255,1)",
pointBackgroundColor: "#fff",
pointBorderWidth: 2,
pointHoverBackgroundColor: "rgba(75,192,192,1)",
pointHoverBorderColor: "rgba(220,220,220,1)",
pointHoverBorderWidth: 2,
pointRadius: 5,
pointHitRadius: 5,
data: [
22.58,
17.11,
15.41,
14.21,
16.49
],
}]
},
options: {
legend: {
display: false,
},
scales: {
yAxes: [{
ticks: {
beginAtZero:true
}
}],
xAxes: [{
display: false
}]
}
},
});
</script>
Alles anzeigen