Does MaximumTicks have any effect on DateTimeContinuousAxis?

2 posts, 1 answers
  1. Mitchell
    Mitchell avatar
    45 posts
    Member since:
    Mar 2013

    Posted 18 Jun 2014 Link to this post

    Say I've got 100 points at one point per day. If I plot those points on a DateTimeContinuousAxis with MajorStep set to 1 and MajorStepUnit set to Day, what is the expected behavior if I set MaximumTicks to "10".  I get 100 tick marks (one for each day) regardless of whether MaximumTicks is set to 10 or 1000. 

    Thanks - Mitch
  2. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 23 Jun 2014 Link to this post

    Hello Mitch,

    Yes, the MaximumTicks property works with the DateTimeContinuousAxis, but note that the MajorStep property has higher priority than the MaximumTicks. In general, when you set the MajorStep property the MaximumTicks will be ignored. This is because if you set both of them the axis won't know which one to use to determine the count of its ticks.

    I hope this information answer your question. Please let me know if you need any further assistance.

    Regards,
    Martin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top