fix boxplot chart so that it can display charts that don't have exactly 3 categories