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     [SOLVED] graphing is giving me grief

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] graphing is giving me grief
 Login/Join
 
Member
posted
Is there some trick to get Focus to respond to any of the setFont commands within the
ON GRAPH SET GRAPHSTYLE * ENDSTYLE block? Some of the font sizes work like 1 to 9. Than everything seems to default to some large font size.

This message has been edited. Last edited by: Kerry,
 
Posts: 28 | Location: New Jersey | Registered: July 11, 2005Report This Post
<JG>
posted
Allen,

What release? What platform?

Can you give a repro using the car, or any other standard IB foc file.

Then you might be overwhelmed with help.
 
Report This Post
Member
posted Hide Post
I guess I just expect to be able to type;

setFontSizeAbsolute(getLegendText(),true);
setFontName(getY1Label(),"TimesRoman");
setFontSize(getY1Label(),6);

and than

setFontSizeAbsolute(getLegendText(),true);
setFontName(getY1Label(),"TimesRoman");
setFontSize(getY1Label(),9);

And get different results, just like the documentations examples. Unless there is some other combination of commands needed which are assumed that everyone knows you have to use in addition to the above.
 
Posts: 28 | Location: New Jersey | Registered: July 11, 2005Report This Post
Expert
posted Hide Post
Allen,

setPlace(false);

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
Allen,

Totally illogical,

You cannot apply different styling to the same object.

getLegendText() identifies all legends.
It does not take a locator for example getLegendText(1)

Because of that you cannot vary the text size or font of individual legends.
Same applies to labels.
 
Report This Post
Member
posted Hide Post
I guess I did not make it clear, if I run the graph with the font value set to 6 and than run it with the font value equal to 9, there is no noticeable difference in the results. I am aware that if I run the graph with different values in the same run, it would not work.
 
Posts: 28 | Location: New Jersey | Registered: July 11, 2005Report This Post
Member
posted Hide Post
Tony A,
seting setPlace(false), appears to work. But now the x axis is all cramp together. I guess I now have to play around with the font on the x axis now.
 
Posts: 28 | Location: New Jersey | Registered: July 11, 2005Report This Post
<JG>
posted
OK,

On that basis setPlace(false); as Tony suggested will have an affect, as this default
overides a lot of the API calls coded manually.

Using false however will probabley have a major impact on the output meaning you will have to
include many more API calls to get what you want.

(edit) You replied first Allen and discovered exacrtly what I meant
 
Report This Post
Member
posted Hide Post
Tony,
I forgot to tell you thanks for your response. I still working on the font for x axis.
 
Posts: 28 | Location: New Jersey | Registered: July 11, 2005Report This Post
Expert
posted Hide Post
Allen,

As JG states, setPlace(false); does mean more coding as the auto placement of graph components is turned off. However, I sometimes prefer this as I can control the output more.

As for the x1 axis font, look towards O1Title etc.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [SOLVED] graphing is giving me grief

Copyright © 1996-2020 Information Builders