series.colorFieldString

The data field containing the point color.

Applicable for bar, column and pie series.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "column",
    dataSource: [
        { value: 10, color: "red" },
        { value: 15, color: "blue" },
        { value: 8, color: "green" }
    ],
    series: [{
        field: "value",
        colorField: "color"
    }]
});
</script>
In this article
series.colorField
Not finding the help you need?
Contact Support