如何从Datagrid制作图表? [英] How To Make Chart From Datagrid?

查看:72
本文介绍了如何从Datagrid制作图表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我刚刚从我的朋友那里找到了这个论坛。

到了这一点..

i有一个数据网格,里面装满了Visual Studio 2008中的数据。我想使用MSChart制作图表(线/线性)。我已经下载并安装了MSChart和Add on for VS 2008,但我不知道如何制作它。

我是学习编程的新手,请帮助..

谢谢你,并且

抱歉我的英文不好..

Hello, I've just found this forum from my friend.
to the point..
i have a datadgrid which filled with data in Visual studio 2008. I wanna make chart (line/linear) using MSChart. I already downloaded and installed MSChart and Add on for VS 2008, but I don't know how to make it.
I'm newbie to learn programming, please help..
thank you, and
sorry for my bad English..

推荐答案

首先欢迎来到论坛,你查了一下常见问题解答(我建议你这样做有很多有用的信息。)

关于你的问题,你有什么尝试?您是否尝试过使用MSChart组件的任何示例?如果没有,我会建议您查看并试试一些,因为它们会让您了解如何使用该组件。



一旦你有了得到了一个使用它的句柄,看看你是否可以改变其中一个例子,使用数据网格作为它的数据源。



随着谷歌的快速发展我在社交MSDN网站上找到了这个论坛帖子,看起来他们正在做同样的事情。



Mschart-with-datagridview-source [ ^ ]



在这里发布问题之前,一定要先尝试做一些研究,特别是如果它之前已经完成了1000多次,你还没有尝试先解决问题。



希望有所帮助。
Firstly welcome to the forum, have you checked the FAQ (I suggest you do it is full of helpful information).
With regards to your issue, what have you tried? Have you attempted any examples with using the MSChart component? If not, I would suggest you have a look for, and try, some as they will give you an insight on how to use the component.

Once you've got a handle at using it, see if you can alter one of the examples to use a datagrid as it's data source.

With a very quick bit of Google-ing I found this forum thread on the Social MSDN site which looks like they are doing the same thing you are.

Mschart-with-datagridview-source[^]

Always try and do some research first before posting questions on here, especially if it something that has probably been done 1000+ times before, and you have not tried to solve the issue first.

Hope that helps.


我在google上搜索但是用我的语言搜索,除了尚未搜索的社交MSDN网站之外什么都没有。



我没有红色常见问题,我很抱歉。

非常抱歉...



但非常感谢您回答我的问题..
I have searched on google but with my language and have nothing but the Social MSDN site not searched yet.

I haven't red FAQ, I'm so sorry.
seriously really sorry..

but big thanks for answered my question..


这篇关于如何从Datagrid制作图表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆