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     Sorting Display In Graph...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Sorting Display In Graph...
 Login/Join
 
Platinum Member
posted
I am displaying "Percentage" sales across different "Category".
I want to sort the "Category" in a particular way in the graph (i have created the field on which i want to sort, through my define clause).

Now the question is how to use the new field RANKSORT in the GRAPH FILE statement to do the sorting.

I tried giving it as a NOPRINT in GHRAPH FILE statement, but its not working.

any clue how to use it ??

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Member
posted Hide Post
Hi,

I had the same problem few weeks ago and one of the hotline-people sent me this solution:

GRAPH FILE filename
SUM field

-* the real sortfield (invisible)
BY byField1

the sortfield for display
BY byfield2

...

ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET GRMERGE ADVANCED ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
-* !!!
ON GRAPH SET GRXAXIS 2

ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET BARNUMB ON
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
ON GRAPH SET VAXIS 708
ON GRAPH SET HAXIS 1617
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
HAUTO=OFF

setO1AxisSide(0);
setMarkerDisplay(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(1);
setO1MinorGridDisplay(true);
setO1MinorGridStyle(0);
setAxisAssignment(0,0);
setSeriesType(0,2);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setReverseGroups(true);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getTitle(),true);
setFontSizeAbsolute(getLegendText(),true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setTextJustHoriz(getO1Title(),1);
setFontSizeAbsolute(getO1Title(),true);
setFontSize(getO1Title(),12);
setTextRotation(getO1Title(),0);
setTextWrap(getO1Title(),false);

-* !!!
setTextJustHoriz(getO1Label(),0);
setTextRotation(getO1Label(),2);

setFontSizeAbsolute(getO1Label(),true);
setFontSize(getO1Label(),12);
setTextWrap(getO1Label(),false);
setPlaceResize(getO1Title(),0);
setPlaceRotate(getO1Title(),0);
setPlaceAlign(getO1Title(),0);
setPlaceWordWrap(getO1Title(),0);
setPlaceResize(getO1Label(),0);
setPlaceRotate(getO1Label(),0);
setPlaceAlign(getO1Label(),0);
setPlaceWordWrap(getO1Label(),0);
setPlace(true);

-* switch the line for double x-axis off
setDisplay(getNestedO1LabelLine(),false);

-* replace the text to blank
setNestedO1Label(getNestedO1Level(1,0)," ");
setNestedO1Label(getNestedO1Level(1,1)," ");
setNestedO1Label(getNestedO1Level(1,2)," ");
setNestedO1Label(getNestedO1Level(1,3)," ");
setNestedO1Label(getNestedO1Level(1,4)," ");
setNestedO1Label(getNestedO1Level(1,5)," ");
setNestedO1Label(getNestedO1Level(1,6)," ");
setNestedO1Label(getNestedO1Level(1,7)," ");
setNestedO1Label(getNestedO1Level(1,8)," ");
setNestedO1Label(getNestedO1Level(1,9)," ");
setNestedO1Label(getNestedO1Level(1,10)," ");
setNestedO1Label(getNestedO1Level(1,11)," ");
setNestedO1Label(getNestedO1Level(1,12)," ");
setNestedO1Label(getNestedO1Level(1,13)," ");
setNestedO1Label(getNestedO1Level(1,14)," ");
setNestedO1Label(getNestedO1Level(1,15)," ");
setNestedO1Label(getNestedO1Level(1,16)," ");
 
Posts: 1 | Registered: September 19, 2007Report This Post
Expert
posted Hide Post
Sam,

I have posted a solution to this several times on this forum. My solution uses Dialogue Manager. Please do a search on my name to find my posts regarding this.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Sorting Display In Graph...

Copyright © 1996-2020 Information Builders