fix chart plot calculations
Merge pull request #151 from jgunderson/plotsize

fix chart plot calculations