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     Graph with across titles

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Graph with across titles
 Login/Join
 
Member
posted
I have a report with an across column... when i have the default initial presentation it displays the values i want..but when i change it to bar chart as my initial presentation it group the across well but the titles are not the one of the across column..how can i resolve it?

Thanks in advance Big Grin


WebFOCUS 7.6, Windows
All output
 
Posts: 26 | Registered: December 14, 2009Report This Post
Expert
posted Hide Post
Is this an Active Report (AHTML)? Can you post your code?


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
Member
posted Hide Post
Yes..it is an active report..
here is the code..
TABLE FILE F_QLTY_PATSATISFACTION
SUM
'AVE.F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.RATING' AS ''
BY 'J0.D_TIME.TIME_QUARTERNAME'
BY 'F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.SERVICECENTER_ID' NOPRINT
BY 'F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.SPECIALTY_ID' NOPRINT
ACROSS 'J3.D_GEOGRAPHY.GEOG_REGION_DESC'
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
LINES-PER-PAGE=20,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=TABHEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=TABFOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=FOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=SUBHEAD,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBFOOT,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
SIZE=9,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
BACKCOLOR=RGB(210 210 210),
STYLE=BOLD,
$
ENDSTYLE
END


WebFOCUS 7.6, Windows
All output
 
Posts: 26 | Registered: December 14, 2009Report This Post
Expert
posted Hide Post
I don't know the answer. I checked the doc and didn't see a restriction. So I did some experimenting.
TABLE FILE CENTURYSALES
SUM
     COMPUTE REVENUE/D20.2M = COSTOFGOODSSOLD - PROFIT; AS 'Revenue'
BY REGION
ACROSS YYEARMONTH
HEADING
"Century Electronics:  Detailed Revenue Report"
WHERE YEAR EQ 2006;
WHERE YYEARMONTH GE 200608
ON TABLE SET PAGE-NUM OFF
ON TABLE SET BYDISPLAY ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
LINES-PER-PAGE=20,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$
TYPE=TITLE,
STYLE=BOLD,
$
ENDSTYLE
END

If I change the date to 200609, I get a chart. As is, I get an error saying 'Too many bars'. Maybe with your multiple BYs and the ACROSS, you wind up with too many combinations. And maybe you aren't seeing the error.

Can you try reducing your query to the point where you can get a chart?

Also, can you add your subrelease to your signature. There have been lots of changes in 7.6 from ..0 to ..10 and it is helpful to know where you are in the range.


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
Member
posted Hide Post
Hi..I don't have the centurysales table..
and I'm still trying to get this graph.. I tried to do it like an advance graph..and it worked...but when I tried to reference it from an HTML File I can't have the advantages of building the dropdown from an active report...what can I do???

i leave you the code of the advance graphic in case is needed.. aah and also my wf version is 7.6.10

Advanced Graphic Code:

GRAPH FILE F_QLTY_PATSATISFACTION
-* Created by Advanced Graph Assistant
SUM AVE.F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.RATING
BY F_QLTY_PATSATISFACTION.D_GEOGRAPHY.GEOG_REGION_DESC
ACROSS F_QLTY_PATSATISFACTION.D_TIME.TIME_QUARTERNAME
ON GRAPH PCHOLD FORMAT PNG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 700
ON GRAPH SET VAXIS 340
ON GRAPH SET UNITS PIXELS
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setTextString(getO1Title(),"QUARTERS");
setDisplay(getO1Title(),true);
setTextString(getY1Title(),"SATISFACTION");
setDisplay(getY1Title(),true);
setLegendPosition(2);
setDisplay(getY1MajorGrid(),false);
setDisplay(getO1MajorGrid(),false);
setRiserBarGroupSpacing(10);
setPlace(false);
ENDSTYLE
END

Actual Active Report Code:
-* File PatientSatisfaction.fex
DEFINE FILE F_QLTY_PATSATISFACTION
RATING/D12.2=((F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.STAFF_RATING_SCORE + F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.SPECIALTY_RATING_SCORE + F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.SERVICECENTER_RATING_SCORE)*100)/300;
END
TABLE FILE F_QLTY_PATSATISFACTION
SUM
'AVE.F_QLTY_PATSATISFACTION.F_QLTY_PATSATISFACTION.RATING'
BY 'F_QLTY_PATSATISFACTION.D_GEOGRAPHY.GEOG_REGION_DESC'
ACROSS 'F_QLTY_PATSATISFACTION.D_TIME.TIME_QUARTERNAME'
HEADING
""
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
LINES-PER-PAGE=20,
REPORT-VIEW=CHART,
CHART-TYPE=BAR,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=TABHEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=TABFOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=HEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=FOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=SUBHEAD,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBFOOT,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
SIZE=9,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
BACKCOLOR=RGB(210 210 210),
STYLE=BOLD,
$
ENDSTYLE
END


WebFOCUS 7.6, Windows
All output
 
Posts: 26 | Registered: December 14, 2009Report 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     Graph with across titles

Copyright © 1996-2020 Information Builders