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     [CLOSED] API Styling for Secondary X-Axis in Graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] API Styling for Secondary X-Axis in Graph
 Login/Join
 
Member
posted
Does anyone know the API code for changing the rotation of the secondary x-axis on a graph? The below code works to change my first x-axis.

setTextRotation(getO1Label(),1);

I can't get the label of the nested x-axis to stay horizontal.

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


WebFOCUS 8.09
Windows, All Outputs
 
Posts: 22 | Registered: August 16, 2010Report This Post
Expert
posted Hide Post
Maybe I am missing something but what about getO2Label()


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
I tried that but apparently that only works for 3D graphs. What I need is to style the secondary axis of a nested x-axis graph. Similar to the graph pictured in the link below.

https://webfocus.ferris.edu/ib..._PROCESSING_d0e52413


WebFOCUS 8.09
Windows, All Outputs
 
Posts: 22 | Registered: August 16, 2010Report This Post
Virtuoso
posted Hide Post
Did you download the 1300 page manual for this ? It is available on the information builders website. Wf77graph.pdf. It should give you more answers then you need.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
I did look at the instructions they provide and I guess I can't make sense of what they are saying or I am looking in the wrong spot.

This was all I was able to find when it came to nested labels.

Using Nested/Multi-Dimensional Labels
Nested/multi-dimensional labels are supported on the O1 axis with these properties and
methods:
setO1LabelCallback(); This method assigns a callback function to the nested labels
interface.
getO1LabelCallback(); This method determines if a callback function has been assigned
with setO1LabelCallback().
NestedLabels (true/false); This property enables/disables nested labels.
Use the following procedures to implement the nested labels interface:
WebFOCUS Graphics 113
2. Using WebFOCUS Graphics
1. Create your own version of the nested labels callback. It must implement all of the
abstract methods defined in TDGNestedLabel.Java. They are:
abstract int getNumLevels();
abstract int getNumLabelsOnLevel(int nLevel);
abstract Vector getAllLabels(int nLevel);
abstract String getLabel(int nGroup, int nLevel);
abstract int getLabelGrouping(int nGroup, int nLevel);
2. Register the callback with the setO1LabelCallback() method. For example:
m_chart.setO1LabelCallback (TDGNestedLabel cb);
3. Enable the NestedLabel property. For example:
m_chart.setNestedLabels (true);


WebFOCUS 8.09
Windows, All Outputs
 
Posts: 22 | Registered: August 16, 2010Report This Post
Gold member
posted Hide Post
The object id to control nested axis labels is getNestedO1Labels0(). However, if you rotate 01Labels, then nested labels should rotate as well. Is that not the case for you?
 
Posts: 52 | Registered: January 19, 2007Report This Post
Member
posted Hide Post
The nested label does rotate, what I am trying to accomplish is have the first label vertical and the second horizontal. I will give the getNestedO1Labels0() a try. Thank you.


WebFOCUS 8.09
Windows, All Outputs
 
Posts: 22 | Registered: August 16, 2010Report This Post
Member
posted Hide Post
So I tried adding

setTextRotation(getNestedO1Labels0(),0);

and it still rotates both nested lables.


WebFOCUS 8.09
Windows, All Outputs
 
Posts: 22 | Registered: August 16, 2010Report This Post
Expert
posted Hide Post
Hi peechy23,

If you still experience difficulties in this issue, please contact Customer Support Services and open a case so that we can have someone dedicated to better help you. You may call 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 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     [CLOSED] API Styling for Secondary X-Axis in Graph

Copyright © 1996-2020 Information Builders