Take a look at this widget on the app store it may help you.
https://appstore.home.mendix.com/link/app/Simple%20Chart