Fixes missing legend

Fixes #1464
Merge pull request #1465 from buma/analyst_legend_bug0.11.x

Fixes missing analyst legend