Focal Point
[CLOSED] Data over the graph bars, X axis Label and Y axis Label

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/667107024

April 16, 2010, 09:22 AM
Trina
[CLOSED] Data over the graph bars, X axis Label and Y axis Label
Hi there,

In my graph, I want font size 8 and bold for
1) data over the bars in the graph,
2) X axis labels, and
3) Y axis labels.

I don't know how to do the 1st one above. Here is the code I used to do the 2nd and 3rd one, but doesn't work. Can anybody please help?

setFontSizeAbsolute(getY1Label(0),true);
setFontSize(getY1Label(0),8);
setFontStyle(getY1Label(),2);
setDataTextDisplay(true);
setTextJustHoriz(getDataText(),1);
setFontSizeAbsolute(getDataText(),true);
setFontSize(getDataText(),8);
setFontSizeAbsolute(getO1Label(0),true);
setFontSize(getO1Label(0),8);
setFontStyle(getO1Label(),2);

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6.10
Windows/XP
Database: Oracle
Output: Excel
April 16, 2010, 09:49 AM
Ram Prasad E
Add these methods to the end of your graph request, only then text formating will have an impact.

setPlaceResize(getO1Label(),0);
setPlaceRotate(getO1Label(),0);
setPlaceAlign(getO1Label(),0);
setPlaceWordWrap(getO1Label(),0);
setPlaceResize(getY1Label(),0);
setPlaceRotate(getY1Label(),0);
setPlaceAlign(getY1Label(),0);
setPlaceWordWrap(getY1Label(),0);
setPlaceResize(getDataText(),0);
setPlaceRotate(getDataText(),0);
setPlaceAlign(getDataText(),0);
setPlaceWordWrap(getDataText(),0);
-*setPlaceSkip(getO1Label(), 0); 
setPlace(true);


The Place property enables or disables the automatic graph layout manager. To know more about Place refer Chaper 4. Properties of WebFOCUS Graphics.

This message has been edited. Last edited by: Ram Prasad E,


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/