The JIRA pie chart gadget allows to display more fields than what is currently supported, through custom field types. E.g.: https://jira.xwiki.org/rest/gadget/1.0/statistics?jql=project=10010&statType=customfield_10040&_=1741167647217