Legend widget prototype