search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Switching X and Y axis

Related article: Nurse Shift Scheduling (ASP.NET, C#)
Asked by BY
8 years ago.

Hello there

I am looking at your "Nurse Shift Scheduling", I am just wondering is it possible to switch the X and Y axis values. At the moment daypilot displays nurses on the vertical (Y) axis and the timeline on the horizontal (X) axis.

We would like to display nurses on the vertical (X) axis and the timeline on the horizontal (Y) axis. Is it easy to switch.

Thanks for your time

Answer posted by Dan Letecky [DayPilot]
8 years ago.

Yes, this is possible using the Calendar control:

http://doc.daypilot.org/calendar/resources-view/

However, the vertical time axis in the Calendar is limited to 24 hours.

Comment posted by BY
8 years ago.

Hi Dan

Thanks for your reply. I want a weekly view with three slots on the left.

For instance my x axis will be like below
Nurse 1 Nurse 2 Nurse3 .................
Monday 9-12
12-3
3-5
Tuesday 9-12
12-3
3-5
WednesDay 9-12
12-3
3-5
....
...
....

Sunday 9-12
12-3
3-5

Thanks for your time

Comment posted by BY
8 years ago.

Hi Dan

Thanks for your reply. Apologize, there was a mistake in my last email, I meant Y axis

I want a weekly view with three slots on the left.

For instance my time line should be in "Y" axis like below
Nurse 1 Nurse 2 Nurse3 .................
Monday 9-12
12-3
3-5
Tuesday 9-12
12-3
3-5
WednesDay 9-12
12-3
3-5
....
...
....

Sunday 9-12
12-3
3-5

Thanks for your time

Comment posted by Dan Letecky [DayPilot]
8 years ago.

Unfortunately the Calendar doesn't support that at the moment. As I noted, it only supports 24 hours on the Y axis.

There are two options:

  • if you would like to sponsor the feature please contact me at support@daypilot.org to discuss it
  • you can use a workaround similar to the one used in the timetable tutorial - i.e. map the custom slots to the Y axis manually:

http://code.daypilot.org/65101/timetable-tutorial-asp-net-c-vb-net

This would work but it seems a bit inconvenient.

Comment posted by BY
7 years ago.

Hello there

I have downloaded the Daypilot lite "DayPilotLite-5.0.307", I can see DEMO flag on the top of the header. Is there anyway we can remove it?

Thanks for your time

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.