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] x-axis labels

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] x-axis labels
 Login/Join
 
Silver Member
posted
On a bar and line graph, I need to change the way year-quarter is being displayed on x-axis. But I do not want to change the actual vlaues because the bars are links to an excel report that pass year-quarter vlaue.

I tried a DEFINE field and then passing it in
setGroupLabelArray(YRQTR_D);
but that doesn't show any labels at all.

Is there an alternate to handle this.

This message has been edited. Last edited by: Kerry,
 
Posts: 34 | Registered: June 19, 2007Report This Post
<JG>
posted
arsalan

setGroupLabelArray(); is an array of actual label values not a single column name created in a define

Actually for some strange reason it has completely dissappeared as an API call from the latest
documentation

The call should look like

setGroupLabelArray("label1","label2","label3","label4","label5");

If you want to generate this dynamically then you do the following

 TABLE FILE CAR
SUM
COMPUTE NEWLABEL/A50= 'new label for\n'||COUNTRY;
BY COUNTRY NOPRINT
ON TABLE SET HOLDLIST PRINTONLY
ON TABLE SAVE FORMAT COM
END
-RUN
GRAPH FILE CAR
SUM DEALER_COST
ACROSS COUNTRY AS 'COUNTRY'
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 SET GRAPHSTYLE *

setTextRotation(getO1Label(),0);
setGroupLabelArray(
-INCLUDE SAVE
);
ENDSTYLE
END 
 
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     [CLOSED] x-axis labels

Copyright © 1996-2020 Information Builders