series.patternField String
The data item field which contains the series pattern configuration for individual chart segments.
The
patternField
option is supported when series.type is set to"pie"
,"donut"
,"funnel"
,"heatmap"
, or"pyramid"
.
Example - set pie chart segment patterns
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
type: "pie",
field: "value",
patternField: "pattern",
startAngle: 120,
data: [
{
value: 1,
pattern: {
type: "dots",
radius: 60,
gap: 50
},
},
{
value: 2,
pattern: {
type: "diagonalStripes",
},
},
],
},
],
});
</script>