如何在winforms vs2010中创建动画ms图表? [英] How to create the animated ms chart in winforms vs2010 ?

查看:100
本文介绍了如何在winforms vs2010中创建动画ms图表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在winforms VS10中为条形图设置动画,而不使用任何第三方工具。任何人都可以指导我完成它吗?



我尝试了什么:



我刚创建了没有任何动画的简单条形图。

解决方案

不,因为:

1)我们不知道你认为什么是动画条形图。

2)我们不是来这里做的你为你工作。我们非常愿意帮助别人,但是当你说我什么都没有时,我们就会假设你想要为你完成这一切,而这不是我们在这里的目的。



所以想想你究竟想要达到的目标,想想如何让它发挥作用,并尝试一下。如果您遇到特定问题,请询问相关问题,我们会尽力提供帮助。但是我们不打算为你做这一切!


最简单的方法是使用这个CodeProject文章中描述的技术,它允许任何Winform动画: WinForms的动画制作者 [ ^ ]



这个'灵活的.NET图表库'可能你也感兴趣:

灵活的图表.NET for .NET [ ^ ]



这是另一个例子,但它是在Javascript中:使用HTML5 Canvas和JavaScript将您的图表变为现实DotNetCurry [ ^ ]

你可以使用 WebControl 在C#中调用它,如下所述:在Web浏览器控件中调用JavaScript函数--Rick Strahl的Web日志 [ ^

I'm trying to animate the bar chart in winforms VS10 without using any 3rd party tools.Can any one guide me to finish that?

What I have tried:

I just created the simple bar chart without any animation.

解决方案

No, because:
1) We have no idea what you consider an "animated bar chart" to be.
2) We aren't here to do your work for you. We are more than willing to help people, but when you say "I've none nothing" then we are left assuming you want it all done for you, and that isn't what we are here for.

So think about what exactly you are trying to achieve, think about how you might get that to work, and give it a try. If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!


The simplest way would be to use the techniques described in this CodeProject article, which allows any Winform to be animated: Animator for WinForms[^]

This 'flexible charting library for .NET' might be of interest to you too:
A flexible charting library for .NET[^]

Here is another example, but it is in Javascript: Bring Your Charts to Life with HTML5 Canvas and JavaScript | DotNetCurry[^]
You could call this in C# using a WebControl as described here: Calling JavaScript functions in the Web Browser Control - Rick Strahl's Web Log[^]


这篇关于如何在winforms vs2010中创建动画ms图表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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