x-axis label is not shown at right place in ms chart using windows application

匆匆过客 提交于 2019-12-25 02:18:45

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/8395508/x-axis-label-is-not-shown-at-right-place-in-ms-chart-using-windows-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!