title: Highchart Duplicate X-Axis and Y-Axis Labels
body: <p>I am new to highchart. I have created simple chart for male and female count for last five years. I have attached the screen shot. </p>
  
  <p><img src="https://i.stack.imgur.com/46tOs.png" alt="enter image description here"></p>
  
  <p>Is it possible to remove duplicate lables from both axis. ?</p>
  
  <p>Here is the Code. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
              $(function () {
                  $('#container').highcharts({
                      title: {
                          text: 'Male Female Count',
                          x: -20 //center
                      },
                      subtitle: {
                          text: 'Internet',
                          x: -20
                      },
                      xAxis: {
                          categories: 
                          [
                              &lt;% 
                                  for(ChartObject co : cos)
                                  {
                                      out.print("'"+co.getMonth()+"',");
                                  }
                              %&gt;
                          ],
                          tickInterval: 4
                          //categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun','Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
                      },
                      yAxis: {
                          title: {
                              text: 'Year'
                          },
                          categories: 
                          [
                              &lt;% 
                                  for(ChartObject co : cos)
                                  {
                                      out.print("'"+co.getYear()+"',");
                                  }
                              %&gt;
                          ],
                          tickInterval: 6
  //                        plotLines: [{
  //                                value: 0,
  //                                width: 1,
  //                                color: '#808080'
  //                            }]
                      },
                      tooltip: {
                          valueSuffix: ''
                      },
                      legend: {
                          layout: 'vertical',
                          align: 'right',
                          verticalAlign: 'middle',
                          borderWidth: 0
                      },
                      series: [{
                              name: 'Male',
                              data: 
                              [
                                  &lt;%
                                      for(ChartObject co : cos)
                                      {
                                          out.print(co.getMale()+","); 
                                      }
                                  %&gt;
                              ]
                          }, {
                              name: 'Female',
                              data: 
                              [
                                  &lt;%
                                      for(ChartObject co : cos)
                                      {
                                          out.print(co.getFemale()+","); 
                                      }
                                  %&gt;
                              ]
                          }]
                  });
              });
          &lt;/script&gt;
  </code></pre>
  
  <p>And dataset</p>
  
  <p><img src="https://i.stack.imgur.com/IVCFY.png" alt="enter image description here"></p>