legend.title.paddingNumber|Object
(default: 5)
The padding of the title. A numeric value will set all margins.
Example
<div id="chart"></div>
<script>
$("#chart").kendoChart({
legend: {
title: {
text: "Legend",
padding: {
top: 8,
bottom: 8,
left: 12,
right: 12
}
}
},
series: [
{ name: "Series 1", data: [1, 2, 3] },
{ name: "Series 2", data: [4, 5, 6] }
]
});
</script>
In this article