highslide-software/highcharts.com — Issue #737: xAxis.ordinal false and gapSize
Author: cr125rider
Created: 2012-02-03 15:58:21+00:00
State: open

Everyone,

I want a constant x axis, even if I dont have data. I would like to show the gaps in data. From my understanding, the best way to do this is set the ordinal property of my xAxis to false and set a gapSize. When this is done however, it will not "lift" the pen and create a gap. See the following example:

http://jsfiddle.net/PVZLK/ (A borrowed dataset from someone on here)

But if you set ordinal to true, you get this: http://jsfiddle.net/PVZLK/1/ Which is closer to what I want but I want to make sure if there is a huge gap in data, it doesn't get removed from the axis. And the ordinal to true on large datasets seems very processor intensive.

I actually have 3 series plotting all at once. One of the series has a very large gap, and the others do not. I need the one series to stop and restart when it doesn't have data.

Am I going about this all wrong?

Thanks all,
-Seth