added the ability to set chart type via settings object, tweaks to tree map