allow for multiple types of charts to be rendered