Added support for legend in species profile