Javascript examples for highcharts:Line Chart
Change width of every other gridline
<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() {/*from ww w . jav a 2 s .c om*/ $('#container').highcharts({ xAxis: { categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] }, xAxis: { minorGridLineWidth: 1, minorTickInterval: 12.5, gridLineWidth: 3, tickInterval: 25 }, series: [{ data: [{ x: 0, y: 10 }, { x: 10, y: 12 }, { x: 21, y: 11 }, { x: 35, y: 15 }, { x: 40, y: 9 }] }] }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <div id="container" style="height: 400px"></div> </body> </html>