Edit this page

series.gap Number (default: 1.5)

The distance between categories expressed as a percentage of the bar width.

See the related spacing setting.

The gap option is supported when series.type is set to "bar", "column", "candlestick", "ohlc", "radarColumn" or "waterfall".

Example - remove distance between categories

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

Example - overlap categories by half bar width

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [ {
    gap: -0.5,
    data: [1, 2]
  }]
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy