categoryAxis.notes.positionString
The position of the category axis note.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [
{ date: "2012/01/01", open: 10, high: 15, low: 8, close: 12, volume: 1000 },
{ date: "2012/01/02", open: 12, high: 18, low: 10, close: 16, volume: 1500 }
]
},
dateField: "date",
categoryAxis: {
notes: {
position: "top",
data: [{ value: new Date("2012/01/01"), text: "Important date" }]
}
},
series: [{
type: "candlestick",
openField: "open",
highField: "high",
lowField: "low",
closeField: "close"
}]
});
</script>
- "top" - The note is positioned on the top.
- "bottom" - The note is positioned on the bottom.
- "left" - The note is positioned on the left.
- "right" - The note is positioned on the right.
In this article