Chart tool is greyed out in Visual Studio

前端 未结 3 1719
孤独总比滥情好
孤独总比滥情好 2021-01-14 19:20

I\'m trying to add a chart to my Visual Studio form but the button is greyed out. I\'m using .NET Framework 3.5 and C#. Following instructions online I\'ve downloaded and in

3条回答
  •  有刺的猬
    2021-01-14 19:41

    Had the same problem.

    What I did was to make sure that I was using the same Framework with the chart framework version.

    During project creation, by default using .net 3.5. But since the chart is written for Framework 4.0, it will not work with 3.5.

    You need to change the solution or project Framework to 4.0 or above by doing this:

    1. On the menu bar of Visual Studio, click /Properties.

    2. Change target framework to 4.0 or above.

    3. Save the properties setting.

    4. Rebuild your solution.

    After this, you may use that chart component.

提交回复
热议问题