Incapsulate chart min/max value