Telerik Kendo Pie Chart를 사용하고 있으며 웨지에 색을 칠할 수 있기를 원합니다. 색상을 지정하는 방법 Telerik Kendo UI 원형 차트 쐐기?
다음
내 검도 UI 원형 차트의 마크 업입니다 : 이<script type="text/javascript">
function createChart() {
jQuery("#chart").kendoChart({
theme: jQuery(document).data("kendoSkin") || "Metro",
legend: {
position: "bottom"
},
seriesDefaults: {
labels: {
visible: true,
format: "{0}%"
}
},
series: [{
type: "pie",
data: [{
category: "Remaining Work",
value: 75,
explode: true
}, {
category: "CIOs",
value: 2
}, {
category: "Other Executives",
value: 10
}, {
category: "Directors and Physicians",
value: 13
}]
}],
tooltip: {
visible: true,
format: "{0}%"
}
});
}
jQuery(document).ready(function() {
setTimeout(function() {
createChart();
// Initialize the chart with a delay to make sure
// the initial animation is visible
}, 400);
jQuery(document).bind("kendo:skinChange", function (e) {
createChart();
});
});
</script>
내가 남은 작업은 밝은 회색 싶습니다. 어떻게해야합니까?
의견을 보내 주시면 감사하겠습니다.