Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No highlighted display when using highlighted units #125

Open
maximilianfixl opened this issue Sep 12, 2024 · 0 comments · May be fixed by #130
Open

No highlighted display when using highlighted units #125

maximilianfixl opened this issue Sep 12, 2024 · 0 comments · May be fixed by #130

Comments

@maximilianfixl
Copy link

maximilianfixl commented Sep 12, 2024

Problem

I am currently using version 2.3.2 in a Vue 3 (CAPI) TypeScript stack with Quasar Framework. In my case, the use of highlighted-units has no effect on the display (regardless of the color scheme).

<g-gantt-chart
    :chart-end="chartEnd"
    :chart-start="chartStart"
    :color-scheme="($q.dark.isActive ? 'dark' : 'default')"
    :current-time="currentTime"
    :date-format="false"
    :grid="grid"
    :hide-timeaxis="hideTimeAxis"
    :highlight-currentTime="true"
    :highlighted-units="[0, 1, 6, 7, 13, 14]"
    :row-height="35"
    bar-end="endDate"
    bar-start="beginDate"
    label-column-title="Unit"
    label-column-width="40px"
    precision="day"
></g-gantt-chart>

Expected

The vertical grid gutters are expected to be highlighted in color.

Question

Is there anything known about this or do I need to make further configurations?

@maximilianfixl maximilianfixl changed the title Keine hervorgehobene Anzeige bei Verwendung von highlighted-units No highlighted display when using highlighted units Sep 12, 2024
albadedan added a commit to albadedan/vue-ganttastic that referenced this issue Dec 4, 2024
Fix zunnzunn#125
[feat] re-working of zunnzunn#95

Adds new props to handle different methods of highlighting dates and hours.

- `highlighted-days-of-week` to handle highlighting the same day or days every week without having to calculate their dates. Useful for highlighting weekends. Set to [0, 6].
- `highlighted-dates` for when you want to highlight specific dates.
- `highlighted-hours` for when you are using hour precision.

`highlighted-units` probably depreciated now.
@albadedan albadedan linked a pull request Dec 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant