title: Support for .NET Framework graphs have been moved to .NET Core, but how to keep drawing the image?
body: <p>System.Windows.Forms has been moved to .NET Core and is now available in the form of a NuGet package.<br>
  It seems Microsoft has specifically listed the components that haven't been moved over:<br>
  <a href="https://docs.microsoft.com/en-us/dotnet/core/compatibility/winforms#removed-controls" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/core/compatibility/winforms#removed-controls</a>  </p>
  
  <p>I need to migrate use of the charting functionality in:<br>
  using System.Windows.Forms.DataVisualization.Charting;<br>
  When I use the drawing functionality of the base control class I get the following error:<br>
  The type 'Control' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Forms, Version=4.0.0.0  </p>
  
  <p>When I go to the definition of the Charts class it shows:  </p>
  
  <pre><code>public class Chart :Forms.Control 
  </code></pre>
  
  <p>With the keywords before the colon recognized, but not after.<br>
  So somehow the Forms.Control isn't available, yet the code compiles...  </p>
  
  <p>The following features where taken from the base Control class and are now no longer avialable:<br>
  - BeginInit; Start putting in graph components<br>
  - EndInit; Done putting in graph components<br>
  - Update; Visually show the graph on screen<br>
  - SaveImage; Write graph visuals to a memory stream  </p>
  
  <p>How can these features be implemented in .NET CORE?  </p>
  
  <p>Since System.Windows.Forms has been migrated to .NET Core I added a using to it to my code, this doesn't help.<br>
  I installed the NuGet package for Microsoft.Windows.Compatibility, this didn't help either.</p>
  
  <p>Edit:<br>
  I've installed the following NuGet packages:  </p>
  
  <pre><code>System.Windows.Forms.DataVisualization 1.0.0-prerelease.20110.1
  System.Drawing.Common 4.7.0
  Microsoft.Windows.Compatibility 3.1.0
  </code></pre>
  
  <p>I've tried to install the latest preview version but this tries to upgrade all kinds of dependencies to 5.0.0-preview.1.20120.5, which cannot be found.<br>
  The following properties have been added the following properties to my .csproj</p>
  
  <pre><code>&lt;UseWpf&gt;true&lt;/UseWpf&gt;
  &lt;UseWindowsForms&gt;true&lt;/UseWindowsForms&gt;
  </code></pre>