Yeah!, but u need modificate source code of svar gantt, specifically in the Chart.js file
const todayLeft = useMemo(() => {
if (!scales || !scales.rows || !scales.rows.length) return null;
const row = scales.rows[scales.rows.length - 1];
if (!row.cells || !row.cells.length) return null;
const today = new Date();
today.setHours(0, 0, 0, 0);
let offset = 0;
for (const cell of row.cells) {
const cellDate = new Date(cell.date);
cellDate.setHours(0, 0, 0, 0);
if (cellDate.getTime() === today.getTime()) {
return offset + cell.width / 2;
}
offset += cell.width;
}
return null;
}, **[scales]);**
{todayLeft !== null && (
<div
className="wx-mR7v2Xag wx-today-line"
style={{
position: 'absolute',
top: 0,
height: '100%',
width: '2px',
left: `${todayLeft}px`,
backgroundColor: '#F90',
zIndex: 10,
pointerEvents: 'none',
}}
>
<div
style={{
position: 'absolute',
top: '15px',
left: '0px',
backgroundColor: '#F90',
borderTopRightRadius: '8px',
borderBottomRightRadius: '8px',
height: '1.5rem',
width: '2.412rem',
fontSize: '12px',
padding: '5px 10px 5px 10px',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
alignContent: 'center'
}}
>
<p
style={{
fontSize: '0.75rem',
color: '#fff',
lineHeight: '0!important',
margin: '0!important'
}}
>
HOY
</p>
</div>
</div>
)}
```
Both parts are in the Chart.js file. I hope this helps, good luck.