You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use configurable reports on a Moodle 4 instalation. It is working well, except that bar charts result in an empty response (i.e. loading the image results in an HTTP response with code 200, type image/png, but content-length is 0. I found that graph.php cleans the output buffer (using ob_clean) after rendering the chart data (thus throwing it away). This is in contrast with pie and line charts, which call ob_clean before the final image stroke (to remove any unwanted text, but still render the image).
The text was updated successfully, but these errors were encountered:
abautu
changed the title
Bar chart is empty
Bar chart is empty (Moodle 4)
Nov 22, 2022
I use configurable reports on a Moodle 4 instalation. It is working well, except that bar charts result in an empty response (i.e. loading the image results in an HTTP response with code 200, type image/png, but content-length is 0. I found that graph.php cleans the output buffer (using ob_clean) after rendering the chart data (thus throwing it away). This is in contrast with pie and line charts, which call ob_clean before the final image stroke (to remove any unwanted text, but still render the image).
The text was updated successfully, but these errors were encountered: