如何在C#中使用相同的图表制作多个系列 [英] How I Can Make Multi Series In The Same Chart In C#

查看:73
本文介绍了如何在C#中使用相同的图表制作多个系列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

如何在同一个图表中制作多个系列,如果我进行缩放,它将缩放到图表中的所有系列

喜欢这个图像:

< img src ='http://s12.postimg.org/ldwrh9bw9/Untitled.jpg' border ='0'alt =无题/>







注意:不一样的Y但是相同的X



谢谢你的帮助。

解决方案

如果你想要为您的系列使用不同的Y-Scale,您只需要在其中定义具有不同设置的不同ChartAreas。您可以在图表中创建多个ChartArea。

在Chart-Series中你可以选择使用哪个ChartArea。



在Chart-Series中你必须有可能定义Points。

- 你只给它一个Y值,X值自动增加 - 我不会这样做。

- 你同时给出一个X值和一个Y值。所以你也可以使用f(X)-Curves和...你是图表中步骤的主人。我总是那样做。



我希望,这会有所帮助。

如果还有......请随时与我联系...... ;)

Hello
How i make multi series in the same chart , if i make zoom it will zooming to all series in chart
like this image :
<img src='http://s12.postimg.org/ldwrh9bw9/Untitled.jpg' border='0' alt="Untitled" />



Note: not the same Y but the same X

Thank you for your help.

解决方案

If you want to use different Y-Scale for your Series you only need to define different ChartAreas with different settings in it. You can create more than one ChartArea inside your Chart.
Inside the Chart-Series you can select, which ChartArea is to be used.

Inside the Chart-Series you have to possibilities to define the Points.
- you only give it a Y-Value and the X-Value is increased automaticly - I would not do it like this.
- you give a point a X- and a Y-Value at the same time. So you are able to work also with f(X)-Curves and ... you are the master of the steps inside the chart. I allways do it like that.

I hope, that helps.
If else ... feel free to contact me ... ;)


这篇关于如何在C#中使用相同的图表制作多个系列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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