Add Chart class.