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

Float value instead of time on x-axis

Asked by Jaroslav
2 years ago.

Is it possible to configure x-axis to display numeric (float) value ? For the test or maintenance history, I need to display some tasks depending on runtime hours regardless of date&time

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

The X axis will always use datetime values internally but you can map your numeric/duration values to it (add it to the StartDate as minutes or hours). You can override the time header to display the required values (https://doc.daypilot.org/scheduler/time-header-customization/).

A similar approach is used in the Timetable tutorial (based on the Calendar control) which maps time slots to hours:
https://code.daypilot.org/65101/timetable-tutorial-asp-net-c-vb-net

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