subtitle.align String
The alignment of the subtitle.
- "center" - the text is aligned to the middle.
- "left" - the text is aligned to the left.
- "right" - the text is aligned to the right.
By default, the subtitle has the same alignment as the title.
Example - configure the chart title and subtitle alignment
<div id="chart"></div>
<script>
$("#chart").kendoChart({
title: {
text: "Title",
align: "left"
},
subtitle: {
text: "Subtitle",
align: "left"
},
series: [
{ data: [1, 2] }
]
});
</script>