使用Windows应用程序,x轴标签未显示在ms图表中的正确位置 [英] x-axis label is not shown at right place in ms chart using windows application
本文介绍了使用Windows应用程序,x轴标签未显示在ms图表中的正确位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问题:X轴标签未在正确的位置显示.我想在x轴和虚线下方触摸每个列栏中的x轴标签.请给我们评论.
problem: X-axis label is not show at the right place. i want below the x-axis and a dotted line to touch the x-axis label from every column bar. Please give ur comments.
推荐答案
我假设您希望将X轴标签放置在统计图区域下方,而不是悬在中心,从而可以设置交叉点.在这种情况下,您可以通过
I presume you want the X Axis labels to be placed below the chart area and not dangling in the center whereby you have the crossing set. In that case you can set it via
Chart1.ChartAreas[0].AxisX.IsMarksNextToAxis = false;
这应该将标签显示在底部位置,而不是在交叉处.
This should show the labels in the bottom position and not at the crossing.
这篇关于使用Windows应用程序,x轴标签未显示在ms图表中的正确位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文