legend.title.positionString
(default: "top")
The position of the title.
- "bottom" - the title is positioned on the bottom.
- "top" - the title is positioned on the top.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
dataSource: {
data: [{
date: new Date(2016, 0, 1),
close: 41,
volume: 2632000
}, {
date: new Date(2016, 0, 2),
close: 42,
volume: 2631000
}]
},
series: [{
field: "close",
name: "Price"
}],
legend: {
visible: true,
title: {
text: "Stock Chart",
position: "bottom"
}
}
});
</script>
In this article