title.alignString(default: "center")
The alignment of the title.
Example
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
title: {
text: "Stock Chart Title",
align: "left"
},
series: [{
type: "line",
data: [
{ date: new Date(2023, 0, 1), value: 10 },
{ date: new Date(2023, 0, 2), value: 20 },
{ date: new Date(2023, 0, 3), value: 15 }
],
}]
});
</script>
"left"
The text is aligned to the left.
"center"
The text is aligned to the middle.
"right"
The text is aligned to the right.
In this article