title: AmCharts - How to create gaps in a line chart if Im loading external data
body: <p>I am using AmCharts v2. I need to create gaps in a line chart, but I dont know how to if I am loading external data(d3). I found a way to create it manually, but it doesnt work if im getting the data from a file that already has all the data. It loads like this: <a href="https://i.imgur.com/Ht1ihCa.png" rel="nofollow noreferrer">http://i.imgur.com/Ht1ihCa.png</a>
  As you can see, the gap would be from 17 to 21.</p>
  
  <p>And this is the part of the code that get the data and place in the chart to create it, where I think the gap code will be:</p>
  
  <pre><code>//Create a scale of a graphic
  
  valueAxis[i] = new AmCharts.ValueAxis();
  valueAxis[i].axisColor = colors[i - 1];
  valueAxis[i].axisThickness = 2;
  valueAxis[i].gridAlpha = 0;
  valueAxis[i].offset = i * 20;
  chart.addValueAxis(valueAxis[i]);
  
  graphics[i] = new AmCharts.AmGraph();
  graphics[i].valueAxis = valueAxis[i];
  graphics[i].title = d;
  graphics[i].valueField = d;
  graphics[i].bullet = "round";
  graphics[i].hideBulletsCount = 30;
  graphics[i].bulletBorderThickness = 1;
  chart.addGraph(graphics[i]);
  </code></pre>