valueAxis.notes.positionString
The position of the value 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({
dataSource: {
data: [
{ date: new Date("2023/1/1"), open: 100, high: 110, low: 95, close: 105 },
{ date: new Date("2023/1/2"), open: 105, high: 115, low: 100, close: 110 }
]
},
dateField: "date",
valueAxis: {
notes: {
position: "right",
data: [{
value: 105,
label: { text: "Important level" }
}]
}
},
series: [{
type: "candlestick",
openField: "open",
highField: "high",
lowField: "low",
closeField: "close"
}]
});
</script>
In this article