New to Kendo UI for jQuery? Start a free 30-day trial

PlotArea.margin

configuration

The margin of the chart plot area. A numeric value will set all margins.

plotArea.margin

Number|Object

Default: 5

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  plotArea: {
    margin: 10
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The bottom margin of the chart plot area.

Default: 5

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  plotArea: {
    margin: {
      bottom: 10
    }
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The left margin of the chart plot area.

Default: 5

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  plotArea: {
    margin: {
      left: 10
    }
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The right margin of the chart plot area.

Default: 5

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  plotArea: {
    margin: {
      right: 10
    }
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>

The top margin of the chart plot area.

Default: 5

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  plotArea: {
    margin: {
      top: 10
    }
  },
  series: [
    { data: [1, 2, 3] }
  ]
});
</script>