title: Avoid the first GridLine to be dashed on Chart JS
body: <p>With the help of <a href="https://stackoverflow.com/questions/39700096/how-to-add-an-offset-to-a-dataset-in-chart-js">Tektiv</a> I managed to add an offset to the dataset, but I would like to remove the first dashed gridLine from the chart.</p>
  
  <p>I modified the library directly with the following code:</p>
  
  <pre><code>var drawGridDashedLine = false;
  
  // Draw all of the tick labels, tick marks, and grid lines at the correct places
  helpers.each(itemsToDraw, function(itemToDraw) {
    ...
    ...
    if (context.setLineDash &amp;&amp; drawGridDashedLine) {
                              context.setLineDash(itemToDraw.glBorderDash);
      context.lineDashOffset = itemToDraw.glBorderDashOffset;
    }
    ...
    ...
  
    drawGridDashedLine = true;
  });
  </code></pre>
  
  <p>But I'm looking to do it using the public API methods, instead to use this hacky technique. Does anyone know how to do it?</p>
  
  <p>This is the code at the moment:</p>
  
  <p><a href="https://jsfiddle.net/5notumds/" rel="nofollow noreferrer">https://jsfiddle.net/5notumds/</a></p>
  
  <p><a href="https://i.stack.imgur.com/cwfHK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cwfHK.png" alt="Chart"></a></p>