-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Gantt and Calendar view of tasks #533
Comments
I haven't done that, but you can try using scatter chart with chart.js module. See this SO example: https://stackoverflow.com/questions/41259441/how-to-draw-gantt-chart-using-chart-js-or-other-libraries |
Thanks. I will try it out and give feedback |
Instead of using the Chart module, I desided to try integrating this full-fledged react scheduler component https://github.com/Bitnoise/react-scheduler Data clasess define in CommonMain module
View to display the scheduler
Sample Data to display
build.gradle dependencies addedd
Error Stack
|
I'm almost sure you can't use Kotlin types (lists or data classes), even serializable, as a data model for React components. So it's very unlikely |
Thanks. Using Arrary worked. I then converted the Kotlin List as below.
I am now able to display the scheduler. However it is displaying fullscreen and yet it's supposed to be within the content area under the header. I am also not sure if its style I added to App.kt is being utilised.
|
Have you checked this: Bitnoise/react-scheduler#60 ? |
Thanks, wrapping the scheduler in div and setting Relative position worked. |
I'm working on project task management tool. I'm currently displaying the tasks in tabulator table. I now want to add Gantt and Calendar views. Does Kvision have any component that can do this? If not, how can I use extrernal JS libraries like these two below:
Google Charts (https://developers.google.com/chart/interactive/docs/gallery/ganttchart)
https://dlhsoft.com/GanttChartHyperLibrary/
The text was updated successfully, but these errors were encountered: