Add styles and partition chart