I have found this function to be quite useful, but would like to have the bars running vertically instead of horizonally. Can this be done ?

Thanks...