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?

Parents
No Data
Reply
  • 34510
    Offline posted

    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.

Children