Perspective: How to create a grouped bar chart

Hi

We are working on a perspective based project. Wanted to know how to create a grouped bar chart like this:
Barchart

We tried manipulating the X-Y chart component, but ended up with this result:

MicrosoftTeams-image

All the bars should be vertical, and Just one Y-axis should be displayed.