How to swap chart in dashboard?

Hi everyone

im trying to replicate this mockup dashboard where i need to implement a swap button or something similar... (in this case i need to swap between "By road type" and "By day")

image

is there a way to do this in metabase?

@aresb It's not possible to see the image. If you are building your own version of Metabase, then you'll need to figure this out yourself.