Hi im currently working on project that using Windows form app and im using The newest Net Framework 8.0 but why i cant add chart on my project. The worse is the menu even does not exist.

abdul rahman alif putra 0 Reputation points
2024-03-01T17:11:17.4766667+00:00

User's image

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,832 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,619 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,206 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 112.5K Reputation points
    2024-03-01T21:45:37.76+00:00

    It seems that you are using .NET 8, not .NET Framework.

    To use the charts, try to close the Form Designer, right-click the WinFormApp7 project in Solution Explorer, select “Manage NuGet packages”, go to Browse tab, find the “WinForms.DataVisualization” package and install it. Reopen the form and find the chart control in Toolbox.

    The charts should be also available if you create a new “Windows Forms App (.NET Framework)” project instead of “Windows Forms App”.