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
sankey cash-flow chart #759
base: stable
Are you sure you want to change the base?
Conversation
e99b37b
to
5e287cc
Compare
No beta dependencies, and this is a new feature so it goes to master. |
1652d19
to
3d3e403
Compare
3d3e403
to
5a45afe
Compare
a030fa3
to
248b8cf
Compare
248b8cf
to
3bf0580
Compare
3bf0580
to
75aaf92
Compare
75aaf92
to
25cdd67
Compare
25cdd67
to
5c3a8c4
Compare
5c3a8c4
to
4e593a9
Compare
9a8529f
to
1a7f74e
Compare
bdb42d7
to
0d88a8d
Compare
0d88a8d
to
1d6e1f5
Compare
@gjanssens is there any merit to the idea of including both chartjs-2 and chartjs-3 in the distribution? Problem: sankey requires chartjs-3, and I'm not 100% sure that chartjs-3 won't leave webkit on Windows behind. So, to upgrade chartjs to 3 may cause windows charts to suffer. If we include both 2 and 3, then we can use advanced chartjs features only when necessary. |
And have a feature that doesn't work for most of our users. -1. |
I agree this is not a good option. |
I presume you mean most users use Win32 and may be limited. I've never been able to generate win32 builds therefore have never been able to test whether chartjs3-on-webkit1 is broken. Hence the idea: keep chartjs2 (which will eventually become stale) for most charts, and add chartjs3 for sankey. Sankey will be initially hidden via --extras and if I'm confident that chartjs3-on-win32works well then we could transition the plumbing to use chartjs3 throughout. |
As far as I can see chart.js is just a bunch of javascript files and its consumers are written in guile. That means you should be able to test without rebuilding. I t hink you can install a nightly of gnucash on a win32 system, replace chartjs files with v3 and then make the necessary tweaks in the report code to work with chartjs3. You'll probably have to make those changes with elevated privileges though. |
1d6e1f5
to
23e56ef
Compare
23e56ef
to
026cbd9
Compare
026cbd9
to
0723d72
Compare
title moved from .options.title to .options.plugins.title axes moved from .options.scales.{x|y}Axes[0].* to .options.scales.{x|y}.*
0723d72
to
c8ee91e
Compare
with permission from @kurkle: kurkle/chartjs-chart-sankey#1