Barchart works with frame
Add margin param to barchart