series.labels.margin Number|Object
(default: 5)
The margin of the labels. A numeric value will set all margins.
Example - set the chart series label margin as a number
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
labels: {
visible: true,
format: "{0:C}",
margin:20
},
data: [1, 2, 3]
}
]
});
</script>
series.labels.margin.bottom Number
(default: 0)
The bottom margin of the labels.
Example - set the chart series label bottom margin
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
margin: {
bottom: 10
},
data: [1, 2, 3]
}
]
});
</script>
series.labels.margin.left Number
(default: 0)
The left margin of the labels.
Example - set the chart series label left margin
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
margin: {
left: 10
},
data: [1, 2, 3]
}
]
});
</script>
series.labels.margin.right Number
(default: 0)
The right margin of the labels.
Example - set the chart series label right margin
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
margin: {
right: 10
},
data: [1, 2, 3]
}
]
});
</script>
series.labels.margin.top Number
(default: 0)
The top margin of the labels.
Example - set the chart series label top margin
<div id="chart"></div>
<script>
$("#chart").kendoChart({
series: [
{
margin: {
top: 10
},
data: [1, 2, 3]
}
]
});
</script>