series.categoryFieldString

The data field containing the point category name.

Applicable to pie series.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "pie",
    dataSource: [
        { category: "Apples", value: 10 },
        { category: "Oranges", value: 15 },
        { category: "Bananas", value: 8 }
    ],
    series: [{
        categoryField: "category",
        field: "value"
    }]
});
</script>
In this article
series.categoryField
Not finding the help you need?
Contact Support