C#图表更改X轴对齐/更改图表原点 [英] C# chart change X axis alignment / change chart origin

查看:354
本文介绍了C#图表更改X轴对齐/更改图表原点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



i有一点问题,



ac#Point chart origin(0/0)位于左下角。



如何将其更改为左上角?



有人可以告诉我吗?



谢谢..



我尝试了什么:



google,尝试了不同的设置

Hi to everybody,

i have a little problem,

in a c# Point chart the origin (0/0) is at bottom left corner.

How can i change it to the upper left corner?

Can someone tell me that?

Thanks..

What I have tried:

google, tried different settings

推荐答案

我不知道你在做什么环境,但这是针对WinForms的:



在表格中突出显示图表。 />
在属性窗格中,找到CHart区域属性,并使用省略号打开属性对话框。

在图表区域中,选择轴上的轴集合。右侧,并使用省略号打开集合属性。

在出现的对话框中,选择右侧的Y(值)轴,然后更改已反转 属性为真。

好​​的,好的,你已经完成了。
I don't know what environment you are working in, but this is for WinForms:

Highlight the Chart in your form.
In the properties pane, Find the "CHart Areas" property, and use the ellipsis to open the properties dialog.
In the Chart Area, select the "Axes" collection on the right hand side, and use the ellipsis there to open the collection properties.
In the dialog that appears, select the "Y (Value) axis" on teh right hand side, and change the "Is Reversed" property to "True".
OK, OK, and you're done.


这篇关于C#图表更改X轴对齐/更改图表原点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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