DateTimeContinuousAxis MajorStepUnit and LabelFormat Issue

3 posts, 0 answers
  1. Murat
    Murat avatar
    4 posts
    Member since:
    Apr 2015

    Posted 08 Jun 2015 Link to this post


    I am using charting for Xamarin Forms.

    I'd like to show data for each day in a lineseries with DateTimeContiniousAxis.

    I had to use MajorStepUnit=TimeInterval.Hour to make it work Should not I have been using TimeInterval.Day? I got a confusion here and documentation is not much helpful.

     2nd; I wanted to use LaborFormat="dddd" to show day of week but it does not respect that.


    Thank you for any help and clarifications.

  2. Murat
    Murat avatar
    4 posts
    Member since:
    Apr 2015

    Posted 08 Jun 2015 in reply to Murat Link to this post

    And when I use "MM/dd/yyyy" as labelformat; dates are always showing up a month ahead.

    Like; my datapoints are "05/01/2015, 05/02/2015 and 05/03/2015",

    In axis; it shows "06/01, 06/02 and 06/03"


  3. DevCraft R3 2016 release webinar banner
  4. Ves
    Ves avatar
    2869 posts

    Posted 11 Jun 2015 Link to this post

    Hi Murat,
    • MajorStepUnit -- indeed, with one data item for each day, the correct choice seems to be TimeInterval.Day and this seems to work fine on our end. Generally, this property in conjunction with MajorStep defines how often labels will appear along the axis. Can you share more details about the problem, please?
    • LabelFormat and wrong date displayed -- fixes will be included in our next release, expected tomorrow.
    I have updated your Telerik points.

    Best regards,
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top