title: XlsxWriter - setting gridlines color
body: <p>I'm wondering if one can set the color for major or minor gridlines when adding charts.</p>
  
  <p>The documentation shows an example of setting <code>'visible' : True/False</code> and <code>'dash_style'</code>, but when I pass a parameter for <code>'color'</code> there is no change. </p>
  
  <p>I assume the gridline instance of 'line' does not have a 'color' parameter, but am asking in case I'm missing the solution.</p>
  
  <pre><code>chart.set_x_axis({
      'major_gridlines': {
          'visible': True,
          'line': {'width': 1.25, 'dash_type': 'dash', 'color' : 'red'}
      },
  })
  </code></pre>