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

Maintain Zoom View

1 Answer 73 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 26 Mar 2012, 10:03 PM
Hello,

I'm using the TimeLine in a live data application I'm working on. In the same application I'm also using the ChartView control. I love the way the ChartView's zooming works when it maintains the zoom location when the user sets it even as more data is added to the chart. Is there a way to keep the TimeLine's zoom location as more data is added?

Thank you,
Shawn

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 29 Mar 2012, 03:13 PM
Hi Shawn,

The RadChartView and RadTimeLine are controls that are different in nature and implementation. The chart view uses a pan and zoom feature (which allows this behavior that you describe) whilst the time line needs to be told exact values (VisiblePeriodStart and VisiblePeriodEnd).

In short - this can not be achieved with out-of-the-box means. However I think that you might be able to get these results manually. I am not familiar with your scenario but may be you can manually calculate (when a new item is inserted) the new values for VisiblePeriodStart and VisiblePeriodEnd.

I have attached a simple project that should get you started.

Regards,
Petar Marchev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
TimeLine
Asked by
Shawn
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or