Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2085
CategoryDateTimeXAxis Extent Prevents Initial Axis Label Display
posted

When I set the Extend property of a CategoryDateTimeXAxis to zero, the initial display of the graph fails to show the tick mark labels until

xAxis.Interval = new TimeSpan(0, 30, 0); 
xAxis.LabelSettings.Extent = 0;

This is for a 24 hour period of time.  The initial graph (not maximized) looks like this:

When I re-size the window, the x-axis labels are displayed:

Any idea what I can do to ensure the X-Axis labels will show the first time the graph is displayed?