一个对话框,如WPF中的图表 [英] a dialog such as chart in wpf

查看:73
本文介绍了一个对话框,如WPF中的图表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我需要在项目的图表中显示一些数据.这些数据来自两种,例如时间和双倍.我想给他们看

在图表形式中,列是双精度值,聊天行成为时间.

注意:wpf中的点是从左上角和左上角确定的,我需要更改它们,而我的数据将从左上角和左下角确定.

我不想要一个正式的图表,实际上这很简单:

我的数据是时间和两倍的值,而我在WPF中的一个控件中的值是X和Y.我应该将时间设置为X值,将值设置为Y值的两倍,因此,我可以确定点的位置-即这种形式(时间,值).

当我找到数据的位置时,我需要在控件中显示点并将它们自己连接起来.

请告诉我,我可以使用什么控件以及如何显示该路径(与我的要点交叉并连接它们)?

路径是连接点的一件事,可以是一条线.但是因为要点太多,所以这条线不能有角.

对不起我的英语我的英语不好,如果您听不懂我的问题,请对我说更多解释
我想要的内容与此类似: http://up.vatandownload.com/images/qhdctdfuswredrh0tyh.png [ ^ ]

Hi all !

I need show some data in a chart in my project. this data is from two kinds , time and doubles for example . and i want show them

in chart forms that columns is the values of doubles and the rows of the chat become the times .

Note: points in wpf determine from the corner top and left , I shold change them and my data will determine from the corner left and down .

what I want not exactly a formal chart , actually this is simple :

my data is time and values in double and what I have in one control in WPF is X and Y . I should set the times as X value and the values in double as Y value , thanks to this I can determine the position of points -- that is in this form (time,value).

when I find the position of my data I need to show point in my control and connect them themself.

please give me advise that what control I can use from and how can show that path(cross from my points and connect them)?

the path is one thing that link the point and can be a line . but because the points is so much this line cant have corner.

sorry foe my English my English in not good, if you cant understand my question please say me for more explain
what I want is similar to this : http://up.vatandownload.com/images/qhdctdfuswredrh0tyh.png[^]

thanks a lot in advance !

推荐答案

首先要看的是WPF工具包.请参阅:
http://wpf.codeplex.com/releases/view/40535 [ http://stackoverflow.com/questions/577278/wpf-chart-controls [ ^ ].

学习更好的英语确实可以为您带来很多帮助,这不仅是因为该站点的语言是英语,而且还因为该语言在当前历史时期普遍作为一种跨文化交流工具而占主导地位.目前,您的权利并不十分容易理解,可能会引起误解.因此,如果我回答了错误的问题,请不要怪我太多,也不要澄清您的问题. :-)

—SA
First thing to look at is the WPF Toolkit. Please see:
http://wpf.codeplex.com/releases/view/40535[^].

There is a number of other WPF control library with charting capabilities. Please see this discussion and the links:
http://stackoverflow.com/questions/577278/wpf-chart-controls[^].

Learning better English can really help you a lot, and not just because the language of this site is English, but also because of general domination of this language as a inter-cultural communication tool in the present historical period. Right now, your righting is not very easy to understand, which can cause misunderstanding. So, If I answered a wrong question, please don''t blame me much and clarify your question. :-)

—SA


再见!

解决方案在这里:http://social.msdn.microsoft.com/Forums/zh-CN/wpf/thread/fe4c3847-6cf2-49a9-b447-070a58293a1b/
Hi again!

A solution is here : http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/fe4c3847-6cf2-49a9-b447-070a58293a1b/


这篇关于一个对话框,如WPF中的图表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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