Did you check out these already? https://docs.mendix.com/howto/front-end/charts-tutorials
If so, what exactly is it that you are struggling with?