navigator.categoryAxis.notes.data.positionString(default: "inside")
The position of the category axis note.
- "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.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
navigator: {
categoryAxis: {
notes: {
data: [{
value: new Date("2012/01/15"),
position: "top",
text: "Top positioned note"
}]
}
}
},
dataSource: {
data: [
{ date: new Date("2012/01/01"), value: 1 },
{ date: new Date("2012/01/15"), value: 2 },
{ date: new Date("2012/02/01"), value: 3 }
]
},
dateField: "date",
valueField: "value"
});
</script>
In this article