Highcharts: Column chart with 2 points has overlapping datetime labels

Created on 14 Jun 2013  路  1Comment  路  Source: highcharts/highcharts

When a column chart has only a couple points and a datetime x-axis, it adds too many tick positions to the x-axis for the data.

See this example: http://jsfiddle.net/4rNBa/1/
Given there's only 2 points, I would expect 2 to 4 tick positions. Instead, 6 tick positions are displayed and that's too many for this small chart. The x-axis labels overlap and are difficult to read.

Bug

Most helpful comment

If I set tickInterval to pointRange, then the chart displays correctly. Here's an example that patches Highcharts: http://jsfiddle.net/4rNBa/2/

>All comments

If I set tickInterval to pointRange, then the chart displays correctly. Here's an example that patches Highcharts: http://jsfiddle.net/4rNBa/2/

Was this page helpful?
0 / 5 - 0 ratings