简体   繁体   中英

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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