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.
What I am using: Active Technologies (AHTML), WF is converting it to a Line graph using the property setting in HTML Composer (Active Report Type = Line)
My Issue: My graph is BY YEAR & BY QUARTER. The graph goes back to 2002, so it plots many lines. I would like to remove the "title" or "heading" for Quarter on the output. But I still require to plot the values.
I have tried the following: #1) In the style area, for the column, I set HIDE=ON. This hides the column, but also doesn't plot Quarters 2-4. #2) I have tried changing the size, no luck #3) I have tried creating my own DEFINE for the values. Again, doesn't plot quarters 2-4.
My current code: GRAPH FILE NICMKRS SUM COMP1SUM COMP2SUM COMP3SUM BY LOWEST THEYEAR BY LOWEST THEQUARTER WHERE THEYEAR EQ &theYear WHERE THECOMPANY EQ &theCompany ON GRAPH SET LOOKGRAPH LINE ON GRAPH PCHOLD FORMAT AHTML ON GRAPH SET STYLE * TYPE=REPORT, OBJECT=LEGEND, LEGEND-VIEW=FLAT, ARGRAPHENGINE=FUSION, REPORT-VIEW=CHART, CHART-TYPE=LINE, ARREPORTSIZE=DIMENSION, $ ENDSTYLE END
Thank you for reading.
Application 1: 7.7.03, Windows Application 2: 7.7.03, Unix
I gave it a try this morning, I changed: BY LOWEST THEQUARTER to BY LOWEST THEQUARTER AS ''
The outcome: The graph X axis still shows the values of THEYEAR and THEQUARTER. The only change is to the Graph title, where THEQUARTER was changed to Column1 (must be the default).
I built a similar graph using the CAR file...So with this example would it be possible to hide the MODEL on the X axis? But still plot SALES on the graph?
GRAPH FILE CAR SUM CAR.BODY.SALES BY LOWEST CAR.COMP.CAR BY LOWEST CAR.CARREC.MODEL ON GRAPH SET LOOKGRAPH LINE ON GRAPH PCHOLD FORMAT AHTML ON GRAPH SET STYLE * TYPE=REPORT, OBJECT=LEGEND, LEGEND-VIEW=FLAT, ARGRAPHENGINE=FUSION, REPORT-VIEW=CHART, CHART-TYPE=LINE, ARREPORTSIZE=DIMENSION, $
TABLE FILE CAR
HEADING
""
SUM
DEALER_COST
RETAIL_COST
COMPUTE PROFIT/P20.2MC = RETAIL_COST - DEALER_COST;
BY COUNTRY
BY CAR
ON GRAPH SET LOOKGRAPH LINE
ON GRAPH PCHOLD FORMAT AHTML
ON GRAPH SET STYLE *
TYPE=REPORT,
OBJECT=LEGEND,
LEGEND-VIEW=FLAT,
REPORT-VIEW=CHART,
CHART-TYPE=LINE,
$
ENDSTYLE
END
-EXIT
You are not using the code correctly, it's TABLE not GRAPH. The styling turns it into a Graph.
Still get the / though:
TABLE FILE CAR
HEADING
""
SUM
CAR.BODY.SALES
BY LOWEST CAR.COMP.CAR
BY LOWEST CAR.CARREC.MODEL NOPRINT
ON GRAPH SET LOOKGRAPH LINE
ON GRAPH PCHOLD FORMAT AHTML
ON GRAPH SET STYLE *
TYPE=REPORT,
OBJECT=LEGEND,
LEGEND-VIEW=FLAT,
REPORT-VIEW=CHART,
CHART-TYPE=LINE,
$
ENDSTYLE
END
-EXIT
TABLE FILE CAR
HEADING
""
SUM
CAR.BODY.SALES
BY LOWEST CAR.COMP.CAR
BY CAR.CARREC.MODEL
ON GRAPH SET LOOKGRAPH LINE
ON GRAPH PCHOLD FORMAT AHTML
ON GRAPH SET STYLE *
TYPE=REPORT,
OBJECT=LEGEND,
LEGEND-VIEW=FLAT,
REPORT-VIEW=CHART,
CHART-TYPE=LINE,
$
TYPE=REPORT, COLUMN='CAR.CARREC.MODEL',HIDE=ON, $
ENDSTYLE
END
-EXIT
DEFINE FILE SALHIST Employee1/D10.2 =IF PIN EQ '000000010' THEN OLDSALARY ELSE 0; Employee2/D10.2 =IF PIN EQ '000000050' THEN OLDSALARY ELSE 0; Employee3/D10.2 =IF PIN EQ '000000060' THEN OLDSALARY ELSE 0; Employee4/D10.2 =IF PIN EQ '000000070' THEN OLDSALARY ELSE 0; Year/YY = EFFECTDATE; Quarter/Q = EFFECTDATE; END
GRAPH FILE SALHIST SUM Employee1 Employee2 Employee3 Employee4 BY LOWEST Year BY LOWEST Quarter WHERE PIN IN ('000000010', '000000050', '000000060', '000000070') ON GRAPH SET LOOKGRAPH LINE ON GRAPH PCHOLD FORMAT AHTML ON GRAPH SET STYLE * TYPE=REPORT, OBJECT=LEGEND, LEGEND-VIEW=FLAT, ARGRAPHENGINE=FUSION, REPORT-VIEW=CHART, CHART-TYPE=LINE, ARREPORTSIZE=DIMENSION, FONT='VERDANA', $ ENDSTYLE END
Second Report: Only difference is NOPRINT after Quarter
DEFINE FILE SALHIST Employee1/D10.2 =IF PIN EQ '000000010' THEN OLDSALARY ELSE 0; Employee2/D10.2 =IF PIN EQ '000000050' THEN OLDSALARY ELSE 0; Employee3/D10.2 =IF PIN EQ '000000060' THEN OLDSALARY ELSE 0; Employee4/D10.2 =IF PIN EQ '000000070' THEN OLDSALARY ELSE 0; Year/YY = EFFECTDATE; Quarter/Q = EFFECTDATE; END
GRAPH FILE SALHIST SUM Employee1 Employee2 Employee3 Employee4 BY LOWEST Year BY LOWEST Quarter NOPRINT WHERE PIN IN ('000000010', '000000050', '000000060', '000000070') ON GRAPH SET LOOKGRAPH LINE ON GRAPH PCHOLD FORMAT AHTML ON GRAPH SET STYLE * TYPE=REPORT, OBJECT=LEGEND, LEGEND-VIEW=FLAT, ARGRAPHENGINE=FUSION, REPORT-VIEW=CHART, CHART-TYPE=LINE, ARREPORTSIZE=DIMENSION, FONT='VERDANA', $ ENDSTYLE END