在十进制图表中以wpf绘制线条 [英] draw line in wpf in a decimal chart

查看:90
本文介绍了在十进制图表中以wpf绘制线条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在图表中绘制Y1是十进制且小于1且大于0的行。但不能证明这条线是不同的。并且输出只是Y是1的一行。

I want to draw lines in a chart that there's Y1 are decimal and are less than 1 and greater than 0 . but cant show this lines are diffrent . and output is just a line that Y's are 1.

推荐答案

问题是WPF中的行对象不能很好地区分,因为它们之间的区别起源和坐标太小,人眼无法发现任何这种差异。



因为,你在评论中说过,



The problem is that the line object in the WPF won't be distinguished well, because the difference between their origins and the co-ordinates is way too small for the human-eye to detect any such difference.

As, you've said in your comment,

引用:

我的y_coordinate包含0.2或0.000000000005之类的数字。

my y_coordinate contains numbers like 0.2 or 0.000000000005.





..这意味着不同大约等于零,因此线条似乎重叠。它们的颜色是另一个重要因素,试图让这个问题变得更大。如果您不想更改差异因子,请尝试更改可能的每一行的颜色,以便用户可以查看更改。在大多数情况下,这也将失败,因为最后一行将与大多数行重叠;无论它们属于什么颜色!



.. which means that the different is approximately equal to zero so the lines would seem to overlap. Color of them is another big major factor, trying to make this problem a little bigger. If you donot want to change the difference factor, then try changing the color of each of the line which might make it possible for the user to see the change. Which in most cases will also fail, because the last line will overlap most of the lines; no matter what color they belong to!


这篇关于在十进制图表中以wpf绘制线条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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