Reputation: 3228
I have a chart very similar to this fiddle below:
And I am trying to set a xAxis.min even if the min
has no value (I'm hoping it could show blank white space rather than nothing at all). I tried setting:
xAxis: {
min: 1147284425000,
minRange: 30 * 1000,
startOnTick: false,
endOnTick: false
}
Hoping that both the chart and the navigator could start with "1147284425000", which equals (GMT): Wed, 10 May 2006 18:07:05 GMT
, but I'm not seeing any differences here.
What am I missing here?
Thanks guys!
Upvotes: 0
Views: 101
Reputation: 45079
Three things to mention:
rangeSelector.selected
option prevents min, remove that onexAxis.min
is not enough, add also xAxis.max
to see the changexAxis.ordinal
to false. Ordinal option displays points equally on the available space, so there is no place for "empty space"And working demo: http://jsfiddle.net/yse0Lkq2/1/
Upvotes: 2
Reputation: 1201
I am not sure If I am getting your questions completely or not but from what I got is you are trying to set the minimum for navigator. Please try setextreme function. Ref : http://api.highcharts.com/highstock#Axis.setExtremes
Hope that helps Manish
Upvotes: 0