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] Sorting a Bar Graph on X-Axis?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Sorting a Bar Graph on X-Axis?
 Login/Join
 
Master
posted
I have a very simple bar graph that I would like to sort by a different field than what it shows on the x-axis.

Variants of across using NOPRINT are what I try, but it just shows the first Across value without making any attempt to show the second field (in this case "TIME_OF")

GRAPH FILE LOGISTICS_STOP_CAPACITY_VW
SUM SCHEDULED AS 'Stops In Use' COMPUTE Capacity2/D12=CAPACITY - SCHEDULED; AS 'Stops Available'
ACROSS SORTER NOPRINT
ACROSS TIME_OF

In short...
I want it to sort the graph by the value in "SORTER" but want to show the "TIME_OF" value. Is this possible?

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


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Expert
posted Hide Post
Dialogue Manager. I've got a post in here somewhere on that. You have to create a SAVE file with the values that you want to use in your series and then do a -REPEAT loop in the graph stylesheet section to set up the series values.

Let me know if you can't find it.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Master
posted Hide Post
Thank you for the quick reply, GinnyJakes.
I found some example code built over the car file that gives errors, it was doing something like writing to a save file in a sorted order then reading the values in and using the COLUMNS - AND keywords.

Do you have a better example? This language is all a little over my head.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report This Post
Master
posted Hide Post
This is solved.
I just had to use the
COLUMNS
FIELD1 AND FIELD2 AND FIELD3 ....

My fault for not asking the question properly.


Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
 
Posts: 611 | Registered: January 04, 2007Report 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] Sorting a Bar Graph on X-Axis?

Copyright © 1996-2020 Information Builders