series.negativeColorString

Color to use for bars with negative values.

** Applicable only to column series. **

Example

<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
    dataSource: {
        data: [
            { date: new Date(2023, 1, 1), value: 100 },
            { date: new Date(2023, 1, 2), value: -50 },
            { date: new Date(2023, 1, 3), value: 80 }
        ]
    },
    categoryField: "date",
    series: [{
        type: "column",
        field: "value",
        negativeColor: "#ff0000"
    }]
});
</script>

The plot stops before the missing point and continues after it.

In this article
series.negativeColor
Not finding the help you need?
Contact Support