Javascript examples for highcharts:Column Chart
start column chart from left most corner of x-axis?
<html> <head> <title>Answer to Stack Overflow question: http://stackoverflow.com/questions/42625728/how-to-hide-x-and-y-axis-line-only-in-highchart</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script> <script src="https://code.highcharts.com/modules/exporting.js"></script> <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div> <script type="text/javascript"> var data = [5, 3, 4, 7, 2];/* www . j ava 2 s .c o m*/ Highcharts.chart('container', { chart: { type: 'column' }, title: { text: 'Stacked column chart' }, xAxis: { categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'], lineColor: 'transparent', }, yAxis: { title: { text: 'Total fruit consumption' }, gridLineColor: 'transparent' }, plotOptions: { column: { pointPadding: 0, groupPadding: 0, } }, series: [{ name: 'John', data: data }] }); </script> </body> </html>