See documentation here: https://docs.mendix.com/refguide/charts-configuration
And each widget is just a zip file. So copy the widget to a seperate directory and rename the mpk to zip. You can then extract and look at the code. Do note that when making changes updating the widget will remove your code. But in your case you can probably already achieve what you want with the advanced settings.
Regards,
Ronald