legend.labels.colorString(default: "black")

The color of the labels. Any valid CSS color string will work here, including hex and rgb.

Example

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