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] Sort Bar Graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Sort Bar Graph
 Login/Join
 
Member
posted
Below is portion of code for InfoAssist Bar Graph displaying BUSINESS_UNIT ON X Axis and SUM.VTotalHrs on Y Axis. Is there a way to sort the Graph by SUM.VTotalHrs across the chart descending to ascending?

DEFINE FILE F4801
VTotalHrs/D12.2=J0.F3112.ACTUAL_SETUP_HOURS + J0.F3112.ACTUAL_RUN_LABOR + J0.F3112.ACTUAL_RUN_MACHINE ;
VStart/MDYY=F4801.F4801.COMPLETED ;
VStop/MDYY=F4801.F4801.COMPLETED ;
VDesc/A30=SUBSTR ( 30 , F4801.F4801.DESCRIPTION , 1 , 4 , 3 , 'VDesc' ) ;
END
GRAPH FILE F4801
-SET &SECTION='WHERE';
-INCLUDE swomfgo5/mrv/new_reporting_object.fex
-* Created by Info Assist for Graph
SUM SUM.VTotalHrs AS 'Work Center Hrs'
BY J0.F3112.A__BUISNESS_UNIT
WHERE F4801.F4801.BRANCH EQ ' 10160';
WHERE F4801.F4801.DESCRIPTION CONTAINS '&DESCRIPTION.Enter Description.';
ON GRAPH PCHOLD FORMAT PDF
ON GRAPH SET HAXIS 770
ON GRAPH SET VAXIS 405
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *

setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setCurveFitEquationDisplay(false);
setDisplay(getDataText(0),false);
setDisplay(getDataText(1),false);
setDisplay(getDataText(2),false);
setDisplay(getDataText(3),false);
------
setDisplay(getDataText(62),false);
setDisplay(getDataText(63),false);
setPlace(true);
setTextRotation(getO1Label(),1);
setTextString(getO1Title(),"Work Center");
setDisplay(getO1Title(),true);
setTextString(getY1Title(),"Total Hrs by Description");
setDisplay(getY1Title(),true);
ENDSTYLE
ON GRAPH SET STYLE *
INCLUDE=IBFS:/CFG/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, ORIENTATION=LANDSCAPE, $
ENDSTYLE
END

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


Dennis Parish

WebFOCUS 7.6
Windows, All Outputs
 
Posts: 12 | Registered: August 26, 2010Report This Post
Expert
posted Hide Post
Hi Dennis,

From our expert: if you want to display and sort by the same field, please try to drag the field to both the X and Y areas of the graph.

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] Sort Bar Graph

Copyright © 1996-2020 Information Builders