Fixes chart id generation #1