Unless I’m not understanding what you’re after (very possible), it would just be something like this:
thisComp.layer(“bar graph layer”).height;
If you’re scaling the bar graph layer and want the height of the scaled version, it would be like this:
L = thisComp.layer(“bar graph layer”);
L.height*L.scale[1]/100;
Dan