shortened if(common) function in charts