로 꾸미고 있습니다. 나는 다음과 같이 검도 도넛 차트를 가지고있다.KendoUI change series 도넛 형 차트의 색상을 시리즈 색상
<div class="center-pad" kendo-chart k-theme="['material']" k-chart-area="{height: 325, width: 480}"
k-series="[{ type: 'donut',
field: 'percentage',
labels: {visible: true, template: '${value} ${category} ${dataItem.color}', position: 'outsideEnd', font: '15px Lato-Regular'},
categoryField: 'source',
explodeField: 'explode'}]"
k-series-click="actionChartClick" k-data-source="actionChartData">
시리즈 색상을 시리즈 색상으로 사용하고 싶습니다. 템플릿, 나는, 내가 설정을 시도 ${dataItem.color}
에 의해
k-series="[{ ...
labels: {visible: true, template: '${value} ${category}', position: 'outsideEnd', font: '15px Lato-Regular', color: '${dataItem.color}'}"
을 템플릿 색상에 액세스 할 수 있습니다 그러나 그것은 작동하지 않았다. 누군가 내가 바꿔야 할 곳을 안내해 줄 수 있습니까?