showVerticalBar now takes the same arguments as showPercentBar