Column range chart multiple y-axes and column widths - Javascript highcharts

Javascript examples for highcharts:Column Chart

Description

Column range chart multiple y-axes and column widths

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>Highcharts Demo</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
      <script type="text/javascript">
$(function () {/*w  w  w. ja va 2  s.co m*/
    $('#container').highcharts({
        chart: {
            type: 'column'
        },
        plotOptions: {
            columnrange: {
                pointPadding:0.2,
                color: 'rgba(255,255,255,0)',
                borderColor: '#303030'
            }
        },
        series: [{
                data:[30]
        },
        {
            type:'columnrange',
            data: [[10,20]]
        }]
    });
});

      </script> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.js"></script> 
      <script src="https://code.highcharts.com/highcharts-more.js"></script> 
      <div id="container" style="height: 400px"></div>  
   </body>
</html>

Related Tutorials