有人在 VS2012 中使用过 ZedGraph 吗??当我尝试加载组件时,我收到错误消息“zedgraph.dll 中没有可放置在工具箱上的组件”。
我找不到关于 zedgraph 在 VS2012 上工作的信息。
请推荐一些库来绘制数学函数图,thx
最佳答案
您首先需要将ZedGraphControl
添加到您的工具箱中。 Zedgraph 上的说明 CodeProject page也适用于 Visual Studio 2012:
ZedGraph is accessible as a control from the control toolbox in Visual Studio .NET. To access ZedGraph, first launch Visual Studio .NET, and create a new Windows Application (Forms) project. Open the form design so that it appears in the current window. View the toolbox using the View/Toolbox menu command. Right-click inside the "General" or "Components" sub-pane of the tool box, and select the "Choose Items..." option. Click "Browse...", and navigate to the ZedGraph.dll file. Once this file is added, you should see a
ZedGraphControl
option in the toolbox.
如果您想使用替代图表库,请注意 .NET 4 及更高版本包含开箱即用的适用于 Windows 窗体的 .NET 图表库,请参阅 here .
关于c# - ZedGraph 在 Visual Studio 2012 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21241843/