Fixing chart refresh on new version.

Resolves #117.