title: .NET Core with Interop for Excel - xlTreemap gives Out of Range exception
body: <p>I've written a .NET Core WinForms application which writes to Excel. I can create many different types of charts but not a Treemap or Sunburst chart. I get the following error:</p>
  <blockquote>
  <p>Value does not fall within the expected range</p>
  </blockquote>
  <p>On the final line of this code:</p>
  <pre><code>        var charts = currentWorkSheet.ChartObjects() as ChartObjects;
          var chartObject = charts.Add(1, 1, 1100, 500);
          var chart = chartObject.Chart;
          chart.ChartType = XlChartType.xlTreemap;
  </code></pre>
  <p>I'm using the Nuget package: Microsoft.Office.Core 15.0.0. Any idea how I can get this working?</p>