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?
Hi Gary,
I can't see any of your screenshots for some reason. Can you try attaching them as a zip file instead?
Setting the Extent to 0 basically hides them and this is expected. It's actually kind of weird that resizing the window causes them to display. If you want to show the labels I wouldn't bother setting the Extent property.
I tried posting more screenshots but it seems those did not upload as well. I will take another look at this and see if I can produce an example. Thanks!