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     Cannot change font size on "O1Label" for bar graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Cannot change font size on "O1Label" for bar graph
 Login/Join
 
Member
posted
I'm in Webfocus Developer Studio 7.1, and I've had issues trying to change the font size for a bar graph label along the x-axis ("O1Label"). I've tried coding as described in the Webfocus Graphics manual (WebFOCUS Graphics Version 7 Release 1.3 and higher). I've tried every variation I can think of, and yet I still cannot get the font size to increase. I'm beginning to think this may be a Webfocus issue... Does anyone know of some hidden undocumented tricks that can increase font size for "O1Label"? Below are some code snippets... Thanks for your help!

--Mark


Tried with absolute font size
=============================
setO1LabelDisplay(true);
setFontStyle(getO1Label(),0);
setFontSizeAbsolute(getO1Label(), true);
setFontSize(getO1Label(),12);
setO1LabelAutofit(false); -*** Also tried 'true'
setO1LabelRotate(2);
setO1LabelWrap(true);


Tried with font size VC
===========================
setO1LabelDisplay(true);
setFontSizeAbsolute(getO1Label(), false);
setFontSizeVC(getO1Label(), 2500);
setO1LabelAutofit(false); -*** Also tried 'true'
setO1LabelRotate(2);
setO1LabelWrap(true);
 
Posts: 4 | Location: Modesto, CA | Registered: August 07, 2007Report This Post
Platinum Member
posted Hide Post
this works for me with version 7.6.2

setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),10);
OR
setFontSize(getO1Label(),8);
FOR A SMALLER FONT


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Member
posted Hide Post
Thanks Spence... Unfortunately, this has no effect on my bar graph "O1Label" font size. I've tried code very similar to what you provided, plus I tried using the virtual coordinates functions, and still no change.

Do you know how I might go about trying to prove this is a version 7.1 problem?
 
Posts: 4 | Location: Modesto, CA | Registered: August 07, 2007Report This Post
Platinum Member
posted Hide Post
try changing the size in this example.
GRAPH FILE CAR
SUM SALES
BY COUNTRY
ON GRAPH SET LOOKGRAPH HBAR
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),18);
setPlace(false);
ENDSTYLE
ON GRAPH SET STYLE *
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=10,
COLOR=RGB(228 233 233),
$
ENDSTYLE
END


WF 8 version 8.2.04. Windows.
In focus since 1990.
 
Posts: 189 | Location: pgh pa | Registered: October 06, 2004Report This Post
Member
posted Hide Post
Thanks again, but still no go... I'm on 7.1.3, so I am beginning to suspect an issue with my version. I'm still trying to find a way to make that font size bigger... wish me luck!

--Mark
 
Posts: 4 | Location: Modesto, CA | Registered: August 07, 2007Report This Post
Member
posted Hide Post
quote:
setPlace(false);


Bump!

Mark this is the command you need.


______________________
WF Version: Prod/Test : WebFOCUS 7.67; ETL 7.67

OP system: WIN2K
 
Posts: 18 | Registered: June 28, 2006Report 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     Cannot change font size on "O1Label" for bar graph

Copyright © 1996-2020 Information Builders