图表控制问题 [英] issue of chart control

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

问题描述

如何在asp.net中的柱形图中垂直显示x轴值

how to display x-axis values vertically in column chart in asp.net

推荐答案

您是否尝试将 TextOrientation 属性设置为 VerticalLeftFacing

Did you tried setting the TextOrientation property to VerticalLeftFacing.
chart.Axis.X.Labels.SeriesLabels.Orientation = TextOrientation.VerticalLeftFacing;



您也可以为Padding属性写入负值。


Also you can write and negative values for the Padding property.

chart.Axis.X.Labels.SeriesLabels.Layout.Padding = -5;





--Amit



--Amit


这篇关于图表控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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