我怎样才能在WindowsForms上显示图形

我怎样才能在WindowsForms上显示图形

本文介绍了我怎样才能在WindowsForms上显示图形?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是c#的初学者,所以你可以帮助我。起初,我通过一个COM端口从RS422到USB转换器获得一些数据,现在我想在屏幕上显示正确的COM-Port图形。
我的问题:
我如何在WindowsForms上显示图表?



对不起,我的英语。



M.Spitz

解决方案

图表。您可以使用它绘制不同类型的图表。



以下是



这是来自StackOverflow。





基本上这些步骤是:
$ b

编辑2):在这里你可以找到所有不同的。



和如何使用它们。

当您点击系列图表的属性窗口时,您会看到Series-Properties。在那里你还可以找到属性: ChartType ,如果你愿意,可以用鼠标点击。


i am a beginner at c#, so you could help me. At first, i get some data from a RS422 to USB converter over a COM Port and now i want to display over the right COM-Port the graph on the Screen.My Question:How could i display the Graph on my WindowsForms ?

Sorry for my english.

M.Spitz

解决方案

There is a nice tool un Windows Forms called Chart. You can draw graphs of different kind with it.

Here is a Tutorial

Here is a Video that shows how to use it.

Here is a nice post with an example from StackOverflow.

Have fun exploring it.

Basically the steps are:

EDIT 2) : here you find all different chart types that can be displayed.

and here how to use them.

When you click in the property window of the chart on Series you get the Series-Properties. There you can also find the property: ChartType and set it by a mouse click if you want to.

这篇关于我怎样才能在WindowsForms上显示图形?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 05:19