0
영어 실례지만 실망 스럽습니다. 나는 문제가있어 그것을 해결할 수 없다. (이 정보 또는 제거) 라벨의 배경을 수정하려면 어떻게chartjs - 라벨 수정 또는 제거
http://s33.postimg.org/5ayxjlkcv/eac8a54f51_1.jpg
나는이 문서에서 찾을 수 없습니다. 변화를위한
http://codepen.io/anon/pen/XKXJEr
var ctx = document.getElementById("myChart");
Chart.defaults.global.defaultFontColor = '#ccceee';
Chart.defaults.global.elements.line.backgroundColor = '#fff';
var toto = new Chart(ctx, {
type: 'radar',
data: {
labels: ["eat","sleep","drink","run","empty"],
datasets: [
{
label: "Day",
backgroundColor: "rgba(0,204,255,0.5)",
borderColor: "rgba(255,255,255,1)",
borderWidth: "1px",
pointBackgroundColor: "rgba(255,99,132,1)",
pointBorderColor: "#fff",
pointHoverBackgroundColor: "#fff",
pointHoverBorderColor: "rgba(255,99,132,1)",
data: ["135","145","5","125","12"] },
{
label: 'Average',
backgroundColor: "rgba(255,162,0,0.8)",
borderColor: "rgba(255,255,255,1)",
borderWidth: "1px",
pointBackgroundColor: "rgba(255,99,132,1)",
pointBorderColor: "#fff",
pointHoverBackgroundColor: "#fff",
pointHoverBorderColor: "rgba(255,99,132,1)",
data: ["70","75","45","87.5","20.5"] }
]
},
options: {
legend: {
position: 'bottom',
},
title: {
display: true,
text: 'Your Progress'
}
}
});