Here are, as promised, the changed files for establishing the new dashboard in core.
Please use a test installationen for this testing. The final implementation is not complete.
This implementation is planned to go into the next 2.5 release, but this is only for testing the new basic class.graphic.inc and dashboard.inc files.
Replace the files:
/reporting/includes/class.graphic.inc with class.graphic.inc
/admin/dashboard.php with dashboard.php
/includes/dashboard.inc with dashboard.inc
If you want to use your own color palette for the dashboard, insert this at the beginning of dashboard.inc just
before $colors = Chart::$colors;
Chart::$colors = array('#ffffff','#ffffff','#ffffff','#ffffff'); // NOT these values but your own values!!
This implemtation is only a beginning, to get the class.graphic.inc usable and the standard dashboard.inc reasonable good.
Your comments are very welcome.
The future should also include a Dashboard Setup in the Setup section.
I guess there were two reports, Balance Sheet and Profit and Loss sheet that had the option to include a chart, this is not possible with this new. It will be possible later, though.
@poncho1234
Sorry, I have forgotten the login topic, please update me on that issue.
/Joe
Post's attachmentsdashboard.zip 13.6 kb, 18 downloads since 2020-08-14
You don't have the permssions to download the attachments of this post.