resize ColorSchemeGraphicsView based on number of classes; add margin to ensureVisible call