Draw custom bars in bar chart - Javascript highcharts

Javascript examples for highcharts:Bar Chart

Description

Draw custom bars in bar chart

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <title>basic</title> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-1.6.1.js"></script> 
      <script type="text/javascript">
    $(function(){/*from w  w w .ja  v a2  s . com*/
var chart = new Highcharts.Chart({
    chart: {
        renderTo:'container',
        type:'column'
    },
    plotOptions:{
        series: {
            borderRadius:10
        }
    },
    series:[{
        data:[5,9,8,7,4,5,6,3]
    }]
});
    });

      </script> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.js"></script> 
      <script src="https://code.highcharts.com/highcharts-more.js"></script> 
      <script src="https://code.highcharts.com/modules/exporting.js"></script> 
      <div id="container" style="height:400px;margin:1.5em 1em;"></div>  
   </body>
</html>

Related Tutorials