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

Zoom Level

2 Answers 170 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 08 Jun 2012, 07:00 PM
Hello,

I'm having some strange issues with the zoom functionality. As you can see in the attached files, the scroll wheel only allows the timeline to zoom in so far, while adjusting via the scrollbar allows the user to zoom in all the way. After experimenting with this for some time, I've been unsuccessful in solving the problem.

I've constructed the timeline almost exactly as it's done in the example, the code is listed below. It's probably something small that I'm missing. 

<telerik:RadTimeline
            x:Name="m_oErrorTimeline"
            Grid.Row="3"
            Height="250"
            StartPath="Date"
            PeriodStart="{Binding StartDate, Mode=TwoWay}"
            PeriodEnd="{Binding EndDate., Mode=TwoWay}"
            VisiblePeriodStart="{Binding StartDate}"
            VisiblePeriodEnd="{Binding EndDate}"
            ItemsSource="{Binding Data}"
            ItemTemplateSelector="{StaticResource ItemTemplateSelector}">
            <telerik:RadTimeline.Intervals>
                <telerik:MonthInterval />
                <telerik:DayInterval />
                <telerik:HourInterval />
                <telerik:MinuteInterval />
                <telerik:SecondInterval />
                <telerik:MillisecondInterval />
            </telerik:RadTimeline.Intervals>
        </telerik:RadTimeline>

Thanks.

2 Answers, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 11 Jun 2012, 03:53 PM
Hi Will,

Try adding IntervalSpans to your Timeline.Interval declarations and let me know if it helps you. See my attached screenshot to help guide you.

If not, we'll dig in deeper, what kind of result do you get if you remove the ItemTemplateSelector resource from the chart? I would like to see the ItemTemplateSelector resource if adding IntervalSpans doesn't work for you.

Good Luck,
Lancelot
0
Tsvetie
Telerik team
answered on 13 Jun 2012, 11:36 AM
Hi Will,

I verified the problem and added it to our PITS system. You can vote and track the progress on the problem here.

I have updated your Telerik points for bringing the problem to our attention.

Kind regards,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TimeLine
Asked by
Will
Top achievements
Rank 1
Answers by
Lancelot
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or