On Thu, 21 Feb 2013 14:18:38 +0000 Mike Evans <mi...@saxicola.idps.co.uk> wrote:
> On Thu, 21 Feb 2013 12:47:18 +0100 > Geert Janssens <janssens-ge...@telenet.be> wrote: > > > Op 12-02-13 18:46, Geert Janssens schreef: > > > There was another feature that briefly appeared on the trunk > > > branch: dynamic graphical reports with jqplot. I wonder whatever > > > happened with it. > > > > > > The base for jqplot is in the code repo, and I also remember > > > having seen some example reports using it. I can't find those > > > anymore though. > > > > > > I wonder if the original author was unsure to invest further in > > > it because his jqplot work triggered a long discussion on where > > > to go with the current report system. Lots of possibilities were > > > offered, but in the end we're still using the report system > > > basically unchanged. Since there's still no clear plan for the > > > report system on the horizon, I would love to see jqplot being > > > used for our graphical reports. > > > > > > If the original author is still around, I'd love to hear from him > > > (her?). > > > > > > Other than that, anyone interested in looking into what's needed > > > to convert a report to jqplot ? > > > > > > Geert > > > _______________________________________________ > > > gnucash-devel mailing list > > > gnucash-devel@gnucash.org > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > > > Well, it turns out I was too curious myself already, so I checked a > > bit further. > > > > I found the original mailinglist thread [1] and the missing patch > > to enable the jqplot alternatives for most of our chart types. Due > > to the age of the patch there were a few issues, but with some > > tweaking I managed to get it to work again. I like the result so > > much better than the old goffice based charts that I have chosen to > > remove the goffice based ones. > > > > The old list thread also pointed at some issues with the jqplot > > charts. I think I have fixed most of them, except the labels running > > over one another if there are lots of data points. If any other > > issues pop up, please let me know. > > > > And a random list of things that should/could be done still: > > - remove the gog code (should) > > - labels running over one another if there are many data points > > - dynamic sizing as an alternative option to the fixed width/height > > we now have to specify > > - some more code optimizations, like > > * linking to minimized versions of the js files > > * drop some unused/invalid chart options (in js code that is) > > - add/improve interaction to the charts > > > > Most of these are minor tweaks. Even as they are now, the jquery > > based charts are ready for feature freeze, IMO. > > > > Geert > > > > > > [1] > > https://lists.gnucash.org/pipermail/gnucash-devel/2011-March/031322.html > > _______________________________________________ gnucash-devel > > mailing list gnucash-devel@gnucash.org > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > Lovely charts Geert. Two of the features I added in the Net Worth > line chart are obsoleted/broken. Optional grid and optional data > markers no longer work as advertised so I'll have to look at them or > remove them. Not really sure if either are necessary anyway. > > All the charts could possibly use an alternate black and white > stylesheet for printing, is this easier to achieve using jqplot? This > is not new because of jqplot though. > > Mike Evans > > > A git|svn|brain issue follows. Having updated to the latest source using git-update script I can't change branches because some of the files have the wrong line endings, unless I commit the changes. I get this message: "Please, commit your changes or stash them before you can switch branches." Git stash doesn't work and I get similar output to that shown below. A git diff gives the following output. warning: CRLF will be replaced by LF in src/report/jqplot/excanvas.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/jquery.jqplot.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.BezierCurveRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.barRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.blockRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.bubbleRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.canvasOverlay.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.canvasTextRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.categoryAxisRenderer.min.js. The file will have its original line endings in your working directory. warning: CRLF will be replaced by LF in src/report/jqplot/plugins/jqplot.ciParser.min.js. The file will have its original line endings in your working directory. diff --git src/report/jqplot/excanvas.min.js src/report/jqplot/excanvas.min.js index 83373a5..e699a26 100644 --- src/report/jqplot/excanvas.min.js +++ src/report/jqplot/excanvas.min.js @@ -1,3 +1,3 @@ -/* jqPlot @VERSION | (c) 2009-2013 Chris Leonello | jplot.com - jsDate | (c) 2010-2013 Chris Leonello +/* jqPlot @VERSION | (c) 2009-2013 Chris Leonello | jplot.com + jsDate | (c) 2010-2013 Chris Leonello Um. Not sure what to do or why this situation occurred in the first place. I thought git took care of line ending translations. I can commmit locally then dcommit but is that going to screw it up for anyone else? Advice needed. My love/hate relationship with GIT continues. Mike Evans -- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All. _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel