Hide first tick in time series - Javascript highcharts

Javascript examples for highcharts:Chart Series

Description

Hide first tick in time series

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>Highcharts Demo</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.js"></script> 
      <div id="container" style="height: 400px"></div> 
      <script type="text/javascript">
Highcharts.chart('container', {
      chart: {/* w ww  . j  av a 2s .  co m*/
      type: 'column'
    },
    xAxis: {
          tickPositions: [],
        plotBands: [{
            color: '#FCFFC5',
            from: 1,
            to: 2
        },{
            color: '#FCFFC5',
            from: 3.5,
            to: 5.5
        }]
    },
    series: [{
        data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4],
        pointStart: 0,
        pointInterval: 1
    }]
});

      </script>  
   </body>
</html>

Related Tutorials