navigator.categoryAxis.title.positionString(default: "center")
The position of the title.
The supported values are:
- "top" - the axis title is positioned on the top (applicable to vertical axis)
- "bottom" - the axis title is positioned on the bottom (applicable to vertical axis)
- "left" - the axis title is positioned on the left (applicable to horizontal axis)
- "right" - the axis title is positioned on the right (applicable to horizontal axis)
- "center" - the axis title is positioned in the center
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
navigator: {
categoryAxis: {
title: {
text: "Time Period",
position: "center"
}
}
},
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