-
Improvement
-
Resolution: Fixed
-
Major
-
3.8.2, 3.9
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_39_STABLE
-
master
-
I have a patch adding support for Area Charts as per: https://www.chartjs.org/docs/2.7.0/charts/area.html
This involves adding fields, getters and setters to the Series classes in both PHP and Javascript. From Moodle code, it's a matter of invoking e.g. $series->set_fill('-1').
An example is provided in the patch to tests/other/chartjstestpage.php.
- has been marked as being related by
-
MDL-68477 Charts API: support for legend options for Chart.js
- Closed