Code I wrote years ago, uncommented (I know, I know!), now needs attention, and despite searches for "simpleXML charts" etc, I can find nothing to help me.
Here is an example page with 2 charts... http://www.fobgfc.org/team.php?team=W&season=2015
The problem: the right click options do not work, especially with the full screen option on the second chart, and also clicking on the legend colours in the second chart should toggle their appearance.
I appreciate that in the several intervening years since this code was written, there may be better charting options for PHP. I am willing to consider recommendations.
I attach two files, with code for the respective charts.
Thanks for reading.