legend.title.textString
The text of the legend title. You can also set the text directly for a title with default options.
The text can be split into multiple lines by using line feed characters ("\n").
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 Performance\nYearly Data"
}
}
});
</script>
In this article