valueAxis.colorString

Color to apply to all axis elements. Individual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    valueAxis: {
        color: "green",
        labels: {
            visible: true
        },
        line: {
            visible: true
        }
    },
    series: [{
        data: [10, 15, 8, 12]
    }]
});
</script>
In this article
valueAxis.color
Not finding the help you need?
Contact Support