Create chart options hashes.

Create chart options hashes instead of reusing the same hash.

See #442.