histogram drawer