且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在C#中使用相同的图表制作多个系列

更新时间:2023-11-21 22:02:28

如果你想要为您的系列使用不同的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 ... ;)