Legend extended with ranges calculated on datasets