zunnzunn / vue-ganttastic

Simple, interactive and highly customizable Gantt chart component for Vue 3
https://zunnzunn.github.io/vue-ganttastic/
565 stars 141 forks source link

feat+doc: added GGanttChart/highlight-sundays #95

Open N0ah-S opened 7 months ago

N0ah-S commented 7 months ago

Why

This functionality partially already exists as 'highlightedDays' but I'd prefer a less involved version for the application using the library, as well as a 'date safer' method.

What

If the option 'highlight-sundays' in GGanttChart is set to true, sundays will be visually highlighted in the chart with a mild opaque color and the dates text color will be changed to a dark red.

Example/Reference

grafik

zunnzunn commented 6 months ago

I'll think about how this could be generalized, though having this as an extra option doesn't hurt.

N0ah-S commented 5 months ago

Great, if you have any suggestions to improve that feature, I'd be happy to implement them.