简体   繁体   中英

Set Asp.Net Chart tick marks to start at axis min value and end and max value

I'm using the Asp.net built in chart control to render a gantt chart and it looks like this
(source: easycaptures.com )
.

How do I get the axis labels to start from the axis min value (20.1.2012) and the last label to be at the max value (20.2.2012).

Regards, Mathias

ChartArea.AxisY.Maximum = MAX_VAL; ChartArea.AxisY.Minimum = MIN_VAL;

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