You can achieve this view with the following component from Mendix Marketplace
See the demo application,
Including two buttons to update the values for the chart will do the needful.
Hi Liliana ,
I'm adding the closest widget to the one you mentioned on the Marketplace below. But it is a special situation that you need, so you need to produce it.I hope it helps