Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bar chart is empty (Moodle 4) #224

Open
abautu opened this issue Nov 22, 2022 · 0 comments
Open

Bar chart is empty (Moodle 4) #224

abautu opened this issue Nov 22, 2022 · 0 comments

Comments

@abautu
Copy link

abautu commented 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).

@abautu abautu changed the title Bar chart is empty Bar chart is empty (Moodle 4) Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant