categoryAxis.notes.positionString
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="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
categoryAxis: {
notes: {
position: "bottom",
data: [{
value: "Q2",
text: "Bottom note"
}]
},
categories: ["Q1", "Q2", "Q3", "Q4"]
},
series: [{
data: [10, 15, 8, 12]
}]
});
</script>
In this article