如何在图表中开发可单击的点,该图表弹出对话框以进行用户条目

发布于 2025-01-27 23:57:56 字数 439 浏览 2 评论 0原文

我有一组X& y在数据集中坐标以生成图形或图表。让我们说我使用此数据集生成图表。我还没有图表的代码,因为我还不知道如何做我要寻求帮助的方法。接下来,我希望数据集中的每个原始坐标都可以单独单击,在Windows屏幕上显示图表。例如..如果我单击具有坐标图(x1,y1)的图表上的一个点,我想要一个新的Windows屏幕或对话框打开,我可以在其中输入一些有关x1,y1点的其他属性,我刚刚单击,并保存。是否有C#.NET库可以帮助我做到这一点?您能指出一些文档或示例吗?我知道如何进行Windows编程,用于UIS,基于事件的方法,提交按钮等。那不是问题。如果我创建.png或.jpg图表,则将是静态图片。我不能单击它。所以我不能走那条路。

另外,我不必有图表。.任何等效物也可以正常工作。基本上,我希望能够从x,y坐标的数据集生成网格,然后能够单击网格上的单个坐标点,添加一个对话框,然后将信息保存在对话框中为此,网格。

谢谢 d

I have a set of large number of X & Y coordinates in a dataset to generate a graph or a chart. Let us say that I generate a chart using this dataset. I do not have the code for the chart yet, because I do not yet know how to do what I am about to ask help for. Next, I want each of the original coordinates in the dataset, to be clickable individually, on the windows screen showing the chart. For example.. If i click a point on the chart with coordinates (x1, y1), I want a new windows screen or dialog box to open up, where I can enter some additional attributes about the x1, y1 point I just clicked, and it gets saved. Are there C# .NET libraries out there which can help me do that ? Can you please point me to some documentation or examples ? I know how to do windows programming, for UIs, event based methods, submit buttons and all that. That is not the problem. If I create a .png or a .jpg chart, it will be a static picture. I cant click inside it. So i cannot go that route.

Also, I do not have to have a chart.. anything equivalent will work too. Basically, I want to be able to generate a grid from a dataset of x, y coordinates, and then be able to click individual coordinates points on the grid, bring up a dialog box, and save the info i enter into the the dialog box for that point on the grid.

Thanks
D

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文