wrapper for google charts