cairo: recalculate scale factors if xmin/xmax change
cairo: recalculate scale factors if xmin/xmax change

This was causing the x axis labels to be *slightly* too big causing the
last column to always be cut off.

arodland/carbonapi,errx/carbonapi,dgryski/carbonapi,errx/carbonapi,nnuss/carbonapi