Support different bar formats