categoryAxis.justified Boolean

If set to true the chart will position categories and series points on major ticks. This removes the empty space before and after the series.

The default value is false except for "area", "verticalArea", "rangeArea" and "verticalRangeArea".

This option is ignored if the series.type option is set to "bar", "column", "boxPlot", "ohlc", "candlestick" or "waterfall".

Example - justify categories and series

<div id="chart"></div>
  categoryAxis: [{
    justified: true,
    categories: ["2012", "2013"]
  series: [
    { type: "line", data: [1, 2, 3] }
In this article