AnyChart is a good widget package for this. You can find documentation here: https://docs.mendix.com/refguide/charts-any-configuration