panes.padding Number|Object
(default: 0)
The padding of the pane. A numeric value will set all paddings.
Example - set the chart pane padding as a number
<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" }
],
panes: [
{ name: "top-pane", padding: 10 },
{ name: "bottom-pane", padding: 10 }
]
});
</script>
panes.padding.bottom Number
(default: 0)
The bottom padding of the chart panes.
Example - set the chart pane bottom padding
<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" }
],
panes: [
{
name: "top-pane",
padding: {
bottom: 10
}
},
{
name: "bottom-pane",
padding: {
bottom: 10
}
}
]
});
</script>
panes.padding.left Number
(default: 0)
The left padding of the chart panes.
Example - set the chart pane left padding
<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" }
],
panes: [
{
name: "top-pane",
padding: {
left: 10
}
},
{
name: "bottom-pane",
padding: {
left: 10
}
}
]
});
</script>
panes.padding.right Number
(default: 0)
The right padding of the chart panes.
Example - set the chart pane right padding
<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" }
],
panes: [
{
name: "top-pane",
padding: {
right: 10
}
},
{
name: "bottom-pane",
padding: {
right: 10
}
}
]
});
</script>
panes.padding.top Number
(default: 0)
The top padding of the chart panes.
Example - set the chart pane top padding
<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" }
],
panes: [
{
name: "top-pane",
padding: {
top: 10
}
},
{
name: "bottom-pane",
padding: {
top: 10
}
}
]
});
</script>