getPlaceHorzO1LabelsTitle()

When the automatic graph layout manager is enabled with setPlace(true), this method returns the object ID of a rectangle that is the virtual coordinate location/size of the O1-Axis Labels and Titles. This method is used for horizontal graph types. The important coordinates of this rectangle identifier are X-location and height. The setPlaceRect() method is used with this object.

Syntax:

IdentObj getPlaceHorzO1LabelsTitle();

Example:

setGraphType(24);
setGroupLabel(getGroup(0), 
      "This is a very long group label0");
setGroupLabel(getGroup(1), 
      "This is a very long group label1");
setGroupLabel(getGroup(2), 
      "This is a very long group label2");
setGroupLabel(getGroup(3), "This is a very 
longerwordhere group labelerword that is named label3");
setGroupLabel(getGroup(4), 
      "This is a very long group label4");
setDisplay(getY1Title(),true);
setDisplay(getO1Title(),true);
setTextString(getY1Title(),"Y1");
setTextString(getO1Title(),"O1");
setPlaceSkip(getO1Label(), 0);
setFontSizeAbsolute(getO1Label(), true);
setFontSize(getO1Label(), 10);
setPlaceMinFontSize(getO1Label(), 10);
setPlaceRect(getPlaceHorzO1LabelsTitle(),
      new Rectangle(-14000, -15500, 28000, 24000));
setTextJustVert(getO1Label(),1);
setDataRange(0,0,1,4);
setPlace(true);
setDepthRadius(0);

horizontal bar graph

See getPlaceVertO1LabelsTitle().


WebFOCUS