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>