简体   繁体   English

图表控件反向y轴,但将x轴保持在底部

[英]Chart control reverse y axis but keep x axis at bottom

Please refer to this image : http://imgur.com/eayvVk2 请参考这张图片: http : //imgur.com/eayvVk2

As you can see whenever I reverse Y axis the X axis moves to top. 如您所见,每当我反转Y轴时,X轴就会移到顶部。 Is there anyway I can reverse Y axis and keep X at bottom? 无论如何,我可以反转Y轴并使X保持在底部吗?

You can try 你可以试试

series.XAxisType = AxisType.Secondary

It worked for me 对我有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM