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

Developer technologies | Windows Forms
Windows for business | Windows Client for IT Pros | User experience | Other
Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

1 answer

Sort by: Most helpful
  1. Viorel 126.3K 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”.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.