legend.reverseBoolean(default: false)

If set to true the legend items will be reversed.

Available in versions 2013.3.1306 and later.

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    legend: {
        reverse: true
    },
    series: [{
        name: "Series 1",
        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 }
        ],
    }, {
        name: "Series 2", 
        type: "line",
        data: [
            { date: new Date(2023, 0, 4), value: 50 },
            { date: new Date(2023, 0, 5), value: 30 },
            { date: new Date(2023, 0, 6), value: 45 }
        ],
    }]
});
</script>
In this article
legend.reverse
Not finding the help you need?
Contact Support