Enable jqplot for barchart, piechart and scatterchart

Patch by Andy Clayton

This doesn't work anymore due to changes in other parts of GnuCash, but
is a good starting point to fix it.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22787 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix code to find html files

- look in pkg_data_dir as last resort (eg /usr/share/gnucash)
- effectively test all directories instead of only the second one
- add a debug print line

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22788 57a11ea4-9604-0410-9ed3-97b8803252fd
jqplot: fix paths to js and css files

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22789 57a11ea4-9604-0410-9ed3-97b8803252fd
Update to jqplot 1.0.6

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22790 57a11ea4-9604-0410-9ed3-97b8803252fd
Improve barchart

- drop goffice based chart, only keep jquery one
- move legend outside of plotting area

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22791 57a11ea4-9604-0410-9ed3-97b8803252fd
Define EOL style for javascript files

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22792 57a11ea4-9604-0410-9ed3-97b8803252fd
Improve jqplot's barchart renderer's barWidth and barPadding calculation

The improved formula scales more gracefully from extremely small to
extremely large.

Note: this modifies jqplot itself. We may need to either
- attempt to get this in the upstream code
- see if we can get a similar result by improving our own code

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22793 57a11ea4-9604-0410-9ed3-97b8803252fd
Improve piechart

- drop goffice based chart, only keep jquery one
- move legend outside of plotting area

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22794 57a11ea4-9604-0410-9ed3-97b8803252fd