allow chartWidth/Height to be given in %