Add a legend feature which captures discrete values such as weights.
Add a legend feature which captures discrete values such as weights.