Comments (8)
Thanks 👍
Yes, I have plans to add working days, but working hours sounds great too.
I will think of it in upcoming versions.
Thanks for feedback!
from gantt-elastic.
add working days
would be a great addtion!
from gantt-elastic.
working days arrived at ver 0.7.10 !
from gantt-elastic.
Hello,
again amazing work 👍 This is the best tool I found to have a full-perso calendar. You said
working days arrived at ver 0.7.10 !
How can we filter by working days ?
Thanks,
from gantt-elastic.
/* ...other options... */
calendar: {
workingDays: [1, 2, 3, 4, 5],
}
/* ... */
from gantt-elastic.
Hello,
unfortunately I was not able to view this options or any other ones... I might be doing something wrong.
Obtained result
Default value displayed : gantt-elastic in title and all days of the week
cf. https://screenpresso.com/=Z9kXf
Expected result
Title = test and only working days
For reference, I use a Vue.js component 'HolidayPlanning.vue' with the following elements if you can help it will help me a lot thanks 👍
<template>
<gantt-elastic :tasks="tasks" :options="options">
<gantt-elastic-header slot="header"></gantt-elastic-header>
</gantt-elastic>
</template>
<script>
import GanttElastic from 'gantt-elastic'
import Header from 'gantt-elastic-header'
const options = {
calendar: {
workingDays: [1, 2, 3, 4, 5]
},
title: {
label: 'Test',
html: false
}, /* following code...*/
export default {
components: {
'gantt-elastic-header': Header,
'gantt-elastic': GanttElastic
},
data () {
return {
tasks: [],
options: options
}
},
mounted () {
this.loadHolidays()
},
methods: {
async loadHolidays () {
const response = await HolidayAPI.getHolidays()
this.tasks = response.data
}
}
}
</script>
from gantt-elastic.
That is weird, which version do you use?
from gantt-elastic.
I'm afraid it still does not work with resetting versions.
I tried to install back again and I have the following versions :
"gantt-elastic": "^1.0.3",
"gantt-elastic-header": "^0.1.11",
What's weird is that options are considered only if I change taskList for example if I change 1 label it works but not for the attributes title and also locale ...
Again many thanks for this package. I'd love to be able to use the options for working days to share with my team.
from gantt-elastic.
Related Issues (20)
- Calendar vue by chinese
- How to use gantt elastic with angular HOT 1
- gantt chart is not showing HOT 1
- Export Gantt Chart to PDF HOT 1
- Showing full year HOT 1
- "Unexpected value NaN% parsing width attribute" warning when adding task to chart HOT 4
- gantt-schedule-timeline-calendar Transition Schedule HOT 1
- blocks browser when no tasks given (empty array) HOT 5
- will this still be maintained? HOT 2
- style for calendar-wrapper not applied (width) HOT 7
- Subtasks roll up to parent task HOT 1
- Dayjs is not defined HOT 3
- gantt-elastic vs gantt-schedule-timeline-calendar HOT 1
- more tasks for line HOT 5
- exclude holidays HOT 1
- Does it support react? HOT 3
- Load events dynamically HOT 4
- Start hour and end hour in the chart task. HOT 1
- IE support HOT 1
- Calendar vue by weeks/Months/Years HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gantt-elastic.