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

Zoom question

14 Answers 124 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Christie Admin
Top achievements
Rank 1
Christie Admin asked on 28 Apr 2014, 07:59 PM
Hi,

with a vertical orientation, I would like to know how I can implement a vertical AND a horizontal zoom???

Thank's
Alain

14 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 29 Apr 2014, 01:01 PM
Hello,

Please review our Zooming demo that illustrates how you can zoom the time axis.

Is this demo suits your need? Could you give us more details on the task that you want to implement?

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 29 Apr 2014, 01:16 PM
Hi Rosi,

the demo did not suits my need completly!!! I have a vertical orientation in my control, for the vertical zoom, fine but I need to implement an orizontal zoom without changing the orientation of my control. I need a vertical and a horizontal zoom keeping the orientation of my control.

Thank's
Alain
0
Rosi
Telerik team
answered on 29 Apr 2014, 01:28 PM
Hello,

RadScheduleView does not have built-in zooming on the orientation different than the timeruler. However it has different properties that can be used to fit your needs, but we need more details before providing you with suggestions. That is why Is it possible  to give us more details on what  you men by  horizontal zoom -

Do you need to change the count of displayed days? - you can do this by changing the VisibleDays property of the view definition depending on the  slider value.(Also, could you specify which view definition do you use?)

Do you need to change the width? - you can try setting the width of the control  depending on the slider value.

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 29 Apr 2014, 01:36 PM
Hi Rosi,

thank's for your quick reply :)

I use the weekviewdefinition and I do not want to change the number of day to display. I need to increase or decrease the width of the cells binding on a slider value. I guess for the vertical zoom I can bind the MinTimeRulerExtent property to my slider value but I'm not sure. I need to implement a zoom like we have in Excel...

Thank's
Alain
0
Rosi
Telerik team
answered on 30 Apr 2014, 06:23 AM
Hello,

Please find the attached project illustrating how you can implement the task.

It shows how you can bind the MinAppointmentWidth property to the slider value to change the width of the cells.

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 30 Apr 2014, 01:37 PM
Hi Rosi,

thank's for the demo :) If I'm trying to impletement a zoom factor from 50% to 150%, when my slider go under the 100%, it's look like the control seem's to don't know how to display the cells, is this normal???

Thank's
Alain
0
Rosi
Telerik team
answered on 30 Apr 2014, 01:48 PM
Hi,

I am not sure that i understand the problem that you described. Is it possible to modify the project that I sent you to illustrate the issue?

Also note,that the whole width of all cells cannot be smaller than the width of the scheduleview. If this is your case I suggest you bind and change the Width of the ScheduleView too.

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 30 Apr 2014, 01:56 PM
Hi Rosi,

I see, it's exactly what they happen, the whole width of all cells become smaller than the with of the scheduleview :(

In that case, I want to implement a zoom from 100% to 200% (100% = the whole witdh of all cells and 200% = 2000) through a converter, is this possible???

Thank's
Alain
0
Kalin
Telerik team
answered on 05 May 2014, 10:28 AM
Hi Alain,

You will be able to achieve that by modifying the ScheduleView Width using the Slider. You just need to set the Minimum value to 1000 and the Maximum to 2000 - this way the ScheduleView will be resizing as well as the Width of the VisibleDays. Please try the following and let me know if it suits your needs:

<telerik:RadSlider Minimum="1000" Maximum="2000" Margin="8 20 8 10"
                VerticalAlignment="Top"
                Value="{Binding Width, ElementName=ScheduleView, Mode=TwoWay}"
                LargeChange="50" />

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 05 May 2014, 12:39 PM
Great Kalin thank's :)

Alain
0
Christie Admin
Top achievements
Rank 1
answered on 05 May 2014, 09:14 PM
Something I forgot,

is this possible with this kind of zoom to have something as fast as Excel do???

Thank's
Alain
0
Rosi
Telerik team
answered on 08 May 2014, 06:55 AM
Hi,

The zoom that the integration between ScheduleView and Slider illustrated shows the best performance of this functionality that RadScheduleView supports at this stage. Isn't the performance not fast enough for your scenario?

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Christie Admin
Top achievements
Rank 1
answered on 08 May 2014, 02:40 PM
Hi Rosi,

the problem that I have is because I display monday to fridat from 8h00am to 9h00pm with a MinorTickLength of 15mins. Initially, I fill all the grid with closed slots then after I replace the closed slots by the specialslots or appointments I received by a method called by the client. So the zoom we implemented change the height of the cell and the MinorTickLength so I have to recall my method internally to refresh the grid so at this time I have a performance issue.

Thank's
Alain
0
Rosi
Telerik team
answered on 12 May 2014, 11:01 AM
Hello Аlain,

I see your point however at this stage there isn't anything I can suggest you.

Improvement of the performance of RadScheduleView SpecialSlots feature is one of the ScheduleView functionalities that we are planning to improve by the end of the year.

Regards,
Rosi
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
ScheduleView
Asked by
Christie Admin
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Christie Admin
Top achievements
Rank 1
Kalin
Telerik team
Share this question
or