series.closeFieldString
The data field containing 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: 12, high: 18, low: 10, close: 16 }
]
},
dateField: "date",
series: [{
type: "candlestick",
openField: "open",
highField: "high",
lowField: "low",
closeField: "close"
}]
});
</script>
** Available for candlestick and ohlc series only **
In this article