Remove Y-Axis GridLines on polar chart - Javascript highcharts

Javascript examples for highcharts:Line Chart

Description

Remove Y-Axis GridLines on polar chart

Demo Code

ResultView the demo in separate window

<html>
   <head> 
      <meta name="viewport" content="width=device-width, initial-scale=1"> 
      <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> 
      <script type="text/javascript">
    $(function () {/*  ww  w .  ja v a 2s .co m*/
        var myData = [5, 3, 4, 3, 2],
            tickIntr = Math.max.apply(null,myData) + 1;
        $('#container').highcharts({
            chart: {
                polar: true,
                type: 'line',
            },
            title: {
                text: null,
                x: -80
            },
            xAxis: {
                categories: ['Sales', 'Marketing', 'Development', 'Customer Support','Information Technology'],
                tickmarkPlacement: 'on',
                lineWidth: 0,
                gridLineWidth: 0
            },
            yAxis: {
                gridLineInterpolation: 'polygon',
                lineWidth: 0,
                min: 0,
                tickInterval: tickIntr
            },
            legend: {
                enabled:false
            },
            series: [{
                data: myData,
                pointPlacement: 'on'
            }]
        });
    });

      </script> 
   </head> 
   <body> 
      <script src="https://code.highcharts.com/highcharts.src.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="min-width: 400px; max-width: 600px; height: 400px; margin: 0 auto"></div>  
   </body>
</html>

Related Tutorials