DateTimeContinuousAxis shows categories since update

3 posts, 1 answers
  1. Martin
    Martin avatar
    34 posts
    Member since:
    Oct 2012

    Posted 09 Feb 2015 Link to this post


    since my last update the DateTimeContinuousAxis changed the view and I'm confused how to get the old view back.

    This is what our X axis looked before:
    And now:

    I'm using:             

        <telerik:DateTimeContinuousAxis x:Name="dateTimeContinuousAxis" LabelFitMode="None" LabelFormat="HH:mm:ss" />

    Also the new version added space left and right of it, I want to get rid of. I think this connects to my main problem.

    How can I solve this to get my old X axis view back?
  2. Answer
    Martin Ivanov
    Martin Ivanov avatar
    1442 posts

    Posted 10 Feb 2015 Link to this post

    Hi Martin,

    The plot position of the labels in the DateTime and the categorical axes of the chart is controlled through their PlotMode property. The default PlotMode of the DateTimeContinuousAxis is OnTicks and the end result should look like in the "before" picture from your post. The "now" picture looks like the axis has set its PlotMode property to BetweenTicks.

    Without your implementation I cannot be sure what is causing the axis to plot the labels between the ticks, but you can try to set to PlotMode of the axis to OnTicks (or OnTicksPadded) and let me know if this helps.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. Martin
    Martin avatar
    34 posts
    Member since:
    Oct 2012

    Posted 10 Feb 2015 in reply to Martin Ivanov Link to this post

    The default PlotMode seems to be BetweenTicks at me. Setting OnTicks in the XAML explicit solved the issue. Thank you.
Back to Top