String max/min in graphic