We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Define the default ViewRange of a RangeNavigator control

Thread ID:

Created:

Updated:

Platform:

Replies:

116569 Jun 10,2014 09:45 AM Jun 12,2014 07:57 AM WPF 3
loading
Tags: RangeNavigator
Pierre-Alain GALTIER
Asked On June 10, 2014 09:45 AM

Hello,
I wonder if there is a way to define the first ViewRange displayed to the user after populating its datasource to show, for example, the last week of data.

Thank you

Suresh S [Syncfusion]
Replied On June 11, 2014 01:59 AM

Hi Pierre,


Thanks for using Syncfusion products.


We have analyzed the reported requirement. Range navigator view range can be controlled by using ViewRangeStart and ViewRangeEnd property as shown in the below code snippet. Also, we have prepared the sample based on your query. Please download it from the given below location.


Code Snippet [XAML]:

<chart:SfDateTimeRangeNavigator x:Name="RangeNavigator" XBindingPath="Date" ViewRangeStart="1/1/2012" ViewRangeEnd="2/1/2012" ItemsSource="{Binding}">


Please let us know if you require further assistance on this.


Regards,

Suresh S 


Attachment: RangeNavigator_Sample_bee9e764.zip

Pierre-Alain GALTIER
Replied On June 11, 2014 09:53 AM

Thank you,
I did it this way, but I noticed a kind of offset in the two level bars (the higher and the lower)
After investigation, it appears that the slicing went wrong when several data per day exist and the first data is not timestamped to midnight.
So, I've open an incident in the direct-Trac support system (id: 126089)


Mohammed Azarudeen [Syncfusion]
Replied On June 12, 2014 07:57 AM

Hi,

 

We have analyzed your requirement. In our current version, the start range and the end range of the DateTime Range Navigator is placed without offset.

Could you please provide us a screenshot or a sample to reproduce this issue, which would be helpful for us to analyze further and assist you further.

 

Regards,

Mohammed Azarudeen.

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;