Our state of the art Gantt chart


Post by himanshurjoshi »

Hi,
I want to use the timeline for 'build days' as shown in the image below

Screenshot from 2024-02-29 10-02-28.png
Screenshot from 2024-02-29 10-02-28.png (60.63 KiB) Viewed 218 times

I have seen the timeline only with dates.
is there any way i can customise this?
help me to achieve this.


Post by tasnim »

Hi,

Sorry, I'm not sure what you mean by build days, Are you looking to customize a viewpreset https://bryntum.com/products/gantt/docs/api/Scheduler/preset/ViewPreset?

Can you please elaborate a bit further on what are you trying to achieve?


Post by himanshurjoshi »

build days, it may be 1 or 2 or many.
based on build days, the pill at the timeline-side will be visible.

In the image: below the heading on the right side timeline (that is "build day"), u can see 1,2,3,4....... its days.
build days in the record will be visible to the tlmeline side.

Overall, i want to use the timeline as Data-Interpretation-chart.
there will not be any date, no relation/dependencies between tasks.

there will be just name, duration and build days.
and the build days will be shown to the right side(timeline).


Post by alex.l »

All the best,
Alex


Post by himanshurjoshi »

No,

I want the data in a way i showed in the image.

i have build days and i want to show it on timeline.
on the timeline i want days instead of dates
which will starts from 1 and continues till infinity.

see the timeline part in the image please.


Post by alex.l »

Hi,

So, what is the question? How to add ticks by day? Did you see docs Tasnim recommended?https://bryntum.com/products/gantt/docs/api/Scheduler/preset/ViewPreset
this demo might be also useful for review https://bryntum.com/products/scheduler/examples/configuration/

All the best,
Alex


Post by himanshurjoshi »

yes, i saw that.
but the problem is. it is showing the date/day.
it will start again from 1st day of next month once a month gets ended.
i want to use it like duration. there are no dates.

as an example if i have 2 tasks.

1st is having 40 build days.
2nd is having 60 build days.

so, on the timeline side.
for the 1st task the pill should show 40 days duration from 1-40.
for the second task pill should show 60 days duration from 1-60.

and the numbers in the timeline headers will continue as duration
(1,2,3,4,..........,40,41,43,......,60,61,62,63........and so on)
.<-these are days(duration count) not dates.

Note: there is no start date/end date.


Post by alex.l »

So you can return a number you want from renderer, isn't it?

All the best,
Alex


Post Reply