Add in the ability to specify margins in theme, fixes #18079

This is a simple addition to the dojox/charting/Chart.js file to allow themes to specify chart margins.  It keeps backwards compatibility to the way it behaved previously.
ping @Kagetsume what do you think about this? Is that something you could change?