ZedGraph:只是点

发布于 2024-07-26 23:00:13 字数 260 浏览 1 评论 0原文

我是 ZedGraph 的新手。 到目前为止我可以绘制曲线和条形。 如何只显示点而不连接它们?

我使用 C# 和 Windows 窗体

I am new to ZedGraph. So far I could draw curves and bars. How can I display just the dots without connecting them?

I am using C# and Windows Forms.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

爱她像谁 2024-08-02 23:00:14

散点图演示 来自 ZedGraph 网站的展示了如何做到这一点。 线上有一个 IsVisible 属性,您将其设置为 false 以仅显示点。

LineItem myCurve = myPane.AddCurve("Title", list, Color.Black, SymbolType.Diamond);
myCurve.Line.IsVisible = false;

The Scatter Plot Demo from ZedGraph's site shows how to do it. There is an IsVisible property on the Line which you set to false to only show the points.

LineItem myCurve = myPane.AddCurve("Title", list, Color.Black, SymbolType.Diamond);
myCurve.Line.IsVisible = false;
骄傲 2024-08-02 23:00:14

我认为您的解决方案是代码项目。 看看他谈论“填充类”的部分。 有一个仅点的示例。

I think your solution is on The Code Project. Have a look at the part where he talks about "The Fill class". There is a dot-only example.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文