I am using Moodle3.3
And trying to create a plugin with report which renderes chart using moodle's chart lib.
I could make everything working fine.
However i would like to understand how we can pass the parameter
For example in chart js they have given example like
In moodle api - how can we pass this parameters.
Question 2 -
The x-axis label is getting cut off, I have seen in google that it was a bug in earlier version of chart js.
See the attachment
Is there anyway we can fix this.
Thank you for all support.