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.
Here i would like to change the font size of X-AXIS labels in my graph but i cannt and i can change the fontname,fontstyle of X-AXIS labels , the code which i used to change the fontsize is mentioned below, setPlace(true); setO1LabelDisplay(true); setO1LabelRotate(1); -*setFontName(getO1Label(),"ARIAL NARROW"); -*setFontStyle(getO1Label(),2); -*setFontSizeAbsolute(getO1Label(), true); -*setFontSizeInPoints(getO1Label(),55.0); setFontSize(getO1Label(),12); and I could change the font size of X-AXIS Labels with changing my graph width&hight sizes but I want same size. if anyone could help me to solve this problem i do appreciate that thank you.
Posts: 5 | Location: rochester | Registered: October 08, 2005
Not sure if this will help but here are the API commands I have in a number of my graph requests. I use the VC setting to control the size of the labels.
I also have noticed that there are problems with various API graph commands from version to version. I have a few cases open with IBI due to Justification API commands not working with Y & X axis TITLES. You may be bumping into an issue as well since you are on 5.3.2.
Buddy, I did a little testing and it looks like the setPlace(true); is causing your Font setting to be ignored. Try setPlace(false); and run your request again. Of course you will need to add additional commands to size and position each element due to setPlace(false); but it should work.
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
hai micky, I put the ticket to IBI to solve that problem but they told me that we r researching on your ticket,it means that could be bug, anyway thank u mickey for spending your time on me.
Posts: 5 | Location: rochester | Registered: October 08, 2005
What tis the difference between these two commands?
setO1LabelAutofit(false); is found on page 4-171 of the WebFOCUS Graphics 5.3 Manual.
Page 5-146 of the same manual discusses setAutofit().
The funny thing here is that the notes on that page say:
"You may also use one of the object-specific properties to set the automatic fitting of an object (for example, FootnoteAutofit(), LegendTextAutofit(), O1LabelAutofit(), and so on)."
Notice it says you may use setO1LabelAutofit(false); instead.
I would consider this a bug if using setO1LabelAutofit(false); does not work.
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003
I would consider it a bug if setO1LabelAutofit(false); does not work also, but I believe it does work.
In any event, there are simply two APIs here that are capable of accomplishing the same thing. Ideally the API would be fully rationalized and polymorphic, but this is how it was built for whatever reasons, so this is how it will remain.
When we release the Betty project and everyone has a wonderful GUI editor, such concerns will fade into insignificance.
On the other point you made to Buddy about setPlace(true); preventing him from changing the font size. You are correct that changing the argument to 'false' will do the trick, but the Automatic Placement Engine can be finessed in a more granular fashion. There are several 'setPlace...' calls. One of them is setPlaceResize(). THis can be used to disallow the engine from resizing any object you wish to control manually. In Buddy's example, you'd use setPlaceResize(getO1Label(),0);
Hang in there everyone... Betty's coming!
Oh, I'm a Windows guy, but since I am in support, I interact with all versions and platforms.
Posts: 20 | Location: IBI Corporate HQ, NY | Registered: May 13, 2003