series.downColorFieldString
The data field containing the color applied when the open value is greater than the close value.
** Available for candlestick series only **
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, downColor: "red" },
{ date: new Date(2000, 1, 2), open: 18, high: 20, low: 16, close: 16, downColor: "blue" }
]
},
dateField: "date",
series: [{
type: "candlestick",
openField: "open",
highField: "high",
lowField: "low",
closeField: "close",
downColorField: "downColor"
}]
});
</script>
In this article