title: How to use only one element of array for xAxis in jquery.flot.js?
body: <p>I have a line chart (created with <a href="http://www.flotcharts.org/" rel="nofollow">flot chart</a>), which I want to internationalize and for that I need multiple languages for the xAxis labels. My dataTick looks like:  </p>
  
  <pre><code>{
  "itemTicks":
      [
          [24, ["help", "hilfe", "aider"]],
          [3, ["card", "karte", "carte"]],
          [9, ["english", "deutsch", "francaise"]]
      ]
  }
  </code></pre>
  
  <p>At the moment it prints eveything out. (So something like: help,hilfe,aider [seperated by commas])
  Where can I specify which element/index it should take? And I also want that the user can change the language (e.g. with a selectbox) and the labels should change as well. This already works for the rest of the page which works with a global variable <code>language</code> which I set to the index of the wanted language.  </p>
  
  <p>I tried to set a formatter on the xAxis, which didn't have any effect:</p>
  
  <pre><code>plot = $.plot($('#graph-bars'), series, {
          ...
          xaxis: {
              ticks: itemTicks,
              autoscaleMargin: 0.02,
              labelWidth: 300,
              labelFormatter: function(label, series) {
                  return label[0];
              }
          },
          ...
      });
  </code></pre>