私は剣道と角度を使って作業しています。私は剣道のドーナツチャートを次のように持っています。剣道シリーズシリーズの色にドーナツチャートのラベルを変更する
<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}'}"
をテンプレートの色にアクセスすることができますしかし、それは動作しませんでした。 誰かが私をどこに変えなければならないか教えてくれますか?