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.
Here is a problem I ran into while creating my 1st graph in WebFOCUS 8 and InfoAssist.
This graph is a count of "Emergency" and "Inpatient" PATIENTs who were admitted in the last 30 days. It is a vertical bar chart. Here is the graph code:
TABLE FILE MEDICALS
SUM
PATIENT_ID
BY ENCOUNTER_TYPE
WHERE ENCOUNTER_TYPE EQ 'Emergency' OR 'Inpatient';
END
I have created a drill down link to view a detail report of all Emergency patients (or Inpatient patients) admitted in the last 30 days.
When I hover the mouse over the Emergency axis I see the expected hover text for that drill down. However, when I hover the mouse over the Inpatient axis I do NOT see the expected hover text for that data.
Has anyone had this problem? Is this a bug in WF 8.1.05?
Thanks,This message has been edited. Last edited by: <Emily McAllister>,
Works fine for me, with either the default text or specifying alternate text in the "hyperlink" dialog.
T
ENGINE INT CACHE SET ON
-*COMPONENT=Define_ggsales
DEFINE FILE ibisamp/ggsales
Series1/D12.2=IF GGSALES.SALES01.CATEGORY EQ 'Coffee' THEN GGSALES.SALES01.DOLLARS ELSE 0;
Series2/D12.2=IF GGSALES.SALES01.CATEGORY EQ 'Food' THEN GGSALES.SALES01.DOLLARS ELSE 0;
END
-DEFAULTH &WF_STYLE_UNITS='PIXELS';
-DEFAULTH &WF_STYLE_HEIGHT='405.0';
-DEFAULTH &WF_STYLE_WIDTH='770.0';
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE ibisamp/ggsales
-* Created by Info Assist for Graph
SUM Series1
Series2
BY GGSALES.SALES01.REGION
WHERE GGSALES.SALES01.CATEGORY IN ( 'Coffee' , 'Food' );
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET ARGRAPHENGIN JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET GRWIDTH 1
ON GRAPH SET UNITS &WF_STYLE_UNITS
ON GRAPH SET HAXIS &WF_STYLE_WIDTH
ON GRAPH SET VAXIS &WF_STYLE_HEIGHT
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET AUTOFIT ON
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/combine_templates/iForce.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, PAGESIZE=A4, $
TYPE=DATA, COLUMN=N2, TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/App_Studio/cost_of_goods.fex, $
TYPE=DATA, COLUMN=N3, ALT='Drilldown to Region', TARGET='_blank', FOCEXEC=IBFS:/WFC/Repository/App_Studio/drilldown.fex, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setFillColor(getSeries(0),new Color(255,0,0));
setFillColor(getSeries(1),new Color(0,0,255));
*END
ENDSTYLE
END
-RUN
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004
Can you provide the code so that we can take a look at it? I'm not sure why you are seeing this problem, but if you can provide an example that will help us figure out the issue.
Per Tony's suggestion, I recoded the graph as a multi-series request and the hover text issue resolved itself.
As you know when you left click on an axis point you can change the Color Options from "by series" to "by group" depending on how you wish to style the axis points. I think the by series option is disabled unless the graph is coded as a series.
Obviously not every graph should be coded as a series. Ergo, I am still unclear as to how I will change the different axis points in a single series graph.
I'd love to see a best practice on how to do that.
Obviously not every graph should be coded as a series. Ergo, I am still unclear as to how I will change the different axis points in a single series graph.
I'm sorry, but I don't really understand what you mean by this. Can you provide an example?