if(data["updateHist"][currSelectedParamHist]) {

            var min = data["updateHist"][currSelectedUpdateHist]["min"];
            var max = data["updateHist"][currSelectedUpdateHist]["max"];