I have a pie chart. This is the code:
<
div
data-role
=
"chart"
data-legend
=
"{ position: 'bottom' }"
data-series-defaults
=
"{ type: 'column' }"
data-category-axis="{
field: 'name',
}"data-value-axis="[
{ name: 'name'},
]"
data-series-colors
=
"['#DDDDDD','#FFFF00','#FF0000','#00CC00']"
data-series="[
{ field: 'doc1', name: 'doc', labels: {visible: true} },
{ field: 'doc2', name: 'doc', labels: {visible: true} },
{ field: 'doc3', name: 'doc', labels: {visible: true} },
{ field: 'doc4', name: 'doc', labels: {visible: true} }
]"data-bind="source: DocSource,
events: { seriesHover: onSeriesHover }"></
div
>
I wuold like set data with '%' using MVVM of kendo