Closed michael-milette closed 1 year ago
Starting in Moodle 4.1, {chart radial} and {chart pie} create huge charts that either do not fit in blocks or are cut off in pages.
Charts to fit correctly regardless of where they are placed.
Add one of the tags to a page or block and view.
Moodle 4.1 and later.
No response
Add the following css to your theme:
.chart-area .chart-image { width: auto; }
Note however that this will affect all charts, not just those generated by FilterCodes.
]
This issue has been resolved in the latest release of FilterCodes.
Prerequisites
What happened?
Starting in Moodle 4.1, {chart radial} and {chart pie} create huge charts that either do not fit in blocks or are cut off in pages.
What do you think should have happened?
Charts to fit correctly regardless of where they are placed.
Steps to reproduce
Add one of the tags to a page or block and view.
Screenshots
Moodle version
Moodle 4.1 and later.
Installed Moodle UI Language packs.
If other language(s), please specify
No response
Workaround
Add the following css to your theme:
.chart-area .chart-image { width: auto; }
Note however that this will affect all charts, not just those generated by FilterCodes.
Additional information
No response
System information
]
Code of Conduct