fixing chart color auto-increment