c# - ZedGraph 在 Visual Studio 2012 中不起作用

标签 c# components zedgraph

有人在 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/

相关文章:

c# - 在 Linq 中选择不同的列名

c# - 如何使用 C# 列出可用的视频模式?

javascript - 输出 React 组件数组并使用子组件中的 a prop 访问父组件的 "this"

database - 写入 joomla 组件中的多个表?

c# - ZedGraph 如何使用 XAxis.Type = AxisType.Text 创建经典折线图

c# - 我们可以在 C# 中为运行时创建的控件在运行时创建多个事件吗

c# - costura.fody 用于引用另一个 dll 的 dll

javascript - 编写全局函数以在 Angular 所有组件中使用

c# - ZedGraph 用图表线平滑移动 Y2Axis

c# - 在 C# 中 ZedGraph 中的图形数据上光标时显示 x、y 和曲线名称