-
-
Notifications
You must be signed in to change notification settings - Fork 584
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
[Bugfix] d3 v4 bmi chart problem #314
[Bugfix] d3 v4 bmi chart problem #314
Conversation
The colors used in the legend are not the same as teh colors in the graph.
The check for Python 3.5 failed with:
Don't know why that happened. |
…al_deprecated_warnings Fix django.core.context_processors deprecation warnings
Sometimes the CI has such strange errors, if it doesn't happen in all builds, it's OK to just ignore them. Besides that thanks for the PR, I know that my D3 code is really ugly... 👼 I'll test it this evening and merge it |
Don't worry about the D3 code, I had never done anything with D3 before this PR. It was crazy to find v4 code that could do what we wanted, quiet a bit a trial and error on my side. On a side note, I know you want Python to be PEP8 formatted, do you have a preference for Javascript? Like AirBnB, Google.....? Want to add eslint for javascript? I could do a new PR for that if you want it. |
The colors used in the legend are not the same as teh colors in the graph.
…erdoes/wger into bugfix/d3_v4_bmi_chart_problem
Ugh, tried to rebase the bugfix branch with the changes of the deprecated changes merged already. |
Hehe, you couldn't wait! (In case you did it so that there are less merges, I don't care about them, I know that it's kind of the git way, but I think they are important ant just show how the development took place). In any case, I just tested this and everything seems to be working again |
As for adding some linter for JS, yeah, that would be great. If you add it, can you add it to the rest of the travis checks? BTW, have you any experience with angular2? |
No experience with angular2, I'll open a new issue for the style guide of Javascript. |
After upgrading the D3 library to v4 the BMI did not work anymore due to changes between v3 and v4. For a complete list of changes see: https://github.com/d3/d3/blob/master/CHANGES.md