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

What is wrong with this library? Did you update the source wrong? #61

Closed
stadnitchii opened this issue Feb 23, 2018 · 5 comments
Closed

Comments

@stadnitchii
Copy link

stadnitchii commented Feb 23, 2018

The source is behaving COMPLETELY different from what you have in the demo at Demo

I cloned downloaded the repo and ran the index file and changed index.html ["Redesign website", [-63, 7]] so that December would show up on the chart. And this is what I get Link.

Next, I added gantt_chart.change_view_mode('Week') at the end of the script and this is what the result looked like this Link. Furthermore, once the view_mode is changed you can no longer drag the elements.

I don't understand how the demo works perfectly and what you have here is completely messed up.

@surfjones
Copy link

surfjones commented Apr 13, 2018

+1... seeing the same behavior when using change_view_mode - can no longer drag elements. Also, the custom html in the popup isn't working for me either (someone else mentioned this earlier, but no reply)

edit: i was able to put together a working version using the files referenced in the source html of the example.

@ItsTarik
Copy link

@Raptor2277 i made a fix for the change_view_mode bug in case you still need it, it is in #75 .

@netchampfaris
Copy link
Collaborator

@Raptor2277 Version 0.1.0 was a major refactor, now this library is not dependent on Moment or Snap. But it was supposed to keep the API backward compatible. The demo website still uses the old version, so the new version is having some bugs as you pointed out. Have fixed the drag issue you mentioned. Will fix the Month name issue. Thanks for reporting.

netchampfaris added a commit that referenced this issue May 19, 2018
- #61
- problem: December being formatted as 01ecember
@netchampfaris
Copy link
Collaborator

netchampfaris commented May 20, 2018

@Raptor2277 I hope the issues you mentioned were resolved in the latest version, closing.

@dimm0
Copy link

dimm0 commented Feb 10, 2019

The version at Demo works fine in Firefox, while recent version here has multiple problems. Is project still active?

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

No branches or pull requests

5 participants