New setting 'classname' for legend type 'text'. Setting will be applied to the badge (if available)