added get/set functions for the margins
add commas to numbers in chart