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

GanttView Zoom and/or setting time intrements

1 Answer 143 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 25 Jan 2017, 04:19 PM

New to GanttView and was wondering how I can change the right hand side to display from days to minutes or years depending on the application.

also, it would be nice to integrate a zoom capability. is there an option that will allow a user to zoom in and out on the right hand panel of the ganttview. thanks

 

1 Answer, 1 is accepted

Sort by
0
Lance | Senior Manager Technical Support
Telerik team
answered on 25 Jan 2017, 06:27 PM
Hello Chris,

You can indeed configure the RadGanttView's time ruler to your needs, this section in the documentation will guide you.

If you're looking to create more advanced scenario, like a deadline in the time ruler, we have a couple tutorials, look in the left column here for the "How To" folder.


Regarding Zoom

We demonstrate this in the "GanttView First Look"  demo found in the Product Demo app.  In the Example.xaml, find the RadSlider in the ribbon on line 431 and SliderValue in ViewModel.cs on line 47. This changes the PixelLength value of the GanttView. Attached is a screenshot of the UI.

For future reference, there are two ways to explore the demos:

  • GitHub SDK repository: A repository with developer focused examples for most Telerik WPF controls. You can also use the SDK Sample Browser to easily explore and run the examples.
  • Product Demos: An application that showcases the Telerik WPF products in different user scenarios.

I highly recommend checking out the SDK Explorer Sample Browser as it lets you open individual demos in Visual Studio without the overhead of opening the entire demo solution. I recorded a quick video of using the Samples Browser for you.

I hope this answers your questions today. If you have any further issues, I recommend opening a Support Ticket instead of a forum post, a ticket carries a guaranteed response from the UI for WPF support team.

Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
GanttView
Asked by
Chris
Top achievements
Rank 1
Answers by
Lance | Senior Manager Technical Support
Telerik team
Share this question
or