categoryAxis.colorString

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

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    data: [1, 2, 3, 4, 5],
    categoryAxis: {
        color: "#ff0000"
    }
});
</script>
In this article
categoryAxis.color
Not finding the help you need?
Contact Support