seriesArray

Array of series definitions.

The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.

Each series type has a different set of options.

**Info:**Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    series: [{
        type: "line",
        data: [10, 15, 8, 12],
        color: "blue"
    }, {
        type: "column",
        data: [5, 7, 3, 6],
        color: "red"
    }]
});
</script>

Related Properties

In this article
seriesRelated Properties
Not finding the help you need?
Contact Support