Javascript examples for highcharts:Chart Option
Set chart level option
<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.src.js"></script> <div id="container"></div> <script type="text/javascript"> var chart = Highcharts.chart('container', { chart: {//from w ww . ja va 2s . c o m plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false }, plotOptions: { series: { dataLabels: { enabled: true, formatter: function() { return this.point.t; } }, pointPadding: 0.4 } }, title: { text: 'Overdue Projects' }, xAxis: { categories: ["Please Select to View data"] }, yAxis: { title: { text: 'Hours' } }, series: [{ "type": "column", "name": "Estimated Hours", "data": [2], pointPlacement: -0.3 }, { "type": "column", "name": "Consumed Hours", "data": [3] }] }); </script> </body> </html>