min/max in legend