barchart fixes
now barchart is a pareto-like graph. Also, every bar is now generated
using ctx.fillRect.