title.colorString

The text color of the title. Accepts a valid CSS color string, including hex and rgb.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    title: {
        text: "Stock Chart Title",
        color: "#ff0000"
    },
    series: [{
        type: "line",
        data: [
            { date: new Date(2023, 0, 1), value: 10 },
            { date: new Date(2023, 0, 2), value: 20 },
            { date: new Date(2023, 0, 3), value: 15 }
        ],
    }]
});
</script>
In this article
title.color
Not finding the help you need?
Contact Support