graph: text rotation
graph: text rotation
(OP)
Hello!
I have a graph with bar groups and group labels. I'd like to have these labels running from left to right instead of from top to bottom. So I used
setTextRotation(getGroupLabel(0), 1);
But it doesn't work. Neither does setX1LabelRotate(1);
Does anyone know if there's a certain condition when these function can be used or what I've done wrong?
Thanx!
Eva
I have a graph with bar groups and group labels. I'd like to have these labels running from left to right instead of from top to bottom. So I used
setTextRotation(getGroupLabel(0), 1);
But it doesn't work. Neither does setX1LabelRotate(1);
Does anyone know if there's a certain condition when these function can be used or what I've done wrong?
Thanx!
Eva
RE: graph: text rotation
The following works for me
setTextRotation(getO1Label(),0);
it seems from your note that your referring to the X-axis as X (as would seem appropriate) but for most graph types in WebFOCUS (including bar charts) its referred to as the Ordinate axis hence the O above.
Regards
Tewy
RE: graph: text rotation
thanks a lot. I didn't know that X1 is mostly regarded as O1. That explains why many commands didn't work in my graphs. They all work with O1.
Eva