Javascript examples for highcharts:Bar Chart
Place Label on Bar chart
<html> <head> <title>basic example</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(){/*w w w. j av a2 s. c om*/ var chart = new Highcharts.Chart({ chart: { renderTo:'container', marginLeft:120, //type:'column' type:'bar' //type:'area' //type:'scatter' //type:'bubble' }, credits: {}, exporting: {}, legend: { enabled: false}, title: {}, tooltip: {}, plotOptions: { series: { } }, xAxis: { categories: ['measure 1','measure 2','measure 3','measure 4','measure 5','measure 6'], labels: { align:'left', x:5, style: { fontSize: '1em', color:'#fff' } } }, yAxis: { allowDecimals:false }, series:[{ data:[20,17,15,14,11,7] }] }); }); </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;width:400px;margin:1.5em 1em;"></div> </body> </html>