series.downColorString|Function
The series color when the open value is greater than the close value.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: new Date(2000, 1, 1), open: 10, high: 15, low: 8, close: 12 },
{ date: new Date(2000, 1, 2), open: 18, high: 20, low: 16, close: 16 }
]
},
dateField: "date",
series: [{
type: "candlestick",
openField: "open",
highField: "high",
lowField: "low",
closeField: "close",
downColor: "red"
}]
});
</script>
** Available for candlestick series only **
In this article