vertical thick line
kesyous opened this issue · comments
Hey! It would be easiest to use Timeranges and modify the css in TimeRange.svelte according to your needs.
I don't see much use to generally impelement such a feature.
Hey, if you havent found out by now... I meant the "timeranges" module. You can define timeranges objects and assign them to svelte gantt (see the docs).
We've improved this in v4.1:
- Add a timerange with
from==to
,resizable: false
and some class eg.time-range-lunch
:
gantt.$set({
timeRanges: [
{
id: 0,
from: time('10:00'),
to: time('10:00'),
classes: 'time-range-lunch',
label: 'Lunch',
resizable: false,
}
]
});
- In your CSS file add a style for this class:
.time-range-lunch {
border-left: 1px solid black;
}
This will render just a straight black line in the timeline.