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

Gantt-Chart: Dotted line for current date

Asked by Bikram Jeet Singh
1 year ago.


Is there any way we can have a dotted line for the current date?

Thank you

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can add a separator to the Gantt chart to highlight the current date/time:

The separators are marked with "gantt_default_separator" CSS class - you can use it to make the line dotted:

dp.separators = [
        color: "transparent"
    .gantt_default_separator {
        border-right: 1px dotted red;

Comment posted by Bikram Jeet Singh
1 year ago.

Thanks a lot man, was looking for the same

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