paneDefaults.title.margin.topNumber(default: 0)
The top margin of the title.
Example - set the default pane title top margin
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{ data: [1, 2, 3] },
{ data: [1, 2, 3, 4], axis: "bottom" }
],
valueAxis: [
{ pane: "top-pane" },
{ pane: "bottom-pane", name: "bottom" }
],
paneDefaults: {
title: {
margin: {
top: 15
}
}
},
panes: [
{ name: "top-pane",
title: {
text: "Top"
}
},
{ name: "bottom-pane",
title: {
text: "Bottom"
}
}
]
});
</script>
In this article