added chart support fixes #7