She wants the y-axes to be independent so that the bars will be actually show something. She wants the axes like they are in the lab_values example that is actually in the clinical graphs handout and not the sample code that is out there for that example, because the sample code doesn't have the axis for alkaline phosphatase.
Actually, when I take out the tickvaluesequence, then I didn't get the series plot at all and no errors. I, then, commented out the viewmax and the series plot came back, but I still don't have independent axes. I think if I could get the axes to independent, then there wouldn't be a problem with the bars being compressed. They would be on the right hand axis and the series on the left.
Should we be trying something other than datapanel?
Again, what we want is what was in the handout version of lab_values or in the set of SGRENDER examples, the humidity-dewpoint part of the 3-part lattice example, the right and left axes with their own scales.
It gives me a warning at row2datarange saying its assuming that rowdatarange was misspelled. This is sort of why I figured datapanel may not be the way to go. I was going to start trying to look for another option that had the y and y2 axisopts available. Is row2 possibly available in 9.2M3, which isn't out for us yet?
Yes, you are correct. I think I assumed you to have 9.2m3 when you were attempting to assign the series plot to the y2 axis. I now understand why my earlier statement about removing TICKVALUESEQUENCE didn't work for you either :-). Given that your series data range is very different from your bar data range, the best option for you may be to use a LAYOUT OVERLAY to define graph with secondary axes and run the template in PROC SGRENDER using "vari" as a BY-group on the procedure. Let me know if that is acceptable.