This is a migrated thread and some comments may be shown as answers.

DateTimeContinuousAxis MajorStepUnit and LabelFormat Issue

2 Answers 168 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Murat
Top achievements
Rank 1
Murat asked on 08 Jun 2015, 03:50 PM

Hi,

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 Answers, 1 is accepted

Sort by
0
Murat
Top achievements
Rank 1
answered on 08 Jun 2015, 07:02 PM

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"

 

0
Ves
Telerik team
answered on 11 Jun 2015, 02:15 PM
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,
Ves
Telerik
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
Tags
Chart
Asked by
Murat
Top achievements
Rank 1
Answers by
Murat
Top achievements
Rank 1
Ves
Telerik team
Share this question
or