title: Custom tick values on a c3.js chart
body: <p>I'm trying to make an horizontal bar chart using c3.js , I would like to put the name of the axis by myself for that I use :</p>
  
  <pre><code>tick: {
  
                          count: 6,
                          format: function () {
                              var label1 = ["[-25 ans]", "[25-29 ans]","[30-34 ans]", "[25-29 ans]","[30-34 ans]","[35-39 ans]"];
                              for (var i in label1){
                                  return (label1[i]);
                              }
                          }
                      }
  </code></pre>
  
  <p>but as a result I only get [-25 ans] for all the ticks and in the IDE it says "for statement doesn't loop" </p>
  
  <p>Am I doing something wrong ? How can I correct that ?
  Thanks</p>