For .NET Framework 2.0 and later, Microsoft licensed the Dundas charting controls to bring charting support to .NET Windows Forms (and ASP.NET). The namespace System.Windows.Forms.DataVisualization is now officially deprecated, but the .NET team at Microsoft kept the door slightly open by publishing the sources on GitHub to enable charting features for WinForms applications that are developed on .NET Core 3 and better.

.NET Compatible Fork

Based on this repository, there are multiple forks including this fork that added .NET 6 support:

If you clone this repository, build the System.Windows.Forms.DataVisualization.dll and reference it in your project, you can directly use these charts within a .NET 6 Windows Forms application:


The following XML is used as the sample data source:


The result can be seen in the following screenshot:

Charts in TX Text Control

TX Text Control Fork

We forked this repository to make it compatible to TX Text Control .NET for Windows Forms. If you want to use the out-of-the-box ribbon tabs to insert and format added chart objects, you can clone our fork of the repository.

In order to integrate this version, the following steps must be followed.

  1. Clone the repository and open it in Visual Studio.

  2. Find the created NuGet package System.Windows.Forms.DataVisualization.1.0.0.nupkg in the Release or Debug folder and copy that into the Text Control Offline Packages folder:
    C:\Program Files (x86)\Text Control GmbH\NuGetPackages

  3. In your Windows Forms application, select the project in the Solution Explorer and click Project -> Manage NuGet Packages... from the main menu.

  4. Select Text Control Offline Packages as the Package source and click Browse.

  5. Select System.Windows.Forms.DataVisualization and click Install.

When using the RibbonInsertTab and RibbonChartLayoutTab in your application, the added charting control is recognized automatically and the charting functionality is enabled.

Charts in TX Text Control

Charts in TX Text Control