Hello everyone,
I am using Stimulsoft (version 2019) and would like to display a full 24-hour day timeline (from 06:00 to 06:00 the next day) as a horizontal scale, divided into 96 segments of 15 minutes each – similar to a shift plan.
My goal is to show a colored bar for each shift (e.g., 06:00–18:00 or 08:00–16:00) positioned at the correct place inside a panel. The position and width of the bar should be dynamically calculated based on the start and end times.
Here are my questions:
1. How can I dynamically position and size a shape element or text field in the report based on time values?
2. Is there a recommended way to create the 96 time units as a reference grid – or is it better to calculate the positions based on the time values alone?
3. Does anyone have an example of how to display multiple shifts at the same time (e.g., stacked or side by side in a panel)?
I have implemented a similar solution in Crystal Reports before and would like to achieve something comparable in Stimulsoft now.
Thank you very much for any advice!
Best regards,
Steffen
Dynamically position time bars in a panel (shift plan with 96 time segments)
-
- Posts: 7332
- Joined: Tue Mar 20, 2018 5:34 am
Re: Dynamically position time bars in a panel (shift plan with 96 time segments)
Hello Steffen,
There are no such samples.
It is difficult to give specific advice without data, without an example of how it should look like.
As an option, you can try to create a full report from the code.
Thank you.
There are no such samples.
It is difficult to give specific advice without data, without an example of how it should look like.
As an option, you can try to create a full report from the code.
Thank you.