fixed autolayout and max value for livegraph view