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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
SORT ON X ASIS
 Login/Join
 
Member
posted
When just using the graph feature on your x asis i can only see and get it to sort ascending or descending. I want it to sort by my by field.
TABLE FILE CAR
SUM
RETAIL_COST
DEALER_COST
BY MODEL
HEADING
""
FOOTING
""
WHERE COUNTRY EQ '&COUNTRY';
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE HOLD AS CARTEST
ON TABLE SET HTMLCSS ON
END
GRAPH FILE CARTEST
SUM RETAIL_COST DEALER_COST
ACROSS MODEL
ON GRAPH SET LOOKGRAPH VLINE
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 PCHOLD FORMAT PNG
ON GRAPH SET GRAPHSTYLE *
setMarkerDisplay(true);
setConnectLineMarkers(true);
setConnectScatterMarkers(true);
setO1LabelDisplay(true);
setO1AxisSide(0);
setO1MajorGridDisplay(true);
setO1MajorGridStyle(0);
setO1MinorGridDisplay(false);
setAxisAssignment(0,0);
setSeriesType(0,2);
setAxisAssignment(1,0);
setSeriesType(1,2);
setY1LabelDisplay(true);
setY1AxisSide(0);
setY1MajorGridDisplay(true);
setY1MajorGridStyle(0);
setY1MinorGridDisplay(false);
setTextFormatPreset(getY1Label(),-1);
setTextFormatPattern(getY1Label(),"#.##");
setPieFeelerTextDisplay(1);
setPieLabelDisplay(0);
setTextFormatPreset(getPieSliceLabel(),1);
setRiserBorderMode(1);
setSeriesDefaultTransparentBorderColor(true);
setUseSeriesBorderDefaults(true);
setLegendDisplay(true);
setFontSizeAbsolute(getY1Title(),true);
setFontSizeAbsolute(getY1Label(),true);
setFontSizeAbsolute(getY2Title(),true);
setFontSizeAbsolute(getY2Label(),true);
setFontSizeAbsolute(getO1Title(),true);
setPlace(true);
ENDSTYLE
ON GRAPH SET STYLE *
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='TIMES NEW ROMAN',
SIZE=10,
$
ENDSTYLE
END


WebFOCUS Dev Studio 8105m
 
Posts: 24 | Registered: September 24, 2007Report This Post
<JG>
posted
Yes.

A sort is exactly that. Either up or down.

I can not understand exactly what you want it to do
quote:
I want it to sort by my by field.
That's exactly what it's doing.

If you mean you want for example for COUNTRY=ENGLAND

INTERCEPTOR III XJ12L AUTO TR7 V12XKE AUTO

instead of

INTERCEPTOR III TR7 V12XKE AUTO XJ12L AUTO

then you have to explicity tell it the order such as

ACROSS MODEL COLUMNS 'INTERCEPTOR III' AND 'XJ12L AUTO' AND 'TR7' AND 'V12XKE AUTO'

Do a search on GRAPH and ACROSS and COLUMNS

You will find lots of hits to show you how
 
Report This Post
Member
posted Hide Post
Ok here is the simple explination.
My x asis along the bottom of my graph I have month. So I can only get it to sort Aug, Dec, Jan, July. or Sep, Oct, Nov, either Asending or Desending. I want it to go Jun, July, Aug, Sep, Oct.---


WebFOCUS Dev Studio 8105m
 
Posts: 24 | Registered: September 24, 2007Report This Post
Expert
posted Hide Post
What you need to do is sort on the month number BUT display the month name. Here is a technique to do something like that. It doesn't use dates but I think you'll get the idea.

Sorting the graph axis


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


Copyright © 1996-2020 Information Builders