I need xAxis labels should be visible always even if there is no data. I am passing xAxis categories dynamically. Categories will be like 12/21, 12/22, 12/23, 12/24, 12/25, 12/26, 12/27, 12/28, 12/29, 12/30, 12/31, 1/1, 1/2, 1/3 etc., date and month. I have some set of checkboxes. If I uncheck the checkbox I will hide the series related to that checkbox. If I am hiding last series the xAxis labels also hiding. I need xAxis to be visible even I uncheck all the checkboxes. If I hide all the series, then graph should be like Graph have no plots but xaxis and yaxis should be visible. Kindly provide me the steps to solve this.
The standard behaviour of Highcharts is that your axes are updated each time you are hiding or showing series.
You can change standard behaviour by using plotOptions.series.events.legendItemClick parameter: http://api.highcharts.com/highcharts#pl ... dItemClick
You can hide or show series using this.group.hide() or this.group.show().
This example will just hide or show your series, without any calculations and for fixed width.
http://jsfiddle.net/jlbriggs/QBvLS/2/
I have set tickInterval and ignoreHiddenSeries, but still it is not working. Category without any values is not being displayed.