configuration - added legend rezising