limit the number of attributes to be selected from chart options to 6