One of the projects we are working on for Moodle 3.2 is to implement a new Graph API and convert all existing core graphs to the new API.
The project page for this is here: https://docs.moodle.org/dev/Graph_API_Project
The tracker issue is here: MDL-54987
Future major features
New Graph API
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.