cloned from https://github.com/Nestwise/googlecharts