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

Explanation for dates in axis X

3 Answers 27 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Aurélien Dubosson
Top achievements
Rank 1
Aurélien Dubosson asked on 07 May 2010, 12:06 PM
Hi everybody,

I've difficulties to understand your example of RadChart demo : 100'000+ records.

To readapt the range of Date (Axis X) you put this following line code : 

this.range(1d/625d)

but how do you know it's for one week ? and how do to make for one minute , hour ?

Best regards.

Narglix

3 Answers, 1 is accepted

Sort by
0
Aurélien Dubosson
Top achievements
Rank 1
answered on 11 May 2010, 08:12 AM
Hi,

Can anyone help me to understand the demo example ?

Thanks in advance.

Narglix
0
Ves
Telerik team
answered on 11 May 2010, 01:41 PM
Hello Narglix,

The ZoomScrollSettings.RangeStart and RangeEnd properties define the boundaries of the visible area of the chart. For example, if the chart displays data for 10 days (Jan 1-st to Jan 10-th) with RangeStart=0.3 and RangeEnd=0.4, the chart will be zoomed, so that the detail view of Jan 4-th is visible and you will need to scroll to see other days.

It is basically the same in this example - it shows data for 12 years, 365 days each. This is close to 625 weeks, so if you click the button to display weekly data the chart keeps its left bound as it is and set the range so that the right bound is a week later.

Best regards,
Ves
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Aurélien Dubosson
Top achievements
Rank 1
answered on 11 May 2010, 02:38 PM
Thank you very much to take time for me.

It's a very good explanation and it's what I waited. ;-)

Best regards.

Aurélien Dubosson
Tags
Chart
Asked by
Aurélien Dubosson
Top achievements
Rank 1
Answers by
Aurélien Dubosson
Top achievements
Rank 1
Ves
Telerik team
Share this question
or