Refactoring value or default/canvas

cosmetic refactoring + nv.utils.valueOrDefault is used for setting a chart's margins