Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Bar Graph Size [SOLVED]

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Bar Graph Size [SOLVED]
 Login/Join
 
Master
posted
I have been searching all morning for this and I can't figure it out. I have a bar graph with 2 values for each region or division (may vary). If I use setPlace(false); instead of setPlace(true); I can control the font size for my labels, but my graph no longer fills the screen and my labels overlay my legend and my title. I can move the legend, but I haven't been successful at resizing or repositioning my graph. What should I be searching for?

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


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
<JG>
posted
Pat,

Can you give an example based on the car or other IB source.

It's all in the API especially as you're 5.3.2
 
Report This Post
Expert
posted Hide Post
Hi Pat,

Play around with these:

ON GRAPH SET HAXIS 720
ON GRAPH SET VAXIS 300

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Master
posted Hide Post
This is as close as I can come, try changing setPlace(false); to setPlace(true); and you will see what I mean.

GRAPH FILE CAR
SUM SALES
BY SEATS
ACROSS MODEL
HEADING
"Car Sales By Country"
ON GRAPH SET GRMERGE ON
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D ON
ON GRAPH SET VZERO OFF
ON GRAPH SET GRID ON
ON GRAPH SET GRAPHSTYLE *
-*setDocumentWidthInTwips(10000);
setLegendPosition(8);
-*setScaleMax (getY1Axis(), 100);
-* setY1ScaleMaxAuto (true);
setAxisAssignment(0,0);
setSeriesType(0,1);
setAxisAssignment(1,0);
-*setLegendMarkerPosition(3);
setMarkerDisplay(true);
setConnectLineMarkers(false);
setConnectScatterMarkers(false);
setO1LabelDisplay(true);
setO1LabelRotate(2);
setTextJustHoriz(getO1Label(),0);
-*setFontSizeAbsolute(getO1Label(),true);
setFontSizeInPoints(getAnnotation(0),20);
setFontSize(getO1Label(),9);
setO1LabelWrap(false);
setO1AxisSide(0);
setFillMissingData(2);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setAxisAssignment(1,0);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MustIncludeZero(true);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(true);
setY1MinorGridStyle(0);
setTextFormatPreset(getY1Label(),1);
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
-*setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
-*setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setFontSizeAbsolute(getO1Label(),true);
-*setFontSizeVC(getO1Label(),1391);
setFontSizeAbsolute(getX1Label(),true);
setFontSize(getX1Label(),10);
setTemplateFile("/images/tdg/template/BJSolids.txt");
setPlaceResize(getTitle(),0);
setPlaceRotate(getTitle(),0);
setPlaceAlign(getTitle(),0);
setPlaceWordWrap(getTitle(),0);
setPlaceResize(getFootnote(),0);
setPlaceRotate(getFootnote(),0);
setPlaceAlign(getFootnote(),0);
setPlaceWordWrap(getFootnote(),0);
setPlace(false);
setRiserWidth(100);
setTextAutofitMax;
setUseOffScreen(true);
ENDSTYLE
ON GRAPH SET STYLE *
-* PAGESIZE='Letter',
-* LEFTMARGIN=0.250000,
-* RIGHTMARGIN=0.250000,
-* TOPMARGIN=0.250000,
-* BOTTOMMARGIN=0.250000,
-* SQUEEZE=ON,
-* ORIENTATION=LANDSCAPE,
-*$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
BACKCOLOR='NONE',
STYLE=NORMAL,
-* RIGHTGAP=0.125000,
$

TYPE=HEADING,
JUSTIFY=CENTER,
$
TYPE=HEADING,
FONT='ARIAL',
SIZE=12,
STYLE=BOLD,
$
TYPE=FOOTING,
-* LINE=1,
JUSTIFY=CENTER,
$
TYPE=FOOTING,
-* LINE=1,
-* OBJECT=TEXT,
-* ITEM=1,
FONT='ARIAL',
SIZE=9,
STYLE=ITALIC,
$
ENDSTYLE
END


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Master
posted Hide Post
Thanks Tom. That's exactly what I needed.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
<JG>
posted
Deleted because you got it
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Bar Graph Size [SOLVED]

Copyright © 1996-2020 Information Builders