The errors in your logs have nothing to do with graphs.
Just for testing purposes, you can start by downloading the latest standalone version of the Reference Application 2.7.0 and replace its legacyui with this one. Then test the graphs.
This will get you to the first step of at least ensuring that the module fixed the reported problem.
After the above, the next step would be how to fix your instance errors.