Add an option to generate a legend - either from user input or automatically from the color/number input.
Add an option to generate a legend - either from user input or automatically from the color/number input.